AptlyStar

Brex

Manage expenses, receipts, transactions, and team data in Brex

Instructions d'utilisation

Integrates Brex into the workflow. List and update expenses, upload and match receipts, view card and cash transactions, accounts, budgets, spend limits, vendors, transfers, and team data.

Outils

brex_list_expenses

List expenses in the Brex account with optional filters for user, status, payment status, and purchase date range

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
userIdsstringNonComma-separated user IDs to filter expenses by owner
statusesstringNonComma-separated expense statuses to filter by: DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED
paymentStatusesstringNonComma-separated payment statuses to filter by: NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED
purchasedAtStartstringNonOnly include expenses purchased at or after this ISO 8601 timestamp
purchasedAtEndstringNonOnly include expenses purchased at or before this ISO 8601 timestamp
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of expenses to return (max 100)

Sortie

ParamètreTypeDescription
itemsarrayExpenses matching the filters
↳ idstringUnique expense ID
↳ memostringMemo on the expense
↳ statusstringExpense status (DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED)
↳ payment_statusstringPayment status (NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED)
↳ expense_typestringExpense type (CARD, BILLPAY, REIMBURSEMENT, CLAWBACK, UNSET)
↳ categorystringExpense category (e.g., RESTAURANTS, RECURRING_SOFTWARE_AND_SAAS, AIRLINE_EXPENSES)
↳ merchantjsonMerchant details
↳ raw_descriptorstringRaw merchant descriptor
↳ mccstringMerchant category code
↳ countrystringMerchant country
↳ userjsonUser who made the expense
↳ idstringUser ID
↳ first_namestringFirst name
↳ last_namestringLast name
↳ budgetjsonBudget the expense belongs to
↳ idstringBudget ID
↳ namestringBudget name
↳ departmentjsonDepartment of the expense owner
↳ idstringDepartment ID
↳ namestringDepartment name
↳ locationjsonLocation of the expense owner
↳ idstringLocation ID
↳ namestringLocation name
↳ original_amountjsonOriginal transaction amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ billing_amountjsonAmount billed to the account
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ purchased_amountjsonAmount at the time of purchase
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ receiptsarrayReceipts attached to the expense
↳ idstringReceipt ID
↳ download_urisarrayPre-signed receipt download URLs
↳ purchased_atstringPurchase timestamp (ISO 8601)
↳ updated_atstringLast update timestamp (ISO 8601)
↳ dashboard_urlstringLink to the expense in the Brex dashboard
nextCursorstringCursor for fetching the next page of results

brex_get_expense

Get a single Brex expense by its ID, including merchant, user, and receipt details

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
expenseIdstringOuiID of the expense to fetch

Sortie

ParamètreTypeDescription
idstringUnique expense ID
memostringMemo on the expense
statusstringExpense status (DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED)
paymentStatusstringPayment status (NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED)
expenseTypestringExpense type (CARD, BILLPAY, REIMBURSEMENT, CLAWBACK, UNSET)
categorystringExpense category (e.g., RESTAURANTS, RECURRING_SOFTWARE_AND_SAAS, AIRLINE_EXPENSES)
merchantIdstringMerchant ID
merchantjsonMerchant details (raw descriptor, MCC, country)
↳ raw_descriptorstringRaw merchant descriptor
↳ mccstringMerchant category code
↳ countrystringMerchant country
budgetIdstringBudget ID
budgetjsonBudget the expense belongs to
↳ idstringBudget ID
↳ namestringBudget name
departmentIdstringDepartment ID
departmentjsonDepartment of the expense owner
↳ idstringDepartment ID
↳ namestringDepartment name
locationIdstringLocation ID
locationjsonLocation of the expense owner
↳ idstringLocation ID
↳ namestringLocation name
userIdstringID of the user who made the expense
userjsonUser who made the expense
↳ idstringUser ID
↳ first_namestringFirst name
↳ last_namestringLast name
originalAmountjsonOriginal transaction amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
billingAmountjsonAmount billed to the account
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
purchasedAmountjsonAmount at the time of purchase
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
usdEquivalentAmountjsonUSD equivalent amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
purchasedAtstringPurchase timestamp (ISO 8601)
updatedAtstringLast update timestamp (ISO 8601)
paymentPostedAtstringTimestamp the payment was posted (ISO 8601)
receiptsarrayReceipts attached to the expense
↳ idstringReceipt ID
↳ download_urisarrayPre-signed receipt download URLs
dashboardUrlstringLink to the expense in the Brex dashboard

