Reverse Transaction
Reverse a transaction — used to void a payment before settlement. If a transaction times out, perform a reverse before creating a new transaction to prevent a double charge.
Reverse cancels a transaction — used mainly to prevent double charges when a timeout occurs. Use within ~15 minutes of a transaction.
How to Use
▾
Request Parameters
▾
Order ID of the transaction to reverse
Example: "180730103903010431152179"
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
RM Terminal ID, if processed via terminal
Payee details
Payee user ID
Payee sub-user ID
Store details (present depending on payment method)
Currency type (MYR)
Remaining balance amount for initiating refund
Amount after all deductions
Voucher applied to this transaction (null if none)
Voucher key (internal usage)
Discount amount deducted, in cents
Membership voucher details (null if not applicable)
Membership voucher ID
Member ID that owns the voucher
Discount amount deducted, in cents
Wallet voucher details (null if not applicable)
Discount amount deducted, in cents
Gross amount before discount, in cents
Sales amount after discount, in cents
Transaction platform
Payment method
Transaction type
Payment region
Transaction status (SUCCESS, FAILED, IN_PROCESS, etc.)
Transaction date time (only when SUCCESS)
Payment method-specific details (populated depending on method used)
Card payment details (null if not a card payment)
Card type details
Card brand (e.g. VISA, MASTERCARD)
Card type (e.g. CREDIT, DEBIT)
Card issuing bank
Card issuing country (ISO alpha-2)
Card issuing country (ISO alpha-3)
Card issuing country name
Card provider
Whether the card was tokenized
Card token
Masked card number
Card input type
Card reference ID
Tokenization domain
Secondary reference ID
Online banking details (null if not applicable)
Manual refund details (null if not applicable)
Additional payment method-specific info
In-house promotion applied
Promotion discount amount
Promotion info (null if none)
Buy-now-pay-later details
Whether this transaction used buy-now-pay-later
Number of installment months
Card details (for card payments)
Card bank identification number
Last four digits of the card
Card funding method
Card issuing country (ISO alpha-2)
Card scheme (e.g. Visa, Mastercard)
Card approval code
Card transaction reference number
Card issuing bank
Source of the payment
Terminal-specific info
Terminal provider
Terminal input type
Terminal reference number
Terminal invoice number
Source of the transaction
Created date time
Last updated date time
"SUCCESS" if the reverse succeeded, otherwise an error code.
Error details
Error code if the request failed.
Error message if the request failed.
Debug message (sandbox only).