Handle Callback URL for payment status updates
Once a payment is made using the QR code, the payment gateway will send a payment notification to your
callback_url
.
Your callback_url
must accept HTTP POST
method.Here is the sample response of pushback notification:{
"tran_id": "123456789",
"apv": 123456,
"status": "0",
"merchant_ref_no": "ref0001"
}
tran_id string
Payment transaction ID generated by the payment gateway.
Max. Lenght: 20
apv int
Transaction approval code.
Length: 6
status string
Request status 00
merchant_ref_no string
Your payment link reference number.