Terminal — Card Refund
Sends a card refund event to the RM Terminal. The terminal processes the refund for the specified transaction.
When to Use
▾
Use this endpoint when:
- Refunding a card transaction at the same RM Terminal
- Customer requests an in-store card refund
For e-wallet refunds, use Cancel Transaction — Refund via the server API instead.
How to Use
▾
/v3/payment/terminal/quickpayStep 1: Get the Transaction ID
▾
Capture the transactionId from the original card payment.
Step 2: Send the Refund Event
▾
POST with type: "REFUND" and the transaction ID, refund PIN, and email.
Step 3: Confirm Delivery
▾
A "SUCCESS" code means the refund event was dispatched to the terminal.
Request Parameters
▾
RM Terminal ID
Event type. Set to "REFUND".
Request data
Transaction ID to refund
Receipt setting: 1 = Print both copies, 2 = Print customer copy only, 3 = Do not print
Reason for the refund
Email address matching the refund PIN
Refund PIN
Response Parameters
▾
Transaction response object
Revenue Monster's unique transaction ID
Reference ID from the payment provider
Order details
Order ID
Order title
Currency type
Order amount in cents
Order detail
Additional data
Store details
Currency type (MYR)
Remaining balance amount for initiating refund
Amount after all deductions
Transaction platform
Transaction type
Payment method
Payment region
Transaction status (SUCCESS, FAILED, IN_PROCESS, etc.)
Transaction date time (only when SUCCESS)
Created date time
Last updated date time
"SUCCESS" if the event was sent to terminal, otherwise an error code.
Error details
Error code if the request failed.
Error message if the request failed.
Debug message (sandbox only).