Skip to content

Get Transaction Details by Either order_id or external_id

GET
/transaction

Retrieves the details of a specific transaction by using either the external_id or the order_id. You must indicate which identifier type you are passing.

Authorizations

BearerAuth
TypeHTTP (bearer)

Parameters

Query Parameters

type*

Indicates whether the provided id is the external_id or the order_id.

Required
Enum
external_idorder_id
id*

The value of the external_id or the order_id being used.

Typestring
Required

Responses

The requested transaction details.
application/json
JSON
{
"id": "trx_01J5XCMDXCFXCAQ1BV8HVG6644",
"type": "string",
"status": "string",
"order_amount": 10000,
"order_currency": "string",
"amount_authorized": 10000,
"amount_captured": 0,
"amount_voided": 0,
"amount_refunded": 0,
"external_id": "496de72d-d4a4-45eb-b426-3d04d2078a85",
"updated_at": "2024-09-05T05:05:25Z"
}

Samples

Powered by VitePress OpenAPI