Breaking changes
New error code for invalid terms of service acceptance in Accounts APIBreaking changes
What’s new
Adds invalid_ as a new error code in the requirements. array in the Accounts API. To learn more, see Account requirements errors.
Impact
The Accounts API now includes invalid_ as a new error code in the requirements. array, providing more specific error reporting for terms of service acceptance issues.
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: 2022-08-01
- 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.