Breaking changes
Adds new decline codes to the SetupIntent API Breaking changes
What’s new
Adds the following decline codes to the SetupIntent APIs:
- setup _ intent _ setup _ attempt _ expired
- payment _ method _ customer _ decline
- payment _ method _ provider _ timeout
- payment _ method _ not _ available
- payment _ method _ provider _ decline
Impact
Lets you accurately identify additional reasons for SetupIntent declines, improving error handling.
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-11-15
- 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.
