/v2/transactions/{id}

GET

Get a transaction record.

The API responses shown below are static. If you want to try out the API please login, or register for an API key

API parameters

Required
NameInTypeDescription
X-Auth-Token header string Authentication token.
id path string Transaction UUID.
Optional
NameInTypeDescription
on_behalf_of query string Contact UUID.
curl -X GET  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/transactions/{id}

Response

{
    "id": "85280ea5-ba77-414b-af1f-18283d4f140c",
    "balance_id": "209ca23c-6ac3-442f-a666-aacd98b33c8b",
    "account_id": "72970a7c-7921-431c-b95f-3438724ba16f",
    "currency": "USD",
    "amount": "100000.00",
    "balance_amount": "100000.00",
    "type": "credit",
    "related_entity_type": "inbound_funds",
    "related_entity_id": "85ab4e71-5a94-48eb-8ce6-9b829e102195",
    "related_entity_short_reference": "",
    "status": "completed",
    "reason": "",
    "settles_at": "2018-04-18T12:30:39+00:00",
    "created_at": "2018-04-18T12:30:39+00:00",
    "updated_at": "2018-04-18T12:30:39+00:00",
    "completed_at": "2018-04-18T12:30:39+00:00",
    "action": "funding"
}
Error Codes
HTTP Status Code Description Params
401 invalid_supplied_credentials Authentication failed with the supplied credentials
429 too_many_requests Too many requests have been made to the api. Please refer to the Developer Center for more information
500 internal_server_error Internal server error
503 service_unavailable Service is temporary unavailable
Was this page helpful?
Yes
No