Expenses API: Added booking_id field to expense objects for trip expenses, and added spending_entity and policy as expand options on List Expenses endpoints. Onboarding API: Updated accepted EIN document types to include CP-575 fax sheet.
Onboarding API: Added new endpoint POST /v1/referrals/{id}/process_ein_document for processing delayed EIN documents after upload. Fields API: Added TRAVEL field type to field definitions. Webhooks API: Added ACCOUNTING_RECORD_READY_FOR_EXPORT webhook event with schema and documentation. Transactions API: Added card_transaction_operation_reference_id field to card transaction objects. Team API: Updated secure endpoint URLs to new api.brex.com hostnames.
Expenses API: Reduced maximum limit parameter from 1000 to 100 for the List Expenses endpoints. Updated the API documentation look and feel.
Added support for new API hostnames (api.brex.com); the former hostnames will continue to work for the forseeable future.
Expenses API: Added dashboard_url field to expense objects, providing a direct link to view expenses in the Brex dashboard.
Accounting API (Alpha): Published the Accounting API reference for ERP partners and customers to discover and integrate with accounting data endpoints. Fields API (Beta): Field definition now exposes optional integration_id and new ERP field type to associate ERP fields with specific integrations. Webhooks API: Expanded WebhookEventType to include ACCOUNTING_RECORD_READY_FOR_EXPORT event type (Alpha).
Cards API: Updated spend controls documentation with improved nullable property definitions. Fields API (alpha): Added official Fields API documentation with comprehensive endpoint specifications for field creation, updates, and retrieval operations. Expenses API: Deprecated Card Expenses API endpoints in favor of consolidated Expenses API endpoints.
Expenses API: Added documentation for new payment_posted_at_start and payment_posted_at_end filters in the List expenses endpoints, allowing filtering by when payments were posted.
Expenses API: Updated documentation with latest field additions including improved custom fields documentation. Published new endpoints and added spending_entity documentation to provide better visibility into expense attribution.
Budgets API: Updated spend limit creation to support legal_entity_id and department_id parameters for attributing expenses to specific entities and departments. Team API: Added new endpoint to get a legal entity by ID (GET /v2/legal_entities/{id}). Updated CODEOWNERS file to reflect team-specific ownership of API sections.
Team API: The Get card number endpoint response now includes the cardholder name (holder_name). Expenses API: The List expenses endpoint request now allows filtering on the updated_at timestamp of expenses.
Payments API: New endpoints introduced to create incoming transfers, list bank connections, manage transfers, and manage vendor information. Budgets API: Introduced new spend limit and budgets concepts with new API endpoints (v2). The old Spend Limits (v1) API is considered deprecated.
Team API: The Get card endpoint response now returns a has_been_transferred boolean. The Create card endpoint now accepts an expense policy ID (policy_id). Expenses API: The Expense object now returns an optional address, payment posted date, and trip ID if relevant to the expense.
Webhooks: Updated IP whitelist.
Transactions API: The List cash accounts endpoint response now includes a primary boolean field indicating whether the cash account is the primary cash account for the Brex account. All APIs: Added new header X-Brex-Trace-Id for tracing; previous header X-Datadog-Trace-Id is still in use but X-Brex-Trace-Id is recommended as it is vendor-agnostic. Payments API: Added cancellation_reason to the Transfer response.
Webhooks API: Added beta support for webhooks with documentation on getting started and API reference for supported events. Team API: Added a monthly_available object to responses for both GET and SET methods for user limits.
Payments API: Added ability to do book transfers between Brex Cash accounts via counterparty -> type -> BOOK_TRANSFER in the Create Transfer endpoint.
Transactions API: Added endpoints to read cash transactions and read primary card transactions.
Payments API: Added ability to filter vendors by name (via encoded query param) for the list vendors endpoint.