Skip to main content

Terminal — Card Payment

Sends a card payment event to the RM Terminal. The terminal prompts the customer to tap, insert, or swipe their card.

When to Use

Use this endpoint when:

  • Accepting in-store credit / debit card payments via RM Terminal
  • Driving the terminal remotely from your POS or backend

How to Use

Endpoint
POST/v3/payment/terminal/quickpay

Step 1: Authenticate

Obtain a valid accessToken.

Step 2: Send the Event

POST the payload with type: "CARD" and the terminal / order details.

Step 3: Confirm Delivery

A "SUCCESS" code means the event was dispatched. The terminal then drives the card payment flow.


Request Parameters

terminalIdSTRINGrequired

RM Terminal ID

typeSTRINGrequired

Payment type. Set to "CARD".

receiptTypeINTEGERrequired

Receipt setting: 1 = Print both copies, 2 = Print customer copy only, 3 = Do not print

orderOBJECTrequired

Order details

idSTRINGrequired

Order ID

titleSTRINGrequired

Order title

currencyTypeSTRINGrequired

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

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 event was sent to terminal, 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).