brex_update_expense

Update the memo of a Brex card expense

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
expenseIdstringOuiID of the card expense to update
memostringOuiNew memo for the expense

Sortie

ParamètreTypeDescription
idstringUnique expense ID
memostringUpdated memo on the expense
statusstringExpense status (DRAFT, SUBMITTED, APPROVED, OUT_OF_POLICY, VOID, CANCELED, SPLIT, SETTLED)
paymentStatusstringPayment status (NOT_STARTED, PROCESSING, CANCELED, DECLINED, CLEARED, REFUNDING, REFUNDED, CASH_ADVANCE, CREDITED, AWAITING_PAYMENT, SCHEDULED)
categorystringExpense category (e.g., RESTAURANTS, RECURRING_SOFTWARE_AND_SAAS, AIRLINE_EXPENSES)
merchantIdstringMerchant ID
budgetIdstringBudget ID
originalAmountjsonOriginal transaction amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
billingAmountjsonAmount billed to the account
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
purchasedAtstringPurchase timestamp (ISO 8601)
updatedAtstringLast update timestamp (ISO 8601)

brex_upload_receipt

Upload a receipt file and attach it to a specific Brex card expense

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
expenseIdstringOuiID of the card expense to attach the receipt to
filefileOuiReceipt file to upload (max 50 MB)
receiptNamestringNonReceipt file name including extension (defaults to the uploaded file name)

Sortie

ParamètreTypeDescription
receiptIdstringUnique identifier of the receipt upload
receiptNamestringName the receipt was uploaded with
expenseIdstringID of the expense the receipt was attached to

brex_match_receipt

Upload a receipt file and let Brex automatically match it with existing expenses

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
filefileOuiReceipt file to upload (max 50 MB)
receiptNamestringNonReceipt file name including extension (defaults to the uploaded file name)

Sortie

ParamètreTypeDescription
receiptIdstringUnique identifier of the receipt match request
receiptNamestringName the receipt was uploaded with
expenseIdstringAlways null for receipt match (Brex matches the receipt asynchronously)

brex_list_card_transactions

List settled card transactions for all Brex card accounts

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
userIdsstringNonComma-separated user IDs to filter transactions by cardholder
postedAtStartstringNonOnly include transactions posted at or after this ISO 8601 timestamp
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of transactions to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarraySettled card transactions
↳ idstringUnique transaction ID
↳ card_idstringID of the card used
↳ descriptionstringTransaction description
↳ amountjsonTransaction amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ initiated_at_datestringDate the transaction was initiated
↳ posted_at_datestringDate the transaction was posted
↳ typestringTransaction type (PURCHASE, REFUND, CHARGEBACK, REWARDS_CREDIT, COLLECTION, BNPL_FEE)
↳ merchantjsonMerchant details
↳ raw_descriptorstringRaw merchant descriptor
↳ mccstringMerchant category code
↳ countrystringMerchant country
↳ expense_idstringAssociated expense ID
nextCursorstringCursor for fetching the next page of results

brex_list_cash_transactions

List transactions for a Brex cash account

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
accountIdstringOuiID of the cash account to list transactions for
postedAtStartstringNonOnly include transactions posted at or after this ISO 8601 timestamp
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of transactions to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayCash account transactions
↳ idstringUnique transaction ID
↳ descriptionstringTransaction description
↳ amountjsonTransaction amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ initiated_at_datestringDate the transaction was initiated
↳ posted_at_datestringDate the transaction was posted
↳ typestringTransaction type
↳ transfer_idstringAssociated transfer ID
nextCursorstringCursor for fetching the next page of results

brex_list_card_accounts

List all Brex card accounts with balances and limits

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)

Sortie

ParamètreTypeDescription
accountsarrayCard accounts
↳ idstringUnique account ID
↳ statusstringAccount status
↳ current_balancejsonCurrent balance
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ available_balancejsonAvailable balance
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ account_limitjsonAccount limit
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ current_statement_periodjsonCurrent statement period (start_date, end_date)

