Okapi Okapi

Square API · Endpoint removal

/v2/customers/{}/cards is deprecated

Deprecated, no date

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

What to use instead of these calls

Save cards with the Cards API (POST /v2/cards with the customer_id, POST /v2/cards/{card_id}/disable) and gift cards with the Gift Cards API.

Calls it hits

  • /v2/customers/{}/cards*

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

Square API, Announcement

Facts

API
Square API connect.squareup.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated

More from Square API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub