Transactions
List transactions for all card accounts.
This endpoint lists all settled transactions for all card accounts. Regular users may only fetch their own "PURCHASE","REFUND" and "CHARGEBACK" settled transactions.
get/v2/transactions/card/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/tokenScopestransactions.card.readonly
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cursorstring nullable
limitinteger nullable
user_idsstring[] nullable
posted_at_startstring date-time nullable
Shows only transactions with a posted_at_date on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6
expand[]string[] nullable
expense_id can be passed to expand[] query parameter to get expanded, e.g., ?expand[]=expense_id.
Response
Returns a list of card transactions.
Example response
{
"items": [
{
"amount": {
"amount": 700,
"currency": "USD"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.