Logo
Brex Developer API Documentation

Get primary cash account

GET {{baseUrl}}/v2/accounts/cash/primary

This endpoint returns the primary cash account with its status. There will always be only one primary account.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "account_number": "commodo in cillum qui", "available_balance": { "amount": 64031567, "currency": "occaecat quis ullamco fugiat commodo" }, "current_balance": { "amount": 9292610, "currency": "laboris commodo reprehenderit proident" }, "id": "non ", "name": "in aliqua", "primary": true, "routing_number": "Duis exercita", "status": { "value": "<Error: Could not resolve allOf schema" } }



Curl
curl -X GET 'https://platform.staging.brexapps.com/v2/accounts/cash/primary'

ENDPOINTS