brex_list_cash_accounts

List all Brex cash accounts with balances and account details

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of accounts to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayCash accounts
↳ idstringUnique account ID
↳ namestringAccount name
↳ statusstringAccount status
↳ current_balancejsonCurrent balance
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ available_balancejsonAvailable balance
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ account_numberstringBank account number
↳ routing_numberstringBank routing number
↳ primarybooleanWhether this is the primary cash account
nextCursorstringCursor for fetching the next page of results

brex_get_cash_account

Get a Brex cash account by ID, or the primary cash account when no ID is provided

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
accountIdstringNonID of the cash account (defaults to the primary cash account)

Sortie

ParamètreTypeDescription
idstringUnique account ID
namestringAccount name
statusstringAccount status
currentBalancejsonCurrent balance
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
availableBalancejsonAvailable balance
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
accountNumberstringBank account number
routingNumberstringBank routing number
primarybooleanWhether this is the primary cash account

brex_list_card_statements

List finalized statements for the primary Brex card account

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of statements to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayFinalized card account statements
↳ idstringUnique statement ID
↳ start_balancejsonBalance at the start of the period
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ end_balancejsonBalance at the end of the period
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ periodjsonStatement period (start_date, end_date)
nextCursorstringCursor for fetching the next page of results

brex_list_cash_statements

List finalized statements for a Brex cash account

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
accountIdstringOuiID of the cash account to list statements for
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of statements to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayFinalized cash account statements
↳ idstringUnique statement ID
↳ start_balancejsonBalance at the start of the period
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ end_balancejsonBalance at the end of the period
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ periodjsonStatement period (start_date, end_date)
nextCursorstringCursor for fetching the next page of results

brex_list_users

List users in the Brex account, optionally filtered by email

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
emailstringNonFilter users by exact email address
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of users to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayUsers in the Brex account
↳ idstringUnique user ID
↳ first_namestringFirst name
↳ last_namestringLast name
↳ emailstringEmail address
↳ statusstringUser status (INVITED, ACTIVE, CLOSED, DISABLED, DELETED, PENDING_ACTIVATION, INACTIVE, ARCHIVED)
↳ manager_idstringID of the manager
↳ department_idstringDepartment ID
↳ location_idstringLocation ID
↳ title_idstringTitle ID
nextCursorstringCursor for fetching the next page of results

brex_get_user

Get a Brex user by their ID

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
userIdstringOuiID of the user to fetch

Sortie

ParamètreTypeDescription
idstringUnique user ID
firstNamestringFirst name
lastNamestringLast name
emailstringEmail address
statusstringUser status (INVITED, ACTIVE, CLOSED, DISABLED, DELETED, PENDING_ACTIVATION, INACTIVE, ARCHIVED)
managerIdstringID of the manager
departmentIdstringDepartment ID
locationIdstringLocation ID
titleIdstringTitle ID

brex_get_current_user

Get the Brex user associated with the API token

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)

Sortie

ParamètreTypeDescription
idstringUnique user ID
firstNamestringFirst name
lastNamestringLast name
emailstringEmail address
statusstringUser status (INVITED, ACTIVE, CLOSED, DISABLED, DELETED, PENDING_ACTIVATION, INACTIVE, ARCHIVED)
managerIdstringID of the manager
departmentIdstringDepartment ID
locationIdstringLocation ID
titleIdstringTitle ID

brex_list_departments

List departments in the Brex account, optionally filtered by name

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
namestringNonFilter departments by name
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of departments to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayDepartments in the Brex account
↳ idstringUnique department ID
↳ namestringDepartment name
↳ descriptionstringDepartment description
nextCursorstringCursor for fetching the next page of results

brex_list_locations

List locations in the Brex account, optionally filtered by name

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
namestringNonFilter locations by name
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of locations to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayLocations in the Brex account
↳ idstringUnique location ID
↳ namestringLocation name
↳ descriptionstringLocation description
nextCursorstringCursor for fetching the next page of results

brex_list_titles

List job titles in the Brex account, optionally filtered by name

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
namestringNonFilter titles by name
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of titles to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayJob titles in the Brex account
↳ idstringUnique title ID
↳ namestringTitle name
nextCursorstringCursor for fetching the next page of results

