The transactions API lets you view your transactions, accounts, and statements.
Transactions API (1.0)
- Productionhttps://api.brex.com/v2/accounts/card
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v2/accounts/card
- curl
- JavaScript
- Node.js
- Python
- Ruby
- Java
curl -i -X GET \
https://api.brex.com/v2/accounts/card \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'listCardAccounts 200 response
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
[ { "id": "string", "status": "ACTIVE", "current_balance": { … }, "available_balance": { … }, "account_limit": { … }, "current_statement_period": { … } } ]
- Productionhttps://api.brex.com/v2/accounts/card/primary/statements
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v2/accounts/card/primary/statements
- curl
- JavaScript
- Node.js
- Python
- Ruby
- Java
curl -i -X GET \
https://api.brex.com/v2/accounts/card/primary/statements \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'listPrimaryCardStatements 200 response
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
{ "next_cursor": "string", "items": [ { … } ] }
- Productionhttps://api.brex.com/v2/accounts/cash
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v2/accounts/cash
- curl
- JavaScript
- Node.js
- Python
- Ruby
- Java
curl -i -X GET \
https://api.brex.com/v2/accounts/cash \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'listAccounts 200 response
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.
{ "next_cursor": "string", "items": [ { … } ] }
- Productionhttps://api.brex.com/v2/accounts/cash/primary
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v2/accounts/cash/primary
- curl
- JavaScript
- Node.js
- Python
- Ruby
- Java
curl -i -X GET \
https://api.brex.com/v2/accounts/cash/primary \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'getPrimaryAccount 200 response
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
{ "id": "string", "name": "string", "status": "ACTIVE", "current_balance": { "amount": 0, "currency": "string" }, "available_balance": { "amount": 0, "currency": "string" }, "account_number": "string", "routing_number": "string", "primary": true }
- Productionhttps://api.brex.com/v2/accounts/cash/{id}
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v2/accounts/cash/{id}
- curl
- JavaScript
- Node.js
- Python
- Ruby
- Java
curl -i -X GET \
'https://api.brex.com/v2/accounts/cash/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'getAccount 200 response
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
{ "id": "string", "name": "string", "status": "ACTIVE", "current_balance": { "amount": 0, "currency": "string" }, "available_balance": { "amount": 0, "currency": "string" }, "account_number": "string", "routing_number": "string", "primary": true }
- Productionhttps://api.brex.com/v2/accounts/cash/{id}/statements
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v2/accounts/cash/{id}/statements
- curl
- JavaScript
- Node.js
- Python
- Ruby
- Java
curl -i -X GET \
'https://api.brex.com/v2/accounts/cash/{id}/statements' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'listCashStatements 200 response
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.
{ "next_cursor": "string", "items": [ { … } ] }