Okapi Okapi

Circle API POST /v1/payments/{id}/cancel endpoint removal

Stopped workingSubscribe to Circle APIShare

On April 3, 2025, the POST /v1/payments/{id}/cancel endpoint was removed. Calls made to this endpoint fail after that date. The change affects requests sent to api.circle.com using this path.


Calls it hits

  • POST /v1/payments/{id}/cancel

What to use instead of these calls

Take crypto deposits with payment intents, and expire one using POST /v1/paymentIntents/{id}/expire.

In Circle API's words

The following endpoints were deprecated and removed from the Crypto Deposits API:

Circle API, Announcement

Facts

API
Circle API api.circle.com
Kind
Endpoint removal
Announced
April 3, 2025
Takes effect
April 3, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Circle API's own pages

Questions

When does this change take effect?

Calls to POST /v1/payments/{id}/cancel on Circle API stopped working on April 3, 2025.

What happens to calls after April 3, 2025?

They have failed since April 3, 2025.

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 Circle API 5

  1. POST /v1/paymentsEndpoint removal Stopped working
  2. POST /v1/payments/{id}/captureEndpoint removal Stopped working
  3. POST /v1/payments/{id}/refundEndpoint removal Stopped working
  4. /v1/cards*Removal Stopped working
  5. No date /v1/notifications/subscriptions*Endpoint removal Deprecated, no date

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Circle API

Hear about each breaking change Circle API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Circle API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.