Handle Callback URL for payment status updates
Once the customer completes the payment, the details of the transaction and other important information will be sent via
return_url
URL.
This is an optional field. If left empty, it will default to the merchant profile’s
return_url
.
If you provide a value, ensure that your domain is whitelisted in your merchant profile.
Your return_url
must accept HTTP POST
method and Content-Type as application/json
.We highly recommend securing this URL to ensure that only PayWay has access to it.
{
"tran_id": "17425401324",
"apv": "619195",
"status": "0",
"return_params": "xxxxxxxxxx"
}
tran_id string
Transaction ID sent during the initial payment process.
apv string
Transaction approval code.
status string
Payment status
return_params string
Extra information sent to the payment gateway during the payment initiation request.