Skip to main content

Quick Pay


Quick Pay

Quick Pay allows businesses to accept payments from customers using a mobile app or QR code. With Revenue Monster's Quick Pay, customers can simply scan a QR code displayed by the merchant, and then make a payment using their preferred payment method such as credit card, debit card, or e-wallet. This process is quick, easy, and secure, allowing businesses to accept payments from their customers with minimal effort.

info

Quick Pay is an offline payment method and it's subscription will based on offline subscription rate.

Standard Quick Pay

Method : POST
URL : https://open.revenuemonster.my/v3/payment/quickpay
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/quickpay

Request Parameters

ParameterTypeValidationRequiredDescription
authCodeStringYesAuth code of QR code/barcode being scanned
ipAddressStringIPV4 / IPV6YesIP address of terminal/application for payment
storeIdStringYesRevenue Monster Store ID
order.idStringLength(24)YesOrder ID
order.titleStringLength(32)YesOrder Title
order.currencyTypeStringENUM("MYR")YesOrder Currency Type ( currently supported MYR only)
order.amountUint64YesOrder Amount
order.detailStringLength(600)NoOrder Detail
order.additionalDataStringLength(128)NoOrder Additional Data
Example Request
{
"authCode": "134850717797247290",
"storeId": "6170506694335521334",
"ipAddress": "8.8.8.8",
"order": {
"id": "ODR-20230513-1001",
"title": "Payment via OpenAPI",
"currencyType": "MYR",
"amount": 1000,
"detail": "",
"additionalData": "",
},
}

Response Parameters

ParameterTypeValidationDescription
itemJSONTransaction ObjectTransaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Quick Pay + Voucher

About voucher redemption flow

Voucher can be generated as a QRCode for scanning the voucher code, so we suggest to scan the voucher qrcode first then only go for the wallet's qrcode.

Method : POST
URL : https://open.revenuemonster.my/v3/payment/quickpay
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/quickpay

Request Parameters

ParameterTypeValidationRequiredDescription
authCodeStringYesAuth code of QR code/barcode being scanned
ipAddressStringIPV4 / IPV6YesIP address of terminal/application for payment
storeIdStringYesRevenue Monster Store ID
order.idStringLength(24)YesOrder ID
order.titleStringLength(32)YesOrder Title
order.currencyTypeStringENUM("MYR")YesOrder Currency Type ( currently supported MYR only)
order.amountUint64YesOrder Amount
order.detailStringLength(600)NoOrder Detail
order.additionalDataStringLength(128)NoOrder Additional Data
voucher.codeStringNoRevenue Monster Voucher Code
Example Request
{
"authCode": "134850717797247290",
"storeId": "6170506694335521334",
"ipAddress": "8.8.8.8",
"order": {
"id": "ODR-20230513-1001",
"title": "Payment via OpenAPI",
"currencyType": "MYR",
"amount": 1000,
"detail": "",
"additionalData": "",
},
"voucher": {
"code": "haYkAch3VN"
}
}

Response Parameters

ParameterTypeValidationDescription
itemJSONTransaction ObjectTransaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Quick Pay + Spending Loyalty

About QRCODE Type

You will receive extra parameteres in the transaction response and you will need to print the generate the qrcode and print it out in receipt so the customer able to use their loyalty program to retrieve the spending loyalty's points.

Reference: Transaction Object > Spending Loyalty

Method : POST
URL : https://open.revenuemonster.my/v3/payment/quickpay
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/quickpay

Request Parameters

ParameterTypeValidationRequiredDescription
authCodeStringYesAuth code of QR code/barcode being scanned
ipAddressStringIPV4 / IPV6YesIP address of terminal/application for payment
storeIdStringYesRevenue Monster Store ID
order.idStringLength(24)YesOrder ID
order.titleStringLength(32)YesOrder Title
order.currencyTypeStringENUM("MYR")YesOrder Currency Type ( currently supported MYR only )
order.amountUint64YesOrder Amount
order.detailStringLength(600)NoOrder Detail
order.additionalDataStringLength(128)NoOrder Additional Data
loyalty.typeStringENUM("QRCODE", "PHONENUMBER", "ID")NoLoyalty type
loyalty.memberIdStringRequired when type="ID"ConditionalLoyalty Member's ID
loyalty.countryCodeStringRequired when type="PHONENUMBER"ConditionalLoyalty Member's Country Code
loyalty.phoneNumberStringRequired when type="PHONENUMBER"ConditionalLoyalty Member's Phone Number
Example Request
{
"authCode": "134850717797247290",
"storeId": "6170506694335521334",
"ipAddress": "8.8.8.8",
"order": {
"id": "ODR-20230513-1001",
"title": "Payment via OpenAPI",
"currencyType": "MYR",
"amount": 1000,
"detail": "",
"additionalData": "",
},
"loyalty": {
"type": "PHONENUMBER",
"countryCode": "60",
"phoneNumber": "103403660"
}
}

Response Parameters

ParameterTypeValidationDescription
itemJSONTransaction ObjectTransaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Quick Pay + Membership Card

info

Currently available membership card only Alipay's Gourmet Card ( 马来西亚美食优惠卡 )

Verify Membership Card

Request Parameters Method : POST
URL : https://open.revenuemonster.my/v3/membership/verify
Sandbox URL : https://sb-open.revenuemonster.my/v3/membership/verify

Request Parameters

ParameterTypeValidationRequiredDescription
memberCardIdStringYesAlipay's Member Card ID
storeIdStringYesStore ID
Example Request
{
"memberCardId": "28158443195878043074",
"storeId": "4949529109748431621"
}

Response Parameters

ParameterTypeValidationDescription
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Quick Pay

Method : POST
URL : https://open.revenuemonster.my/v3/payment/quickpay
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/quickpay

Request Parameters

ParameterTypeValidationRequiredDescription
authCodeStringYesAuth code of QR code/barcode being scanned
ipAddressStringIPV4 / IPV6YesIP address of terminal/application for payment
storeIdStringYesRevenue Monster Store ID
order.idStringLength(24)YesOrder ID
order.titleStringLength(32)YesOrder Title
order.currencyTypeStringENUM("MYR")YesOrder Currency Type ( currently supported MYR only)
order.amountUint64YesOrder Amount
order.detailStringLength(600)NoOrder Detail
order.additionalDataStringLength(128)NoOrder Additional Data
extraInfo.typeStringNoExtra Type "MEMBERSHIP"
extraInfo.referenceStringNoMembership Card ID
Example Request
{
"authCode": "134850717797247290",
"storeId": "6170506694335521334",
"ipAddress": "8.8.8.8",
"order": {
"id": "ODR-20230513-1001",
"title": "Payment via OpenAPI",
"currencyType": "MYR",
"amount": 1000,
"detail": "",
"additionalData": "",
},
"extraInfo": {
"type": "MEMBERSHIP",
"reference": "28158443195878043074"
}
}

Response Parameters

ParameterTypeValidationDescription
itemJSONTransaction ObjectTransaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )