ABA QR API
1. Introduction
It enables fast and cashless transactions across multiple digital wallets and banking apps.
Cashier Screens & POS
Self-service kiosks
QR on invoices or receipts
1.
2.
3.
4.
5.
2. Set up your QR display UI
3. Integration steps
Generate a QR Code (QR Payment API)
Use the QR Payment API to generate a payment QR code and display it where customers can scan and pay.Upon a successful request, the API will respond with a JSON object containing all necessary information, which you can display in your preferred payment interface. Sample Response For KHQR payment options, you can choose from a selection of QR templates to display on your payment interface via the Note: This does not apply to WeChat Pay or Alipay, which will only respond with The QR images included with the templates are high-resolution and can be up to 0.5 MB in size, which may cause network issues during download. If your production environments has internet constraints or if network optimization is needed, we recommend using the QR string to generate the QR code on your end. Use the KHQR frame template as a static frame for display. 





{
"amount": "0.01",
"qr_string": "00020101021230510016aba...campaign USD60",
"qr_image": "data:image/png;base64,iVBOR...w4bAAAFOk",
"status": {
"code": "trx-20201019130949",
"message": "Success!",
"tran_id": "trx-20201019130949"
}
}
Customize KHQR Display (Optional)
qr_image_template
parameter.template1
by default.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 Your Here is the sample response of pushback notification:
tran_id
Payment transaction ID generated by the payment gateway.
apv
Transaction approval code.
status
Request status
merchant_ref_no
Your payment link reference number.
callback_url
.callback_url
must accept HTTP POST
method.{
"tran_id": "123456789",
"apv": 123456,
"status": "00",
"merchant_ref_no": "ref0001"
}
string
Payment transaction ID generated by the payment gateway.
Max. Lenght: 20
int
Transaction approval code.
Length: 6
string
Request status
00
string
Your payment link reference number.
Verify Payment Status
In addition to verifying the payment status via
callback_url
, you must also use the Check transaction API to ensure the payment is successfully marked as PAID
and was processed correctly.