brex_list_cards

List cards in the Brex account, optionally filtered by card owner

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
userIdstringNonFilter cards by the ID of the card owner
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of cards to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayCards in the Brex account
↳ idstringUnique card ID
↳ ownerjsonCard owner (type, user_id)
↳ statusstringCard status
↳ last_fourstringLast four digits of the card number
↳ card_namestringCard name
↳ card_typestringCard type (VIRTUAL or PHYSICAL)
↳ limit_typestringLimit type (CARD or USER)
↳ spend_controlsjsonSpend controls on the card
↳ billing_addressjsonBilling address of the card
↳ expiration_datejsonCard expiration date (month, year)
↳ budget_idstringAssociated budget ID
nextCursorstringCursor for fetching the next page of results

brex_get_company

Get the Brex company associated with the API token

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)

Sortie

ParamètreTypeDescription
idstringUnique company ID
legalNamestringLegal name of the company
mailingAddressjsonCompany mailing address (line1, line2, city, state, country, postal_code)
accountTypestringBrex account type (BREX_CLASSIC or BREX_EMPOWER)

brex_list_budgets

List budgets in the Brex account

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of budgets to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayBudgets in the Brex account
↳ budget_idstringUnique budget ID
↳ account_idstringAccount ID the budget belongs to
↳ namestringBudget name
↳ descriptionstringBudget description
↳ parent_budget_idstringParent budget ID
↳ owner_user_idsarrayUser IDs of the budget owners
↳ period_recurrence_typestringBudget period recurrence (WEEKLY, MONTHLY, QUARTERLY, YEARLY, ONE_TIME)
↳ start_datestringBudget start date
↳ end_datestringBudget end date
↳ amountjsonBudget amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ spend_budget_statusstringBudget status
↳ limit_typestringBudget limit type
nextCursorstringCursor for fetching the next page of results

brex_get_budget

Get a Brex budget by its ID

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
budgetIdstringOuiID of the budget to fetch

Sortie

ParamètreTypeDescription
budgetIdstringUnique budget ID
accountIdstringAccount ID the budget belongs to
namestringBudget name
descriptionstringBudget description
parentBudgetIdstringParent budget ID
ownerUserIdsarrayUser IDs of the budget owners
periodRecurrenceTypestringBudget period recurrence (WEEKLY, MONTHLY, QUARTERLY, YEARLY, ONE_TIME)
startDatestringBudget start date
endDatestringBudget end date
amountjsonBudget amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
spendBudgetStatusstringBudget status (ACTIVE, ARCHIVED, DELETED, EXPIRED)
limitTypestringBudget limit type (HARD or SOFT)

brex_list_spend_limits

List spend limits in the Brex account, optionally filtered by member user

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
memberUserIdsstringNonComma-separated user IDs to filter spend limits by member
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of spend limits to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarraySpend limits in the Brex account
↳ idstringUnique spend limit ID
↳ account_idstringAccount ID the spend limit belongs to
↳ namestringSpend limit name
↳ descriptionstringSpend limit description
↳ parent_budget_idstringParent budget ID
↳ statusstringSpend limit status
↳ period_recurrence_typestringPeriod recurrence (PER_WEEK, PER_MONTH, PER_QUARTER, PER_YEAR, ONE_TIME)
↳ spend_typestringSpend type of the limit
↳ owner_user_idsarrayUser IDs of the spend limit owners
↳ member_user_idsarrayUser IDs of the spend limit members
↳ current_period_balancejsonSpend and rollover amounts for the current period
↳ start_datestringStart date of the current period
↳ end_datestringEnd date of the current period
↳ start_timestringStart time of the current period (ISO 8601)
↳ end_timestringEnd time of the current period (ISO 8601)
↳ amount_spentjsonAmount spent in the current period
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ rollover_amountjsonAmount rolled over from previous periods
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
nextCursorstringCursor for fetching the next page of results

brex_get_spend_limit

Get a Brex spend limit by its ID

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
spendLimitIdstringOuiID of the spend limit to fetch

Sortie

