# /v2/customers/{}/cards is deprecated

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

Square has deprecated the /v2/customers/{id}/cards* endpoints without a shutdown date. The deprecation applies to the CreateCustomerCard endpoint, the DeleteCustomerCard endpoint, and the Customer.cards field. Once removed, requests to these endpoints will fail.

## What to use instead

Save cards using the Cards API by calling POST /v2/cards with the customer_id, and disable them with POST /v2/cards/{card_id}/disable. Handle gift cards separately with the Gift Cards API.

- API: Square API (connect.squareup.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/v2/customers/{id}/cards*`
- Source: [Announcement](https://developer.squareup.com/docs/customers-api/what-it-does)
- Verified: November 6, 2026, against Square API's own pages
- Page: https://www.okapi.bot/providers/square-api/breaking-changes/v2-customers-cards-is-deprecated/

## Square API's words

> The CreateCustomerCard endpoint, DeleteCustomerCard endpoint, and Customer.cards field are deprecated.

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