Okapi Okapi

Stripe API POST /v1/charges/{id}/capture endpoint removal

Deprecated, no dateSubscribe to Stripe APIShare

Stripe API deprecated POST /v1/charges/{id}/capture without giving a shutdown date yet.


Calls it hits

  • POST /v1/charges/{id}/capture

What to use instead of these calls

Authorize with a PaymentIntent created with capture_method=manual and capture it with POST /v1/payment_intents/{}/capture.

In Stripe API's words

This method is deprecated and will be removed soon. If your integration uses it, you need to update it to use a different payment flow, such as the Payment Intents API.

Stripe API, Announcement

Facts

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

Questions

When does this change take effect?

Stripe API deprecated POST /v1/charges/{id}/capture without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Stripe API 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 Stripe API 7

  1. No date POST /v1/account_linksParameter removal Deprecated, no date
  2. No date POST /v1/chargesEndpoint removal Deprecated, no date
  3. No date POST /v1/issuing/authorizations/{id}/approveEndpoint removal Deprecated, no date
  4. No date POST /v1/issuing/authorizations/{id}/declineEndpoint removal Deprecated, no date
  5. No date /v1/customers/{id}/cards*Removal Deprecated, no date
  6. No date /v1/sources*Removal Deprecated, no date
  7. No date POST /v1/accountsParameter 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

Get notifications

Subscribe to Stripe API

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

1What to follow

Provider
  • Stripe 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.