Skip to main content

Quick Pay + Voucher

Quick Pay with a Revenue Monster voucher applied. The voucher's discount is deducted from the order total before processing the e-wallet payment.

When to Use

Use this endpoint when:

  • The customer has an RM voucher to redeem against the purchase
  • Combining wallet payment with merchant promotions
tip

Vouchers can be generated as QR codes for scanning. Scan the voucher QR code first, then scan the wallet QR code.

How to Use

Endpoint
POST/v3/payment/quickpay

Step 1: Get the Voucher Code

Capture the voucher code from a QR scan or customer-supplied code.

Step 2: Scan the Wallet QR

Capture the customer's wallet authCode.

Step 3: Send the Payment

POST the authCode, order, and voucher.code to /v3/payment/quickpay.


Request Parameters

authCodeSTRINGrequired

Auth code of QR code/barcode being scanned

ipAddressSTRINGrequired

IP address of terminal/application for payment

storeIdSTRINGrequired

Revenue Monster Store ID

orderOBJECTrequired

Order details

idSTRINGrequired

Order ID

titleSTRINGrequired

Order Title

currencyTypeSTRINGrequired

Order Currency Type (currently supported MYR only)

amountINTEGERrequired

Order Amount

detailSTRING

Order Detail

additionalDataSTRING

Order Additional Data

voucherOBJECT

Voucher details

codeSTRING

Revenue Monster Voucher Code

Response Parameters

itemOBJECT

Transaction response object

transactionIdSTRING

Revenue Monster's unique transaction ID

referenceIdSTRING

Reference ID from the payment provider

orderOBJECT

Order details

idSTRING

Order ID

titleSTRING

Order title

currencyTypeSTRING

Currency type

amountINTEGER

Order amount in cents

detailSTRING

Order detail

additionalDataSTRING

Additional data

storeOBJECT

Store details

currencyTypeSTRING

Currency type (MYR)

balanceAmountINTEGER

Remaining balance amount for initiating refund

finalAmountINTEGER

Amount after all deductions

platformSTRING

Transaction platform

typeSTRING

Transaction type

methodSTRING

Payment method

regionSTRING

Payment region

statusSTRING

Transaction status (SUCCESS, FAILED, IN_PROCESS, etc.)

transactionAtSTRING

Transaction date time (only when SUCCESS)

createdAtSTRING

Created date time

updatedAtSTRING

Last updated date time

codeSTRING

"SUCCESS" if the payment succeeded, otherwise an error code

errorOBJECT

Error details

codeSTRING

Error code if the request failed

messageSTRING

Error message if the request failed

debugSTRING

Debug message (sandbox only)