Webhooks enable real-time notifications and data transfer between systems by sending HTTP POST requests to a specified call back URL when specific events occur. Note: It might happen that wowpe might call webhook multiple times with the same parameters. You are requested to handle such cases at your end using a client transaction ref field.
URL: https://yourdomainURL/api/PayoutAPI/Payoutnotify
{
"StatusCode": 1,
"Message": "",
"OrderId": "1000121198",
"Status": 1,
"ClientOrderId": "05645421",
"PaymentMode": "IMPS",
"Amount": "10.0000",
"Date": "3/31/2024 11:02:41 AM",
"UTR": "409111200979",
"Checksum": "soM1M9vvvRCjMHtpTudZE9clZ4tFI4uaO5v/tIuXtlbdAVXE9Dludnw8f+xXpsORNm9dBl0hFMuBXtwRCbefHkIf+4CTZcBl5DpOLr+I3Ch6Hps/2sw2P0dPXqMavvQlr9J1+8bPuJqIxswZztybpyLkRx9fsuh3hCGJiYXJ5IO2w0/7vDVJ/eyMn999gVCE5NNUG9bOiW+GnjSZR9ejJf7BQnyuYP2cxaE8oxjgs18v2JrtZXdOgqGKIXG3au0KbdexwDw0Ur98+oVCBdoi1w=="
}
Response Parameter:
Key | Type | Description |
---|---|---|
statusCode | Int | 1=> In case statusCode is 1 get the final status from status parameter. Else ignore. |
Message | String | Transaction message |
OrderId | Integer | Unique Transaction Reference Number of wowpe |
Status | Integer | Transaction Status 1 = Success/ 0 =Failure/4= Reversal/ else = Pending |
ClientOrderId | String | Unique Client Reference Number of wowpe |
PaymentMode | Integer | IMPS/NEFT/RTGS |
Amount | String | Txn amount |
Date | String | Txn Date |
UTR | Integer | Unique transaction Reference |
Checksum | String (This is optional verification) | You can Use the Checksum to verify if the request has not been tampered with. To verify the Checksum at your end, you need your webhook secret key along with the payload. Step 1: Generate the checksum at your end using the payload and secret key at your end. Use AES-128 to generate checksum. IV will be default as 1234567890123456. Step 2: Convert the generated checksum to base64 string. Step 3: Match your generated checksum and the checksum you received in the webhook. If it matches accept the webhook else reject. |