/v1/sources* → endpoint removal
Deprecated, no date
Stripe has deprecated the Sources API without announcing a shutdown date, with plans to remove support entirely. The change affects calls to /v1/sources* endpoints, which will eventually fail once support is removed.
Calls it hits
/v1/sources*
What to use instead of these calls
Collect and charge payment methods using the Payment Methods API (/v1/payment_methods) along with Payment Intents (/v1/payment_intents) or Setup Intents (/v1/setup_intents), following Stripe's Sources-to-PaymentMethods guide.
In Stripe API's words
We’ve deprecated the Sources API and plan to remove support. If you currently use the Sources API, you must migrate to the Payment Intents and Payment Methods APIs.
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 /v1/sources* 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.
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.