Breaking changes
Errors now produce exceptions for unrecognized API parametersBreaking changes
What’s new
Raises exceptions on unrecognized parameters passed to the API instead of silently allowing and ignoring them.
Impact
The API now raises exceptions for unrecognized parameters, improving error handling and preventing silent failures.
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: 2011-06-21
- 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.
- In Workbench, perform the upgrade. You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.