ParamètreTypeDescription
idstringUnique spend limit ID
accountIdstringAccount ID the spend limit belongs to
namestringSpend limit name
descriptionstringSpend limit description
parentBudgetIdstringParent budget ID
statusstringSpend limit status (ACTIVE, EXPIRED, ARCHIVED, DELETED)
periodRecurrenceTypestringPeriod recurrence (PER_WEEK, PER_MONTH, PER_QUARTER, PER_YEAR, ONE_TIME)
spendTypestringSpend type of the limit
startDatestringSpend limit start date
endDatestringSpend limit end date
ownerUserIdsarrayUser IDs of the spend limit owners
memberUserIdsarrayUser IDs of the spend limit members
currentPeriodBalancejsonSpend and rollover amounts for the current period
↳ start_datestringStart date of the current period
↳ end_datestringEnd date of the current period
↳ start_timestringStart time of the current period (ISO 8601)
↳ end_timestringEnd time of the current period (ISO 8601)
↳ amount_spentjsonAmount spent in the current period
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ rollover_amountjsonAmount rolled over from previous periods
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
authorizationSettingsjsonAuthorization settings (base limit, authorization type, rollover refresh)

brex_list_vendors

List vendors in the Brex account, optionally filtered by name

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
namestringNonFilter vendors by name
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of vendors to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayVendors in the Brex account
↳ idstringUnique vendor ID
↳ company_namestringVendor company name
↳ emailstringVendor email address
↳ phonestringVendor phone number
↳ payment_accountsarrayPayment accounts associated with the vendor
nextCursorstringCursor for fetching the next page of results

brex_get_vendor

Get a Brex vendor by its ID

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
vendorIdstringOuiID of the vendor to fetch

Sortie

ParamètreTypeDescription
idstringUnique vendor ID
companyNamestringVendor company name
emailstringVendor email address
phonestringVendor phone number
paymentAccountsarrayPayment accounts associated with the vendor

brex_list_transfers

List money transfers in the Brex account

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
cursorstringNonPagination cursor from a previous response
limitstringNonNumber of transfers to return (default 100, max 1000)

Sortie

ParamètreTypeDescription
itemsarrayTransfers in the Brex account
↳ idstringUnique transfer ID
↳ counterpartyjsonTransfer counterparty details
↳ descriptionstringTransfer description
↳ payment_typestringPayment type (ACH, DOMESTIC_WIRE, CHEQUE, INTERNATIONAL_WIRE, BOOK_TRANSFER, STABLECOIN)
↳ amountjsonTransfer amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
↳ process_datestringDate the transfer processes
↳ originating_accountjsonAccount the transfer originates from
↳ statusstringTransfer status (PROCESSING, SCHEDULED, PENDING_APPROVAL, FAILED, PROCESSED)
↳ cancellation_reasonstringReason the transfer was canceled
↳ estimated_delivery_datestringEstimated delivery date
↳ creator_user_idstringID of the user who created the transfer
↳ created_atstringCreation timestamp
↳ display_namestringTransfer display name
↳ external_memostringExternal memo
nextCursorstringCursor for fetching the next page of results

brex_get_transfer

Get a Brex money transfer by its ID

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiBrex user token (generated from Developer Settings in the Brex dashboard)
transferIdstringOuiID of the transfer to fetch

Sortie

ParamètreTypeDescription
idstringUnique transfer ID
counterpartyjsonTransfer counterparty details
descriptionstringTransfer description
paymentTypestringPayment type (ACH, DOMESTIC_WIRE, CHEQUE, INTERNATIONAL_WIRE, BOOK_TRANSFER, STABLECOIN)
amountjsonTransfer amount
↳ amountnumberAmount in the smallest unit of the currency (e.g., cents for USD)
↳ currencystringISO 4217 currency code (e.g., USD)
processDatestringDate the transfer processes
originatingAccountjsonAccount the transfer originates from
statusstringTransfer status (PROCESSING, SCHEDULED, PENDING_APPROVAL, FAILED, PROCESSED)
cancellationReasonstringReason the transfer was canceled
estimatedDeliveryDatestringEstimated delivery date
creatorUserIdstringID of the user who created the transfer
createdAtstringCreation timestamp
displayNamestringTransfer display name
externalMemostringExternal memo

On this page