# GET /v1/expenses/card/{} is deprecated

Brex API deprecated GET /v1/expenses/card/{id} without giving a shutdown date yet.

On May 1, 2025, Brex API announced the deprecation of the GET /v1/expenses/card/{id} endpoint without a shutdown date. Brex API is deprecating Card Expenses endpoints in favor of consolidated Expenses API endpoints. Once retired, calls to this endpoint fail.

## What to use instead

Get an expense with GET /v1/expenses/{id} instead.

- API: Brex API (api.brex.com)
- Kind: Endpoint removal
- Announced: May 1, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v1/expenses/card/{id}`
- Source: [Announcement](https://developer.brex.com/changelog)
- Verified: November 6, 2026, against Brex API's own pages
- Page: https://www.okapi.bot/providers/brex-api/breaking-changes/get-v1-expenses-card-is-deprecated-2/

## Brex API's words

> Expenses API: Deprecated Card Expenses API endpoints in favor of consolidated Expenses API endpoints.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
