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>'Returns a list of card accounts.
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>'Returns a list of primary card account statements.
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>'Returns a list of cash accounts.
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>'Returns the primary cash account.
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.
{ "id": "string", "name": "string", "status": "ACTIVE", "current_balance": { "amount": 700, "currency": "USD" }, "available_balance": { "amount": 700, "currency": "USD" }, "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>'Returns the cash account.
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.
{ "id": "string", "name": "string", "status": "ACTIVE", "current_balance": { "amount": 700, "currency": "USD" }, "available_balance": { "amount": 700, "currency": "USD" }, "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>'Returns a list of cash account statements.
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": [ { … } ] }