Simply Pay (English)
  1. webhook
Simply Pay (English)
  • Access Guidelines
  • Accessory Code Table
  • Signature Example
  • Solutions to common problems with signatures
  • payment
    • Payment Order Create
      POST
    • Payment Order Query
      GET
  • payout
    • Payout Order Create
      POST
    • Payout Order Query
      GET
  • account
    • Balance Query
      GET
  • webhook
    • payment webhook
    • payout webhook
  1. webhook

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#

FieldsDescription
orderStatusOrderStatus (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)
orderNotransactionOrderNumber
merOrderNomerchant order number
amountorder amount
currencycurrency of amount
attachAdditional Information (merchant's additional information, return as is)
createTimecreateTime
updateTimeupdate time
messagedescription (this field is returned in case of an order exception and is used as an exception description)
signsignature

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
Previous
Balance Query
Next
payout webhook
Built with