All twins

Brex

live · conformance passing

Models seven of Brex's APIs — the company and its team; cards, their lock and terminate lifecycle and their test-range numbers; budgets, spend limits and the legacy v1 spend limits, with balances projected from card spend; card and cash accounts, their transactions and statements; vendors and transfers through approval to processing; card expenses, their memos and their receipts uploaded to pre-signed URIs the container serves; custom fields and their values; and the accounting records Brex pushes to a ledger — along with Brex's per-operation scopes, its required Idempotency-Key on money movement, and its two error envelopes.

Category
Spend management
Environment key
bxt_…
Verified against
https://developer.brex.com/_spec/openapi/team_api.yaml 76616101e54a7c0f3f0993b2dd6b7aa1dc73b123cf9b903eaf7b36e80f6f8558, https://developer.brex.com/_spec/openapi/transactions_api.yaml 1fa24713033c1228ca0495ddeec5b7270cfb177703e3230eaa68df589446b5fc, https://developer.brex.com/_spec/openapi/payments_api.yaml a54432c16ba31160c632f1075a88ac8ba24d95c4a6b0716c34170d9b2566daaa, https://developer.brex.com/_spec/openapi/expenses_api.yaml 83302fc5e4a870565821ac2668dcc0150b1fd972a0e88d7a553a393df7568d3e, https://developer.brex.com/_spec/openapi/budgets_api.yaml e93b1cd07aaf86d8f5191bf6fafc825aa37bd86e0af6d4d48c0af6c870d19dbf, https://developer.brex.com/_spec/openapi/fields_api.yaml b1ba15754f284029471b20e01facabbbb72f27d8db1427a49ad2670fefa03725, https://developer.brex.com/_spec/openapi/accounting_api.yaml 19746ae84d48a83212bdb4c6c12897d0d01180d9b18b85e106eff7d175ac2770
Replaces
A real Brex account whose cards, limits and cash an agent can move

What it models

Records your code can read, write and edit for the life of the environment. A route the twin does not model returns a provider-shaped refusal rather than a plausible response.

  • companies
  • users
  • departments
  • locations
  • cards
  • budgets
  • spend_limits
  • budget_programs
  • legacy_spend_limits
  • card_accounts
  • card_transactions
  • card_statements
  • cash_accounts
  • cash_transactions
  • cash_statements
  • vendors
  • transfers
  • expenses
  • receipts
  • receipt_uploads
  • fields
  • field_values
  • secure_emails
  • accounting_integrations
  • accounting_records
  • tokens
  • idempotency_keys

Verified in CI against

  • openapihttps://developer.brex.com/_spec/openapi/team_api.yaml76616101e54a7c0f3f0993b2dd6b7aa1dc73b123cf9b903eaf7b36e80f6f8558
  • openapihttps://developer.brex.com/_spec/openapi/transactions_api.yaml1fa24713033c1228ca0495ddeec5b7270cfb177703e3230eaa68df589446b5fc
  • openapihttps://developer.brex.com/_spec/openapi/payments_api.yamla54432c16ba31160c632f1075a88ac8ba24d95c4a6b0716c34170d9b2566daaa
  • openapihttps://developer.brex.com/_spec/openapi/expenses_api.yaml83302fc5e4a870565821ac2668dcc0150b1fd972a0e88d7a553a393df7568d3e
  • openapihttps://developer.brex.com/_spec/openapi/budgets_api.yamle93b1cd07aaf86d8f5191bf6fafc825aa37bd86e0af6d4d48c0af6c870d19dbf
  • openapihttps://developer.brex.com/_spec/openapi/fields_api.yamlb1ba15754f284029471b20e01facabbbb72f27d8db1427a49ad2670fefa03725
  • openapihttps://developer.brex.com/_spec/openapi/accounting_api.yaml19746ae84d48a83212bdb4c6c12897d0d01180d9b18b85e106eff7d175ac2770

Live · console.twinbay.ai

Start with one base URL.

Create an environment and point your existing SDK at the hostname it gives you. The environment logs each request your agent makes, and you can edit any record it holds.

Start building

An environment in under a minute, no card required. Twinbay is free for academic researchers.