webhook
POST
/example
PARAM | DEFAULT |
---|---|
biller | Operator or Biller Name |
agent_id | agent id passed by Merchant |
utr | Operator Live Txn ID or Bank UTR Etc |
status | PENDING, SUCCESS, FAILED |
tlid | zuelpay unique ID |
action_type | RECHARGE,PAYOUT,BILL,GIFTCARD,BUS,FLIGHT,UTILITY |
**
ADD WEBHOOK URL FROM YOUR ZuelPay Merchant PANEL TO GET REAL TIME RESPONSE.
**
For getting webhook response, you can use this PHP CODE:
{
"webhook_res": {
"callback_status": "SUCCESS",
"tlid": "ZRA1733743887997QWeIt70",
"utr": "1842562376",
"error": "Success",
"biller": "Airtel Prepaid",
"status": "SUCCESS",
"agent_id": "ZLP0000000394430307KK09",
"type": "webhook",
"action_type": "RECHARGE",
"timestamp": "2024-12-09 22:18:38"
},
"checkSum": "2763247139b91bf7f22bb943e808e818d3f09c7d467e7086fc4658b5d6003574"
}
WEBHOOK
checkSum CREATE FORMAT:
pass the json webhook_res
{
"callback_status": "SUCCESS",
"tlid": "ZRA1733743887997QWeIt70",
"utr": "1842562376",
"error": "Success",
"biller": "Airtel Prepaid",
"status": "SUCCESS",
"agent_id": "ZLP0000000394430307KK09",
"type": "webhook",
"action_type": "RECHARGE",
"timestamp": "2024-12-09 22:18:38"
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/example'
Response Response Example
{}
Request
None