Skip to main content

Standard Quick Pay

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
tip

Quick Pay is an offline payment method. Its subscription rate is based on the offline subscription plan. Contact [email protected] to activate this feature.

How to Use

Endpoint
POST/v3/payment/quickpay
  1. Customer presents a QR code from their payment app
  2. Scan the QR code to get the authCode
  3. Send the authCode along with order details to this endpoint
  4. Check the code in the response — if "SUCCESS", the payment is complete

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

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

terminalIdSTRING

RM Terminal ID, if processed via terminal

storeOBJECT

Store details

idSTRING

Store ID

nameSTRING

Store name

imageUrlSTRING

Store image URL

addressLine1STRING

Store address line 1

addressLine2STRING

Store address line 2

postCodeSTRING

Store postcode

citySTRING

Store city

stateSTRING

Store state

countrySTRING

Store country

countryCodeSTRING

Store contact country code

phoneNumberSTRING

Store phone number

geoLocationOBJECT

Store geolocation

latitudeNUMBER

Latitude

longitudeNUMBER

Longitude

statusSTRING

Store status

createdAtSTRING

Store creation date time

updatedAtSTRING

Store last update date time

currencyTypeSTRING

Currency type (MYR)

balanceAmountINTEGER

Remaining balance amount for initiating refund

finalAmountINTEGER

Amount after all deductions

voucherOBJECT

Voucher applied to this transaction (null if none)

keySTRING

Voucher key (internal usage)

discountAmountINTEGER

Discount amount deducted, in cents

membershipOBJECT

Membership voucher details (null if not applicable)

voucherIdSTRING

Membership voucher ID

memberIdSTRING

Member ID that owns the voucher

discountAmountINTEGER

Discount amount deducted, in cents

walletOBJECT

Wallet voucher details (null if not applicable)

discountAmountINTEGER

Discount amount deducted, in cents

grossAmountINTEGER

Gross amount before discount, in cents

salesAmountINTEGER

Sales amount after discount, in cents

platformSTRING

Transaction platform

methodSTRING

Payment method

errorOBJECT

Failure reason (present when the transaction itself failed, even though the API call succeeded)

messageSTRING

Failure reason message

Example: "Customer code expired. Please scan again."

typeSTRING

Transaction type

regionSTRING

Payment region

statusSTRING

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

transactionAtSTRING

Transaction date time (only when SUCCESS)

extendInfoOBJECT

Additional payment method-specific info

inHousePromoOBJECT

In-house promotion applied

amountINTEGER

Promotion discount amount

infoSTRING

Promotion info (null if none)

buyNowPayLaterOBJECT

Buy-now-pay-later details

isBuyNowPayLaterBOOLEAN

Whether this transaction used buy-now-pay-later

installmentMonthINTEGER

Number of installment months

cardInfoOBJECT

Card details (for card payments)

binSTRING

Card bank identification number

lastFourSTRING

Last four digits of the card

fundingMethodSTRING

Card funding method

alpha2STRING

Card issuing country (ISO alpha-2)

schemeSTRING

Card scheme (e.g. Visa, Mastercard)

approvalCodeSTRING

Card approval code

referenceNoSTRING

Card transaction reference number

issuerSTRING

Card issuing bank

paymentSourceSTRING

Source of the payment

terminalInfoOBJECT

Terminal-specific info

providerSTRING

Terminal provider

inputTypeSTRING

Terminal input type

referenceNoSTRING

Terminal reference number

invoiceNoSTRING

Terminal invoice number

sourceSTRING

Source of the transaction

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)