payment 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) |
createTime | createTime |
updateTime | update time |
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": "7ddc6814cd75cef1042036035e202f82c26293b9257e2eab810fe0ccfbc20c03",
"amount": 10,
"attach": "attach",
"orderNo": "20220915100624412166427270",
"currency": "INR",
"createTime": 1663236384416,
"merOrderNo": "20220915070621327792",
"updateTime": 1663236430613,
"orderStatus": 2
}
Modified at 2024-08-11 10:34:30