Accounts
Get primary cash account
This endpoint returns the primary cash account with its status. There will always be only one primary account.
get/v2/accounts/cash/primary
Request
- Base URLhttps://api.brex.com
- AuthOAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopesaccounts.cash.readonly
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Returns the primary cash account.
Example response
{
"current_balance": {
"amount": 700,
"currency": "USD"
},
"available_balance": {
"amount": 700,
"currency": "USD"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.