Skip to main content
GET
/
api
/
v1
/
transaction
/
{transactionId}
Get transaction by ID
curl --request GET \
  --url https://staging.afx-server.com/api/v1/transaction/{transactionId} \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "transactionId": "<string>",
    "customerId": "<string>",
    "destinationId": "<string>",
    "sourceAmount": "<string>",
    "sourceCurrency": "<string>",
    "destinationAmount": "<string>",
    "destinationCurrency": "<string>",
    "type": "WITHDRAWAL",
    "status": "<string>",
    "meta": {},
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}
Retrieve a specific transaction by its unique identifier.

Authorizations

x-api-key
string
header
required

Static business API key from the dashboard

Path Parameters

transactionId
string
required

The unique identifier of the transaction

Response

Transaction retrieved successfully.

data
object