Integrations
Brex
Set up Brex OAuth for corporate card and expense management
Overview
Section titled “Overview”Connect the application’s users to Brex for corporate card management, expense tracking, and financial data access.
| Property | Value |
|---|---|
| Provider ID | brex |
| Category | Finance |
| PKCE | Supported |
| Token refresh | Automatic |
| Environments | Production and Sandbox (Brex staging) |
| API hosts | api.brex.com (current base URL), platform.brexapis.com (former base URL, still served) |
| Redirect URI | Shown in Developer Portal |
Sandbox vs production
Section titled “Sandbox vs production”Brex calls its sandbox staging. Staging runs on its own OAuth server (accounts-api.staging.brexapps.com) with its own credentials: Brex issues staging credentials once it approves the partner application, and production credentials after it reviews a demo of the integration (Brex partner onboarding). The two sets are not interchangeable.
Pick the environment when you configure the provider:
- Developer Portal: set the Environment selector on the Brex configuration form to Sandbox for staging credentials.
- CLI: pass
--environment sandbox:
alter providers create --app <app> --provider brex \ --environment sandbox \ --client-id <staging-client-id> --client-secret - \ --scopes openid,offline_access \ --redirect-uri https://your.app/callbackThe save-time credential check verifies the credentials against the environment you selected. A sandbox configuration can only reach Brex’s staging API hosts (api-staging.brex.com and platform.staging.brexapps.com); it cannot call the live API. Brex provisions staging accounts on request and may purge staging data at any time.
To go live, switch the same configuration and its credentials together (alter providers update --app <app> --provider brex --environment production --client-id <production-client-id> --client-secret -, or the Environment selector in the Developer Portal).
Step 1: Get Brex OAuth credentials
Section titled “Step 1: Get Brex OAuth credentials”Brex OAuth (3LO) is partner-gated — there is no self-serve developer console for creating OAuth apps. Credentials must be issued by Brex’s developer support team after the partner application is approved.
Apply to be a Brex developer partner
Submit an application at brex.com/partners.
Request OAuth credentials
Once approved, contact the Brex developer support team to request OAuth client credentials. Provide the Alter callback URL from the Developer Portal — Brex configures the redirect URI on its side, there is no self-serve UI for it.
Receive credentials
Brex issues a Client ID, Client Secret, and the list of approved scopes.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add Brex provider
Go to OAuth Providers > Add Provider > Brex.
Enter credentials
- Client ID: Paste the Brex Client ID
- Client Secret: Paste the Brex Client Secret
- Environment: Sandbox for staging credentials, Production for production credentials
Select scopes
Choose the scopes the application needs.
Save
Click Save. The provider is now active.
Available Scopes
Section titled “Available Scopes”Brex grants only the scopes approved for your partner application. The API scopes below come from its official API references and roles, permissions and scopes guide. Request only those your integration needs.
| Scope | Description |
|---|---|
accounting.integration.read | Read accounting integrations and configuration. |
accounting.integration.write | Create and change accounting integrations and mappings. |
accounting.record.read | Read accounting records and their posting state. |
accounting.record.write | Create or update accounting record data. |
accounts.card.readonly | Read card accounts. |
accounts.cash.readonly | Read business accounts. |
budgets | Create and manage spend limits. |
budgets.readonly | Read spend limits. |
cards | Create and manage cards. |
cards.pan | Read full card numbers and card security details. |
cards.readonly | Read card metadata. |
companies.readonly | Read company information. |
cost_centers | Manage cost centers. |
cost_centers.readonly | Read cost centers. |
departments | Manage departments. |
departments.readonly | Read departments. |
expenses.card | Manage card expenses. |
expenses.card.readonly | Read card expenses. |
field_values.read | Read custom field values. |
field_values.write | Create and change custom field values. |
fields.read | Read custom field definitions. |
fields.write | Create and change custom field definitions. |
incoming_transfers | Create incoming transfers. |
legal_entities | Manage legal entities. |
legal_entities.readonly | Read legal entities. |
linked_accounts.readonly | Read linked external accounts. |
locations | Manage company locations. |
locations.readonly | Read company locations. |
offline_access | Request a refresh token for long-lived access. |
openid | OpenID Connect authentication. |
roles | Read and manage the account’s role definitions. |
roles.readonly | Read the account’s role definitions. |
statements.card.readonly | Read card statements. |
statements.cash.readonly | Read business-account statements. |
titles | Manage employee titles. |
titles.readonly | Read employee titles. |
transactions.card.readonly | Read card transactions. |
transactions.cash.readonly | Read business-account transactions. |
transfers | Create and manage outbound transfers. |
transfers.readonly | Read outbound transfers. |
travel.trips | Manage travel trips. |
travel.trips.readonly | Read travel trips. |
users | Manage employees. |
users.readonly | Read employee information. |
vendors | Manage payment vendors. |
vendors.readonly | Read payment vendors. |
- The
openidandoffline_accessscopes are included by default. - Brex scopes configured in the Brex OAuth application must match the scopes you request during authorization.
- Brex moved its API base URL to
api.brex.comon January 1, 2026 and keeps the formerplatform.brexapis.comavailable (Brex partner authentication); a production configuration can call either. - Disconnecting in Alter revokes the connection’s refresh token at Brex (at Brex staging for a sandbox configuration) and deletes Alter’s copy. Alter skips the revocation while another connection in Alter holds the same Brex user under the same client ID.
- See the Brex authentication documentation for more details. Captured responses mask personal profile values, private metadata, banking numbers and card details at their reviewed locations. Benign fields remain visible; undiscriminated variants retain their sensitive upper bound. Calls returning narrow capabilities, such as signed receipt links or webhook secrets, are withheld from payload capture.
Budget-owner assignments and user roles other than Employee grant management authority and are denied by default. Those routes are available through raw managed execution rather than the SDK, and ordinary requests to them are allowed; a reviewed authority-granting branch requires a credential_minting allowance naming the provider, exact operation and authenticated API key or agent, with a reason and an absolute expiry in the future, at most one year ahead. Ordinary spending membership, employee manager assignments and employee status restoration remain governable by normal policy. Six credential-gated issuer identities require the same scoped fields and remain outside the SDK. No allowance can lift the five unsupported partner-authentication Onboarding routes. Other policies still apply, and expiry ends the exception.
Policy-cataloged operations
Section titled “Policy-cataloged operations”Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.
| Operation ID | Families | Method | Provider path | Notes |
|---|---|---|---|---|
accounting:createIntegration | admin, write | POST | /v3/accounting/integration | — |
accounting:getIntegration | read | GET | /v3/accounting/integration/{integration_id} | — |
accounting:listAmortizationTemplates | read | GET | /v3/accounting/integration/{integration_id}/amortization | — |
accounting:createAmortizationTemplate | admin, write | POST | /v3/accounting/integration/{integration_id}/amortization | — |
accounting:deleteAmortizationTemplate | delete | DELETE | /v3/accounting/integration/{integration_id}/amortization/{brex_id} | — |
accounting:getAmortizationTemplate | read | GET | /v3/accounting/integration/{integration_id}/amortization/{brex_id} | — |
accounting:updateAmortizationTemplate | delete, write | PATCH | /v3/accounting/integration/{integration_id}/amortization/{brex_id} | also delete when body.@UpdateAmortizationTemplateRequest.is_disabled is one of [true] ({"missing”: false, “type”: “boolean"}); also write when not (the body only sets is_disabled to true for the selected amortization template); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
accounting:disconnectIntegration | admin, delete | POST | /v3/accounting/integration/{integration_id}/disconnect | — |
accounting:reactivateIntegration | admin, write | POST | /v3/accounting/integration/{integration_id}/reactivate | — |
accounting:listTaxCodes | read | GET | /v3/accounting/integration/{integration_id}/tax-codes | — |
accounting:createTaxCode | write | POST | /v3/accounting/integration/{integration_id}/tax-codes | — |
accounting:deleteTaxCode | delete | DELETE | /v3/accounting/integration/{integration_id}/tax-codes/{brex_id} | — |
accounting:getTaxCode | read | GET | /v3/accounting/integration/{integration_id}/tax-codes/{brex_id} | — |
accounting:updateTaxCode | delete, write | PATCH | /v3/accounting/integration/{integration_id}/tax-codes/{brex_id} | also delete when body.@TaxCodeSubsidiaryStatus.status is one of [“DISABLED”] ({"missing”: false, “type”: “string”, “valid_values”: [“ENABLED”, “DISABLED"]}); also write when not (the body contains a nonempty subsidiaries list whose entries only identify a subsidiary and set the tax-code status to DISABLED); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
accounting:listTaxGroups | read | GET | /v3/accounting/integration/{integration_id}/tax-groups | — |
accounting:createTaxGroup | write | POST | /v3/accounting/integration/{integration_id}/tax-groups | — |
accounting:deleteTaxGroup | delete | DELETE | /v3/accounting/integration/{integration_id}/tax-groups/{brex_id} | — |
accounting:getTaxGroup | read | GET | /v3/accounting/integration/{integration_id}/tax-groups/{brex_id} | — |
accounting:updateTaxGroup | delete, write | PATCH | /v3/accounting/integration/{integration_id}/tax-groups/{brex_id} | also delete when body.@TaxCodeSubsidiaryStatus.status is one of [“DISABLED”] ({"missing”: false, “type”: “string”, “valid_values”: [“ENABLED”, “DISABLED"]}); also write when not (the body contains a nonempty subsidiaries list whose entries only identify a subsidiary and set the tax-group status to DISABLED); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
accounting:listIntegrations | read | GET | /v3/accounting/integrations | — |
accounting:queryAccountingRecords | read | GET | /v3/accounting/records | allowed; its secret is never stored in a payload capture |
accounting:AccountingController_updateAccountingRecords | write | POST | /v3/accounting/records | allowed; its secret is never stored in a payload capture |
accounting:reportAccountingExportResults | write | POST | /v3/accounting/records/export-results | — |
accounting:getAccountingRecord | read | GET | /v3/accounting/records/{record_id} | allowed; its secret is never stored in a payload capture |
budgets:listBudgetPrograms | read | GET | /v1/budget_programs | — |
budgets:getBudgetProgramById | read | GET | /v1/budget_programs/{id} | — |
budgets:listBudgets | read | GET | /v1/budgets | — |
budgets:createBudget | admin, payment, send, write | POST | /v1/budgets | account-security or privilege changes are refused by default when ((body.@CreateBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or ((body.@CreateBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) and (not (body.@CreateBudgetRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"}))))) (an explicit credential_minting allowance can allow the reviewed request); also admin when (body.@CreateBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or ((body.@CreateBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) and (not (body.@CreateBudgetRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})))); also send when (body.@CreateBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@CreateBudgetRequest.member_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})); the family column is the upper bound; base families are payment, write; unreadable or invalid effect inputs are refused when the request condition reads them |
budgets:getBudgetById | read | GET | /v1/budgets/{id} | — |
budgets:updateBudget | admin, delete, payment, send, write | PUT | /v1/budgets/{id} | account-security or privilege changes are refused by default when (body.@UpdateBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) (an explicit credential_minting allowance can allow the reviewed request); also admin when body.@UpdateBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"}); also delete when (body.@UpdateBudgetRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateBudgetRequest.member_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})); also payment when (body.@UpdateBudgetRequest.limit is non-null ({"missing”: false, “nullable”: true})) or (body.@UpdateBudgetRequest.limit_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“HARD”, “SOFT"]})) or (body.@UpdateBudgetRequest.period_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“WEEKLY”, “MONTHLY”, “QUARTERLY”, “YEARLY”, “ONE_TIME"]})) or (body.@UpdateBudgetRequest.spend_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“BUDGET_PROVISIONED_CARDS_ONLY”, “NON_BUDGET_PROVISIONED_CARDS_ALLOWED"]})) or (body.@UpdateBudgetRequest.start_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) or (body.@UpdateBudgetRequest.end_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) or (body.@UpdateBudgetRequest.member_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})); also send when (body.@UpdateBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateBudgetRequest.member_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateBudgetRequest.limit is non-null ({"missing”: false, “nullable”: true})); also write when not (the body contains only empty member_user_ids and/or owner_user_ids arrays, with at least one supplied); also delete when body.@UpdateBudgetRequest.period_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“WEEKLY”, “MONTHLY”, “QUARTERLY”, “YEARLY”, “ONE_TIME"]}); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
budgets:archiveBudget | delete, send | POST | /v1/budgets/{id}/archive | — |
budgets:listSpendBudgets | read | GET | /v2/budgets | — |
budgets:createSpendBudget | admin, send, write | POST | /v2/budgets | account-security or privilege changes are refused by default when ((body.@CreateSpendBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or ((body.@CreateSpendBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) and (not (body.@CreateSpendBudgetRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"}))))) (an explicit credential_minting allowance can allow the reviewed request); also admin when (body.@CreateSpendBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or ((body.@CreateSpendBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) and (not (body.@CreateSpendBudgetRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})))); also send when (body.@CreateSpendBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})); the family column is the upper bound; base families are write; unreadable or invalid effect inputs are refused when the request condition reads them |
budgets:getSpendBudgetById | read | GET | /v2/budgets/{id} | — |
budgets:updateSpendBudget | admin, delete, send, write | PUT | /v2/budgets/{id} | account-security or privilege changes are refused by default when (body.@UpdateSpendBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateSpendBudgetRequest.parent_budget_id is present ({"missing”: false, “nullable”: true, “type”: “string"})) (an explicit credential_minting allowance can allow the reviewed request); also admin when body.@UpdateSpendBudgetRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"}); also delete when (body.@UpdateSpendBudgetRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})); also send when (body.@UpdateSpendBudgetRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateSpendBudgetRequest.amount is non-null ({"missing”: false, “nullable”: true})); also write when not (the body only sets owner_user_ids to an empty array); also admin, delete when body.@UpdateSpendBudgetRequest.parent_budget_id is present ({"missing”: false, “nullable”: true, “type”: “string"}); also delete when body.@UpdateSpendBudgetRequest.period_recurrence_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“WEEKLY”, “MONTHLY”, “QUARTERLY”, “YEARLY”, “ONE_TIME"]}); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
budgets:archiveSpendBudget | delete, send | POST | /v2/budgets/{id}/archive | — |
budgets:listSpendLimits | read | GET | /v2/spend_limits | — |
budgets:createSpendLimit | admin, delete, payment, send, write | POST | /v2/spend_limits | account-security or privilege changes are refused by default when ((body.@CreateSpendLimitRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or ((body.@CreateSpendLimitRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) and (not (body.@CreateSpendLimitRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"}))))) (an explicit credential_minting allowance can allow the reviewed request); also admin when (body.@CreateSpendLimitRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or ((body.@CreateSpendLimitRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) and (not (body.@CreateSpendLimitRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})))); also send when (body.@CreateSpendLimitRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@CreateSpendLimitRequest.member_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})); also delete when body.@CreateSpendLimitRequest.end_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"}); the family column is the upper bound; base families are payment, write; unreadable or invalid effect inputs are refused when the request condition reads them |
budgets:getSpendLimitById | read | GET | /v2/spend_limits/{id} | — |
budgets:updateSpendLimit | admin, delete, payment, send, write | PUT | /v2/spend_limits/{id} | account-security or privilege changes are refused by default when (body.@UpdateSpendLimitRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"})) (an explicit credential_minting allowance can allow the reviewed request); also admin when body.@UpdateSpendLimitRequest.owner_user_ids is present ({"missing”: false, “nullable”: true, “type”: “array"}); also delete when (body.@UpdateSpendLimitRequest.owner_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateSpendLimitRequest.member_user_ids is non-null ({"missing”: false, “nullable”: true, “type”: “array"})); also payment when (body.@UpdateSpendLimitRequest.authorization_settings is non-null ({"missing”: false, “nullable”: true})) or (body.@UpdateSpendLimitRequest.transaction_limit is non-null ({"missing”: false, “nullable”: true})) or (body.@UpdateSpendLimitRequest.set_transaction_limit_null is one of [true] ({"missing”: false, “nullable”: true, “type”: “boolean"})) or (body.@UpdateSpendLimitRequest.period_recurrence_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“PER_WEEK”, “PER_MONTH”, “PER_QUARTER”, “PER_YEAR”, “ONE_TIME"]})) or (body.@UpdateSpendLimitRequest.spend_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“BUDGET_PROVISIONED_CARDS_ONLY”, “NON_BUDGET_PROVISIONED_CARDS_ALLOWED"]})) or (body.@UpdateSpendLimitRequest.start_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) or (body.@UpdateSpendLimitRequest.end_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) or (body.@UpdateSpendLimitRequest.set_start_date_null is one of [true] ({"missing”: false, “nullable”: true, “type”: “boolean"})) or (body.@UpdateSpendLimitRequest.set_end_date_null is one of [true] ({"missing”: false, “nullable”: true, “type”: “boolean"})) or (body.@UpdateSpendLimitRequest.member_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateSpendLimitRequest.merchant_category_controls is non-null ({"missing”: false, “nullable”: true})) or (body.@UpdateSpendLimitRequest.expense_policy_id is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) or (body.@UpdateSpendLimitRequest.auto_create_limit_cards_setting is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“DISABLED”, “ALL_MEMBERS"]})) or (body.@UpdateSpendLimitRequest.auto_transfer_cards_setting is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“DISABLED”, “ENABLED"]})) or (body.@UpdateSpendLimitRequest.status is one of [“ACTIVE”] ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“ACTIVE”, “EXPIRED”, “ARCHIVED”, “DELETED"]})); also delete when body.@UpdateSpendLimitRequest.status is one of [“EXPIRED”, “ARCHIVED”, “DELETED”] ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“ACTIVE”, “EXPIRED”, “ARCHIVED”, “DELETED"]}); also delete when body.@UpdateSpendLimitRequest.period_recurrence_type is non-null ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“PER_WEEK”, “PER_MONTH”, “PER_QUARTER”, “PER_YEAR”, “ONE_TIME"]}); also send when (body.@UpdateSpendLimitRequest.owner_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateSpendLimitRequest.member_user_ids is nonempty ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@UpdateAuthorizationSettings.base_limit is non-null ({"missing”: false, “nullable”: true})) or (body.@UpdateSpendLimitRequest.status is one of [“EXPIRED”, “ARCHIVED”, “DELETED”] ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“ACTIVE”, “EXPIRED”, “ARCHIVED”, “DELETED"]})); also write when not (the body contains only EXPIRED/ARCHIVED/DELETED status and/or empty member_user_ids/owner_user_ids arrays, with at least one supplied); also delete when body.@UpdateSpendLimitRequest.end_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"}); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
budgets:archiveSpendLimit | delete, send | POST | /v2/spend_limits/{id}/archive | — |
expenses:listExpenses | read | GET | /v1/expenses | allowed; its secret is never stored in a payload capture |
expenses:listExpenses_1 | read | GET | /v1/expenses/card | allowed; its secret is never stored in a payload capture |
expenses:receiptMatch | send, write | POST | /v1/expenses/card/receipt_match | allowed; its secret is never stored in a payload capture |
expenses:getCardExpense | read | GET | /v1/expenses/card/{expense_id} | allowed; its secret is never stored in a payload capture |
expenses:updateExpense | send, write | PUT | /v1/expenses/card/{expense_id} | also send when body.@UpdateExpenseRequest.memo is nonempty ({"missing”: false, “nullable”: true, “type”: “string"}); the family column is the upper bound; base families are write; unreadable or invalid effect inputs are refused when the request condition reads them |
expenses:receiptUpload | write | POST | /v1/expenses/card/{expense_id}/receipt_upload | allowed; its secret is never stored in a payload capture |
expenses:getExpense | read | GET | /v1/expenses/{id} | allowed; its secret is never stored in a payload capture |
fields:listFields | read | GET | /v1/fields | — |
fields:createField | write | POST | /v1/fields | — |
fields:deleteFieldValues | delete | DELETE | /v1/fields/{field_id}/values | — |
fields:listFieldValues | read | GET | /v1/fields/{field_id}/values | — |
fields:createFieldValues | write | POST | /v1/fields/{field_id}/values | — |
fields:updateFieldValues | delete, write | PUT | /v1/fields/{field_id}/values | also delete when body.@UpdateFieldValueDataBody.is_disabled is one of [true] ({"missing”: false, “nullable”: true, “type”: “boolean"}); also write when not (the body contains a nonempty items list whose entries only identify an existing option and set data.is_disabled to true); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
fields:getFieldValueById | read | GET | /v1/fields/{field_id}/values/{brex_id} | — |
fields:deleteField | delete | DELETE | /v1/fields/{id} | — |
fields:getFieldById | read | GET | /v1/fields/{id} | — |
fields:updateField | delete, write | PUT | /v1/fields/{id} | also delete when body.@FieldUpdateBody.is_disabled is one of [true] ({"missing”: false, “nullable”: true, “type”: “boolean"}); also write when not (the body only sets is_disabled to true for the selected custom field); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
onboarding:listReferrals | read | GET | /v1/referrals | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
onboarding:createReferralRequest | send, write | POST | /v1/referrals | refused on every connection: no rule or allowance can allow it; also send when body.@CreateReferralRequest.contact_preference is one of [“EMAIL_OUTBOUND”] ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“NO_OUTBOUND”, “EMAIL_OUTBOUND"]}); the family column is the upper bound; base families are write; unreadable or invalid effect inputs are refused when the request condition reads them; its secret is never stored in a payload capture |
onboarding:getReferral | read | GET | /v1/referrals/{id} | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
onboarding:createDocument | write | POST | /v1/referrals/{id}/document_upload | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
onboarding:processDelayedEINDocument | write | POST | /v1/referrals/{id}/process_ein_document | refused on every connection: no rule or allowance can allow it |
payments:createIncomingTransfer | payment, write | POST | /v1/incoming_transfers | — |
payments:listLinkedAccounts | read | GET | /v1/linked_accounts | — |
payments:listTransfers | read | GET | /v1/transfers | — |
payments:createTransfer | payment, send, write | POST | /v1/transfers | — |
payments:getTransfersById | read | GET | /v1/transfers/{id} | — |
payments:listVendors | read | GET | /v1/vendors | — |
payments:createVendor | write | POST | /v1/vendors | — |
payments:deleteVendor | delete | DELETE | /v1/vendors/{id} | — |
payments:getVendorById | read | GET | /v1/vendors/{id} | — |
payments:updateVendor | write | PUT | /v1/vendors/{id} | — |
team:listCardsByUserId | read | GET | /v2/cards | — |
team:createCard | delete, payment, send, write | POST | /v2/cards | also delete when body.@SpendControlRequest.lock_after_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"}); the family column is the upper bound; base families are payment, send, write; unreadable or invalid effect inputs are refused when the request condition reads them |
team:getCardById | read | GET | /v2/cards/{id} | — |
team:updateCard | delete, payment, send, write | PUT | /v2/cards/{id} | also payment when ((body.@UpdateCardRequest.spend_controls is present ({"missing”: false, “nullable”: true})) and (not (body.@UpdateCardRequest.spend_controls is non-null ({"missing”: false, “nullable”: true})))) or (body.@SpendControlUpdateRequest.spend_limit is present ({"missing”: false, “nullable”: true})) or (body.@Money.amount is present ({"missing”: false, “type”: “integer"})) or (body.@Money.currency is present ({"missing”: false, “nullable”: true, “type”: “string"})) or (body.@SpendControlUpdateRequest.spend_duration is present ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“MONTHLY”, “QUARTERLY”, “YEARLY”, “ONE_TIME"]})) or (body.@SpendControlUpdateRequest.allowed_merchant_details is present ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@SpendControlUpdateRequest.blocked_merchant_details is present ({"missing”: false, “nullable”: true, “type”: “array"})) or (body.@SpendControlUpdateRequest.lock_after_date is present ({"missing”: false, “nullable”: true, “type”: “string"})); also delete when body.@SpendControlUpdateRequest.lock_after_date is non-null ({"missing”: false, “nullable”: true, “type”: “string"}); also send when ((body.@UpdateCardRequest.spend_controls is present ({"missing”: false, “nullable”: true})) and (not (body.@UpdateCardRequest.spend_controls is non-null ({"missing”: false, “nullable”: true})))) or (body.@SpendControlUpdateRequest.spend_limit is present ({"missing”: false, “nullable”: true})) or (body.@SpendControlUpdateRequest.spend_duration is present ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“MONTHLY”, “QUARTERLY”, “YEARLY”, “ONE_TIME"]})) or (body.@SpendControlUpdateRequest.lock_after_date is present ({"missing”: false, “nullable”: true, “type”: “string"})); also write when not (the request body contains only spend_controls.lock_after_date with a non-null string); the family column is the upper bound; base families are none; unreadable or invalid effect inputs are refused when the request condition reads them |
team:lockCard | delete, send | POST | /v2/cards/{id}/lock | — |
team:getCardNumber | read | GET | /v2/cards/{id}/pan | — |
team:emailCardNumber | send, write | POST | /v2/cards/{id}/secure_email | — |
team:terminateCard | delete, send | POST | /v2/cards/{id}/terminate | — |
team:unlockCard | send, write | POST | /v2/cards/{id}/unlock | — |
team:getCompany | read | GET | /v2/company | — |
team:listCostCenters | read | GET | /v2/cost_centers | — |
team:getCostCenterById | read | GET | /v2/cost_centers/{id} | — |
team:listDepartments | read | GET | /v2/departments | — |
team:createDepartment | write | POST | /v2/departments | — |
team:deleteDepartment | delete | DELETE | /v2/departments/{id} | — |
team:getDepartmentById | read | GET | /v2/departments/{id} | — |
team:updateDepartment | write | PUT | /v2/departments/{id} | — |
team:listLegalEntities | read | GET | /v2/legal_entities | — |
team:getLegalEntity | read | GET | /v2/legal_entities/{id} | — |
team:listLocations | read | GET | /v2/locations | — |
team:createLocation | write | POST | /v2/locations | — |
team:deleteLocation | delete | DELETE | /v2/locations/{id} | — |
team:getLocationById | read | GET | /v2/locations/{id} | — |
team:updateLocation | write | PUT | /v2/locations/{id} | — |
team:listTitles | read | GET | /v2/titles | — |
team:createTitle | write | POST | /v2/titles | — |
team:deleteTitle | delete | DELETE | /v2/titles/{id} | — |
team:getTitleById | read | GET | /v2/titles/{id} | — |
team:updateTitle | write | PUT | /v2/titles/{id} | — |
team:listUsers | read | GET | /v2/users | — |
team:createUser | admin, send, write | POST | /v2/users | account-security or privilege changes are refused by default when ((body.@CreateUserRequest.role_name is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) and (not (body.@CreateUserRequest.role_name is one of [“Employee”] ({"missing”: true, “nullable”: true, “type”: “string"})))) (an explicit credential_minting allowance can allow the reviewed request); unreadable or invalid effect inputs are refused when the request condition reads them |
team:addUser | admin, write | POST | /v2/users/create | — |
team:getMe | read | GET | /v2/users/me | — |
team:getUserById | read | GET | /v2/users/{id} | — |
team:updateUser | admin, delete, write | PUT | /v2/users/{id} | account-security or privilege changes are refused by default when ((body.@UpdateUserRequest.role_name is non-null ({"missing”: false, “nullable”: true, “type”: “string"})) and (not (body.@UpdateUserRequest.role_name is one of [“Employee”] ({"missing”: true, “nullable”: true, “type”: “string"})))) (an explicit credential_minting allowance can allow the reviewed request); also delete when body.@UpdateUserRequest.status is one of [“DISABLED”, “ARCHIVED”, “DELETED”] ({"missing”: false, “nullable”: true, “type”: “string”, “valid_values”: [“ACTIVE”, “DISABLED”, “ARCHIVED”, “INACTIVE”, “DELETED"]}); also write when not (Match the whole parsed request body against this reviewed no-reference pure-destruction shape.); the family column is the upper bound; base families are admin; unreadable or invalid effect inputs are refused when the request condition reads them |
transactions:listCardAccounts | read | GET | /v2/accounts/card | — |
transactions:listPrimaryCardStatements | read | GET | /v2/accounts/card/primary/statements | — |
transactions:listAccounts | read | GET | /v2/accounts/cash | — |
transactions:getPrimaryAccount | read | GET | /v2/accounts/cash/primary | — |
transactions:getAccount | read | GET | /v2/accounts/cash/{id} | — |
transactions:listCashStatements | read | GET | /v2/accounts/cash/{id}/statements | — |
transactions:listPrimaryCardTransactions | read | GET | /v2/transactions/card/primary | — |
transactions:listCashTransactions | read | GET | /v2/transactions/cash/{id} | — |
travel:listTrips | read | GET | /v1/trips | — |
travel:getTrip | read | GET | /v1/trips/{trip_id} | — |
travel:listTripBookings | read | GET | /v1/trips/{trip_id}/bookings | allowed; its secret is never stored in a payload capture |
travel:getBooking | read | GET | /v1/trips/{trip_id}/bookings/{booking_id} | allowed; its secret is never stored in a payload capture |
webhooks:listWebhookSubscriptions | read | GET | /v1/webhooks | — |
webhooks:createWebhookSubscription | admin, send, write | POST | /v1/webhooks | delivery address in policy parameter url |
webhooks:listWebhookGroups | read | GET | /v1/webhooks/groups | — |
webhooks:createWebhookGroup | admin, write | POST | /v1/webhooks/groups | — |
webhooks:deleteWebhookGroup | admin, delete | DELETE | /v1/webhooks/groups/{id} | — |
webhooks:getWebhookGroup | read | GET | /v1/webhooks/groups/{id} | — |
webhooks:addWebhookGroupMembers | admin, send, write | POST | /v1/webhooks/groups/{id}/add_members | — |
webhooks:listWebhookGroupMembers | read | GET | /v1/webhooks/groups/{id}/members | — |
webhooks:removeWebhookGroupMembers | admin, delete | POST | /v1/webhooks/groups/{id}/remove_members | — |
webhooks:listWebhookSecrets | read | GET | /v1/webhooks/secrets | allowed; its secret is never stored in a payload capture |
webhooks:deleteWebhookSubscription | admin, delete | DELETE | /v1/webhooks/{id} | — |
webhooks:getWebhookSubscription | read | GET | /v1/webhooks/{id} | — |
webhooks:updateWebhookSubscription | admin, delete, send, write | PUT | /v1/webhooks/{id} | also send when body.@UpdateWebhookSubscriptionRequest.status is one of [“ACTIVE”] ({"missing”: null, “type”: “string”, “valid_values”: [“ACTIVE”, “INACTIVE"]}); also delete when (body.@UpdateWebhookSubscriptionRequest.status is one of [“INACTIVE”] ({"missing”: null, “type”: “string”, “valid_values”: [“ACTIVE”, “INACTIVE"]})) or ((body.@UpdateWebhookSubscriptionRequest.group_id is present ({"missing”: false, “nullable”: true, “type”: “string"})) and (not (body.@UpdateWebhookSubscriptionRequest.group_id is non-null ({"missing”: false, “nullable”: true, “type”: “string"})))); also write when not (Match the whole parsed request body against this reviewed no-reference pure-destruction shape.); the family column is the upper bound; base families are admin; unreadable or invalid effect inputs are refused when the request condition reads them; delivery address in policy parameter url |
auth:authorization_endpoint | admin, send, write | GET | /oauth2/default/v1/authorize | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); served by the provider but absent from its published spec |
auth:token_endpoint | admin, write | POST | /oauth2/default/v1/token | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); served by the provider but absent from its published spec |
auth:userinfo_endpoint | read | GET | /oauth2/default/v1/userinfo | allowed; its secret is never stored in a payload capture; served by the provider but absent from its published spec |
auth:registration_endpoint | admin, send, write | POST | /oauth2/v1/clients | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); account-security or privilege changes are refused by default when ((body.token_endpoint_auth_method is one of [“private_key_jwt”] ({"missing”: false})) and ((body.jwks_uri is nonempty ({"missing”: false})) or (body.jwks.keys is nonempty ({"missing”: false})))) (an explicit credential_minting allowance can allow the reviewed request); also send when (body.frontchannel_logout_uri is present ({"missing”: false})) or (body.jwks_uri is nonempty ({"missing”: false})) or (body.request_uris[*] is nonempty ({"missing”: false})); the family column is the upper bound; base families are admin, write; unreadable or invalid effect inputs are refused when the request condition reads them; served by the provider but absent from its published spec |
auth:jwks_uri | read | GET | /oauth2/default/v1/keys | served by the provider but absent from its published spec |
auth:introspection_endpoint | read | POST | /oauth2/default/v1/introspect | served by the provider but absent from its published spec |
auth:revocation_endpoint | admin, delete | POST | /oauth2/default/v1/revoke | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); served by the provider but absent from its published spec |
auth:end_session_endpoint | admin, delete, send | GET | /oauth2/default/v1/logout | served by the provider but absent from its published spec |
auth:device_authorization_endpoint | admin, write | POST | /oauth2/default/v1/device/authorize | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); served by the provider but absent from its published spec |
auth:pushed_authorization_request_endpoint | admin, write | POST | /oauth2/default/v1/par | allowed; its secret is never stored in a payload capture; served by the provider but absent from its published spec |
auth:authorization_endpoint:post | admin, send, write | POST | /oauth2/default/v1/authorize | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); served by the provider but absent from its published spec |
auth:userinfo_endpoint:post | read | POST | /oauth2/default/v1/userinfo | allowed; its secret is never stored in a payload capture; served by the provider but absent from its published spec |
auth:end_session_endpoint:post | admin, delete, send | POST | /oauth2/default/v1/logout | served by the provider but absent from its published spec |
team:listRoles | read | GET | /v2/roles | — |
Typed provider SDKs
Section titled “Typed provider SDKs”Use the Brex provider SDK for versioned Python and TypeScript operations, with the same scopes, policy, approvals and audit as raw requests.