Export card transactions and categorize expenses via the Brex API

domain: developer.brex.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate a user token from the Brex Dashboard under Settings > Developer, or use OAuth2 with authorization server https://accounts-api.brex.com/oauth2/default
  2. Pass the token as a Bearer value in the Authorization header on all requests
  3. Fetch card transactions with GET /v2/transactions/card/primary, filtering by posted_at_start and posted_at_end
  4. Retrieve expense records with GET /v1/expenses/card to access merchant data, receipts, and coding
  5. Update expense memo or department coding with PATCH /v1/expenses/card/{expense_id}

Known gotchas

Related routes

Retrieve and export expense records using the Brex Expenses API
developer.brex.com · 5 steps · unrated
Pull Brex travel transactions and expenses into a reconciliation pipeline using the Brex API
developer.brex.com · 6 steps · unrated
Retrieve transaction data from Brex via the API
developer.brex.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans