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.
Indicates whether the provided id
is the external_id
or the order_id
.
The value of the external_id
or the order_id
being used.
GET /transaction HTTP/1.1
Host: test.api.us.sanctuspay.com
Authorization: Bearer JWT
Accept: */*
The requested transaction details.
{
"id": "trx_01J5XCMDXCFXCAQ1BV8HVG6644",
"type": "PAYMENT",
"status": "AUTHORIZED",
"order_amount": 10000,
"order_currency": "USD",
"amount_authorized": 10000,
"amount_captured": 1,
"amount_voided": 1,
"amount_refunded": 1,
"external_id": "496de72d-d4a4-45eb-b426-3d04d2078a85",
"updated_at": "2024-09-05T05:05:25Z"
}