Quick Pay
/v3/payment/quickpayWhat is this?
Quick Pay lets merchants accept payments by scanning a QR code presented by the customer. The customer scans the merchant's QR code using their preferred payment app, and the payment is processed instantly.
When to Use
Use Quick Pay when you want to:
- Accept in-store payments via QR code
- Process offline transactions at a physical store or terminal
- Support multiple e-wallets and payment methods in a single integration
Quick Pay is an offline payment method. Its subscription rate is based on the offline subscription plan. Contact support@revenuemonster.my to activate this feature.
How to Use
- Customer presents a QR code from their payment app
- Scan the QR code to get the
authCode - Send the
authCodealong with order details to this endpoint - Check the
codein the response — if"SUCCESS", the payment is complete
Standard Quick Pay
Request Parameters
Auth code of QR code/barcode being scanned
IP address of terminal/application for payment
Revenue Monster Store ID
Order ID
Order Title
Order Currency Type (currently supported MYR only)
Order Amount
Order Detail
Order Additional Data
1{2 "authCode": "134850717797247290",3 "storeId": "6170506694335521334",4 "ipAddress": "8.8.8.8",5 "order": {6 "id": "ODR-20230513-1001",7 "title": "Payment via OpenAPI",8 "currencyType": "MYR",9 "amount": 1000,10 "detail": "",11 "additionalData": ""12 }13}
Response Parameters
Transaction response object
"SUCCESS" if the payment succeeded, otherwise an error code
Error code if the request failed
Error message if the request failed
Debug message (sandbox only)
Quick Pay + Voucher
Vouchers can be generated as QR codes for scanning. Scan the voucher QR code first, then scan the wallet QR code.
Request Parameters
Auth code of QR code/barcode being scanned
IP address of terminal/application for payment
Revenue Monster Store ID
Order ID
Order Title
Order Currency Type (currently supported MYR only)
Order Amount
Order Detail
Order Additional Data
Revenue Monster Voucher Code
1{2 "authCode": "134850717797247290",3 "storeId": "6170506694335521334",4 "ipAddress": "8.8.8.8",5 "order": {6 "id": "ODR-20230513-1001",7 "title": "Payment via OpenAPI",8 "currencyType": "MYR",9 "amount": 1000,10 "detail": "",11 "additionalData": ""12 },13 "voucher": {14 "code": "haYkAch3VN"15 }16}
Response Parameters
Transaction response object
"SUCCESS" if the payment succeeded, otherwise an error code
Error code if the request failed
Error message if the request failed
Debug message (sandbox only)
Quick Pay + Spending Loyalty
You will receive extra parameters in the transaction response. You need to print the generated QR code on the receipt so customers can use their loyalty program to retrieve spending loyalty points.
Request Parameters
Auth code of QR code/barcode being scanned
IP address of terminal/application for payment
Revenue Monster Store ID
Order ID
Order Title
Order Currency Type (currently supported MYR only)
Order Amount
Order Detail
Order Additional Data
Loyalty type
Loyalty member's ID
Loyalty member's country code
Loyalty member's phone number
1{2 "authCode": "134850717797247290",3 "storeId": "6170506694335521334",4 "ipAddress": "8.8.8.8",5 "order": {6 "id": "ODR-20230513-1001",7 "title": "Payment via OpenAPI",8 "currencyType": "MYR",9 "amount": 1000,10 "detail": "",11 "additionalData": ""12 },13 "loyalty": {14 "type": "PHONENUMBER",15 "countryCode": "60",16 "phoneNumber": "103403660"17 }18}
Response Parameters
Transaction response object
"SUCCESS" if the payment succeeded, otherwise an error code
Error code if the request failed
Error message if the request failed
Debug message (sandbox only)
Quick Pay + Membership Card
Currently available membership card: Alipay Gourmet Card (马来西亚美食优惠卡).
Verify Membership Card
Request Parameters
Alipay's Member Card ID
Store ID
1{2 "memberCardId": "28158443195878043074",3 "storeId": "4949529109748431621"4}
Response Parameters
"SUCCESS" if the verification succeeded, otherwise an error code
Error code if the request failed
Error message if the request failed
Debug message (sandbox only)
Quick Pay
Request Parameters
Auth code of QR code/barcode being scanned
IP address of terminal/application for payment
Revenue Monster Store ID
Order ID
Order Title
Order Currency Type (currently supported MYR only)
Order Amount
Order Detail
Order Additional Data
Extra Type "MEMBERSHIP"
Membership Card ID
1{2 "authCode": "134850717797247290",3 "storeId": "6170506694335521334",4 "ipAddress": "8.8.8.8",5 "order": {6 "id": "ODR-20230513-1001",7 "title": "Payment via OpenAPI",8 "currencyType": "MYR",9 "amount": 1000,10 "detail": "",11 "additionalData": ""12 },13 "extraInfo": {14 "type": "MEMBERSHIP",15 "reference": "28158443195878043074"16 }17}
Response Parameters
Transaction response object
"SUCCESS" if the payment succeeded, otherwise an error code
Error code if the request failed
Error message if the request failed
Debug message (sandbox only)