Adds new error code for failures with the Setup Intents API using mobile wallets
What’s new
When the confirmation of a SetupAttempt fails because the presented payment method is a mobile wallet, the response now includes a setup_intent_mobile_wallet_unsupported error code.
Impact
You can now verify with an error code if the confirmation of a SetupIntent failed because the presented payment method is a mobile wallet.
Changes
| Value | Change | Enums |
|---|---|---|
| setup_intent_mobile_wallet_unsupported | Added | Invoice. last_finalization_error. code PaymentIntent. last_payment_error. code SetupAttempt. setup_error. code + 2 more SetupIntent. last_setup_error. code StripeError. code |
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: 2025-03-31. basil
- 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.
