payout webhook
The merchant's server must respond to the request with http response 200 and a printout of either success or ok. If the merchant sends SimplyPay anything other than the 7 characters of success or the 2 characters of ok, the SimplyPay server will continue to retransmit the notification until it has been more than 24 hours and 47 minutes.
The notification parameters are as follows
Fields | Description |
---|---|
orderStatus | OrderStatus (0 Order Generated, 1 Payment in Progress, 2 Payment Not Notified, 3 Payment Notified, -1 Transaction Failed, -2 Transaction Expired, -3 Transaction Refunded, -4 Transaction Exception) |
orderNo | transactionOrderNumber |
merOrderNo | merchant order number |
amount | order amount |
currency | currency of amount |
attach | Additional Information (merchant's additional information, return as is) |
receiptUrl | voucherInfo (dynamic data, exists depending on the order) |
createTime | createTime |
createTime | createTime |
message | description (this field is returned in case of an order exception and is used as an exception description) |
sign | signature |
Example of data format (post request)
{
"sign": "1c3765bafbeb0c8444a65ed42b131e879a7e330a811d60c33dc8bde0ccc33d66",
"amount": 10,
"attach": "attach",
"orderNo": "20220915100750727264644701",
"currency": "INR",
"createTime": 1663236470727,
"merOrderNo": "20220915170750DF066059",
"updateTime": 1663236477922,
"orderStatus": 2
}
Modified at 2024-08-11 10:34:19