Payment Advice

In case merchant wants payment status to be updated to its system, Phi Transaction Gateway can
push the status of the payment. Payment advice is same as payment response but only used by the
payment gateway to inform the merchant system of a later change in transaction status which can
occur after the online transaction has completed. This will be a server to server API call (not involving
the browser). Merchant has to expose a URL for consuming the payment advice. The parameters will
be sent as POST request and the parameters will be same as that used for the online payment
response.

📘

Note:

Return URL is also used to send the response for the transaction but this URL is alive only for the active session and payment advice is server to server call and is not restricted to session.

You can use the information passed in return URL to display your payment response page and payment Advice information to update your system

Any response with http status code of 200 is considered as successful delivery of the advice. Advice
can be configured to be retried in case of unsuccessful delivery (non 200 http status code).

❗️

Note :

Please use only one response to update your system and we highly recommend to use the payment advice response to update your system if advice URL is integrated with us

Note: The addlResParams if specified in returnURL are only used for redirection parameters and not
used for payment advice.

Sample Advice Body

{
"responseCode":"0000",
"respDescription":"Transaction successful",
"merchantId":"T_05022",
"merchantTxnNo":"638948982",
"txnID":"T002473066701",
"paymentDateTime":"20210817060032",
"paymentID":"700788003737",
"paymentSubInstType":"CC",
"paymentMode":"Card",
"amount":"51.00",
“secureHash”: “40567b8ef38a2853aacb84bbf5f927a72b27bdb301365245564f012d20dbc2de”
}
responseCode=0000&respDescription=Transaction%20successful&merchantId=T_05022&merchantTxnNo=
638948982&txnID=T002473066701&paymentDateTime=20210817060032&paymentID=700788003737&pay
mentSubInstType=CC&paymentMode=Card&amount=51.00&secureHash=40567b8ef38a2853aacb84bbf5f9
27a72b27bdb301365245564f012d20dbc2de

Did this page help you?
apps-fileview.texmex_20251104.05_p0 temp.txt Displaying temp.txt.