Enhances Checkout for app-to-web purchases
What’s new
Adds the ability to indicate if a Checkout Session is part of an app-to-web purchase. Set the origin_context to mobile_app on the Checkout Session to opt into a checkout flow designed for app-to-web purchases.
Impact
In some countries, you can link to a Stripe-hosted payment page to accept payments from your iOS app. This update allows you to make sure that the Checkout Session renders in a way that’s consistent with and optimized for the mobile browser interface.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| origin_context | Added | Checkout. Session Checkout. Session#create |
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-07-30. 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.
