Adds permissions parameter to Checkout Sessions
What’s new
Adds the permissions parameter to the Checkout Session object. This allows you to configure a property on the Session to be only be set by the server.
Impact
When permissions.update_shipping_details is set to server_only, all changes to the Session’s shipping details must go through the Update Checkout Session method.
With this change, you can support dynamically updating shipping options in Checkout or perform your own shipping address validation.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| permissions | Added | Checkout. Session#create Checkout. Session |
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 .
Learn more about Stripe API upgrades.