Export card transactions and categorize expenses via the Brex API

domain: developer.brex.com · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified 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 200+ more routes

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