cURL
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>" } }
Retrieves a specific transaction by its unique identifier.
Static business API key from the dashboard
The unique identifier of the transaction
Transaction retrieved successfully.
Show child attributes