Checkout Sessions now group customer information in one field
What’s new
Adds the collected_information object to group information about the customer collected within the Checkout Session.
Impact
The shipping_details property is now available in the collected_information object. This enables support for dynamically updating shipping options in Checkout.
We plan to remove the legacy shipping_details field from the Checkout Session resource in a future release. To prepare, update your integration to replace any references to shipping_details with collected_information.shipping_details.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| collected_information | Added | Checkout.Session#update 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-02-24. acacia
- 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.
