# The Cards API is deprecated

Stripe API deprecated /v1/customers/{id}/cards* without giving a shutdown date yet.

## What to use instead

Save and list cards as PaymentMethods (/v1/payment_methods, /v1/customers/{}/payment_methods), collected with Setup Intents.

- API: Stripe API (api.stripe.com)
- Kind: Removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/v1/customers/{id}/cards*`
- Source: [Announcement](https://docs.stripe.com/api/cards)
- Verified: November 6, 2026, against Stripe API's own pages
- Page: https://www.okapi.bot/providers/stripe-api/breaking-changes/the-cards-api-is-deprecated/

## Stripe API's words

> This API is deprecated. Use the PaymentMethods API instead.

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