Breaking changes
Errors now produce exceptions for unrecognised API parameters Breaking changes
What’s new
Raises exceptions on unrecognised parameters passed to the API instead of silently allowing and ignoring them.
Impact
The API now raises exceptions for unrecognised 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
- 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.
