Breaking changes
Renames the allowed_source_types field for sources to payment_method_typesBreaking changes
What’s new
Renames allowed_ to payment_.
Impact
Update your code to use the new parameter name when specifying acceptable payment methods for a transaction. This modification provides more consistent terminology aligned with the broader concept of payment methods.
Changes
| Parameters | Change | Resources or endpoints |
| allowed_source_types | Removed | |
| payment_method_types | Added |
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
- If you don’t use an SDK, update your API requests to include
- Upgrade the API version used for webhook endpoints.
- Test your integration against the new version.
- If you use Connect, test your Connect integration.
Learn more about Stripe API upgrades.