Notification

Depending on the setting, QR Gateway system will send notification message (URL callback) to either company or merchant backend system (so called Receiver) in asynchronous manner when there is any updates or changes to payment or refund status. The Receiver is then required to retrieve the payment or refund status from the QR Gateway though the standard call to API method.

The notification is an HTTP POST to the Receiver’s callback URL. The body of the message is the JSON request. The response from the URL is the HTTP response.


Payment Notification#

img

When there is an update or change to the payment status, QR Gateway system will update payment status to the Receiver. The Receiver is then required to retrieve the payment status from QR Gateway through a standard call to API method Get Payment Status.

Parameters#

NameTypeRequiredDescription
transactionIDstring(20)trueUnique ID of the transaction
timestampstring(17)trueTime of sending out notification. Date format is “yyyyMMdd HH:mm:ss” (i.e. “20170118 20:32:46”)
notificationTypestring(10)trueType of notification. e.g.: “payment”
checkSumstringtrueChecksum of the query string

Refund Notification#

img

When there is an update or change to the payment status, QR Gateway system will update payment status to the Receiver. The Receiver is then required to retrieve the payment status from QR Gateway through a standard call to API method Get Refund Status.

Parameters#

NameTypeRequiredDescription
transactionIDstring(20)trueRefund transaction ID
timestampstring(17)trueTime of sending out notification. Date format is “yyyyMMdd HH:mm:ss” (i.e. “20170118 20:32:46”)
notificationTypestring(10)trueType of notification. e.g.: “payment”
checkSumstringtrueChecksum of the query string

Alert Notification#

Whenever there is any transaction trigger fraud checking, QR Gateway system will send an alert notification to the Receiver. The Receiver is then required to retrieve the payment status from QR Gateway through a standard call to API method Get Payment Status.

Parameters#

NameTypeRequiredDescription
transactionIDstring(20)trueRefund transaction ID
timestampstring(17)trueTime of sending out notification. Date format is “yyyyMMdd HH:mm:ss” (i.e. “20170118 20:32:46”)
notificationTypestring(10)trueType of notification. e.g.: alert
errorCodestring(10)trueError code. Refer Appendix A
checkSumstringtrueChecksum of the query string

note

In the HTTP response message, QR Gateway will treat the HTTP status code 200 as the notification message has been successfully arrived and received by the Receiver. If the HTTP status code is not 200, then, QR Gateway will try to resend the notification to the receiver again until the maximum retry is reached. Notification Retry

Default retry interval: 1 minutes, 10 minutes, 15 minutes, 30 minutes, 1 hour and 2 hours.