Skip to main content

Query By Transaction ID

Retrieve a transaction by the Transaction ID generated by Revenue Monster.

tip

Store the Transaction ID from every payment response — it is the most reliable way to look up a specific transaction.

When to Use

Use this endpoint when:

  • You captured the RM-issued Transaction ID from the original payment response
  • Querying a specific transaction's status and details
  • Building a refund or reversal flow

How to Use

Endpoint
GET/v3/payment/transaction/{transactionId}

Step 1: Get the Transaction ID

Capture transactionId from the original payment response.

Step 2: Send the GET Request

Pass transactionId as a path parameter — /v3/payment/transaction/{transactionId}.

Step 3: Read the Response

The item object contains the full transaction record.


Request Parameters

idSTRINGrequired

Transaction ID to look up

Example: "230522082259300426500551"

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 request 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).

See Transaction Object for the full field breakdown of the item response.