/v2/accounts/current

GET

Get the main account of the authenticating user.

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.
curl -X GET  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/accounts/current

Response

{
    "id": "72970a7c-7921-431c-b95f-3438724ba16f",
    "account_name": "Currency Cloud Dev Centre",
    "brand": "currencycloud",
    "your_reference": null,
    "status": "enabled",
    "street": "12 Steward Street",
    "city": "London",
    "state_or_province": null,
    "country": "GB",
    "postal_code": "E1 6FQ",
    "spread_table": "no_markup",
    "legal_entity_type": "company",
    "created_at": "2018-04-18T12:30:37+00:00",
    "updated_at": "2018-08-10T18:10:29+00:00",
    "identification_type": "incorporation_number",
    "identification_value": "123456789",
    "short_reference": "180418-00003",
    "api_trading": true,
    "online_trading": true,
    "phone_trading": true,
    "process_third_party_funds": false,
    "settlement_type": "net"
}
Error Codes
HTTP Status Code Description Params
400 id_is_not_valid_uuid id should be in UUID format
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