Skip to content

5. Call back on Payment Status

shravya-techjini edited this page May 10, 2016 · 1 revision

Call back on Payment Status

On finishing the payment, call back will be made from UnoPay server to Third Party server on callback url. UnoPay server will post the following parameters.

POST
Header:
 "x-checksum": asfasfwr5235235 //content of data hmac(sha256, (MerchantServerAPIKey | {data block in response}| MerchantServerAPIKey) )

Body
{
"data": {
   "status" : "success" | "failure",
   "transaction_id" : "ererw345wfserew", 
   "order_id": "3423rsarsdfs",
   "amount_requested" : 234.34,
   "merchant_id": "erwerwerwzsfadst4435324",
   "transaction_time": 1455099338,{Unix time}
   "amount_charged": 234.34,
   “settlementment_amount”:”234.34”,
   “payment_mode”:”wallet”
   “used_wallet”:”mobikwik”,
   “used_mobile_number”:”90088763737”
}
}
Clone this wiki locally