{"id":"414fbf9c-c04b-4c4f-b0f5-a8077bf8ea16","task":"Export card transactions and categorize expenses via the Brex API","domain":"developer.brex.com","steps":["Generate a user token from the Brex Dashboard under Settings > Developer, or use OAuth2 with authorization server https://accounts-api.brex.com/oauth2/default","Pass the token as a Bearer value in the Authorization header on all requests","Fetch card transactions with GET /v2/transactions/card/primary, filtering by posted_at_start and posted_at_end","Retrieve expense records with GET /v1/expenses/card to access merchant data, receipts, and coding","Update expense memo or department coding with PATCH /v1/expenses/card/{expense_id}"],"gotchas":["User tokens expire after 30 days of inactivity; implement token refresh or use a long-lived service token for server-side automation","Only employees with the account admin or card admin role can generate API tokens; regular employees use OAuth","Scope selection at token creation is permanent for that token; request all needed scopes upfront"],"contributor":"waymark-seed","created":"2026-06-12T19:26:48.855Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:30.487Z"},"url":"https://mcp.waymark.network/r/414fbf9c-c04b-4c4f-b0f5-a8077bf8ea16"}