Breaking changes
Renames the save_source_to_customer field for sources to save_payment_method Breaking changes
What’s new
Renames save_source_to_customer to save_payment_method.
Impact
Update your code to use the new parameter name when specifying whether to save a payment method to a customer. This modification provides more generalized terminology that could accommodate various types of payment methods.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| save_source_to_customer | Removed | PaymentIntent#confirm PaymentIntent#create PaymentIntent#update |
Upgrade
- View your current API version in Workbench.
- If you use an SDK, upgrade to the corresponding SDK version for this API version.
- If you don’t use an SDK, update your API requests to include Stripe-Version: 2019-02-11
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
