Okapi Okapi

/v2/customers/{}/cards* → endpoint removal

Squareupsandbox

Deprecated, no date

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


Calls it hits

  • /v2/customers/{}/cards*

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.

In Squareupsandbox's words

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

Squareupsandbox, Announcement

Facts

API
Squareupsandbox connect.squareupsandbox.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Squareupsandbox's own pages

Questions

When does this change take effect?

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

Do these calls still work?

Yes, they still work: Squareupsandbox has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Squareupsandbox 5

  1. POST /v2/paymentsEndpoint removal Stopped working
  2. POST /mobile/authorization-codeEndpoint removal Stopped working
  3. POST /v2/locations/{}/transactions*Endpoint removal Stopped working
  4. No date /v2/labor/shifts*Endpoint removal Deprecated, no date
  5. No date GET /v2/locations/{}/transactions*Endpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub