Adds a method to update the metadata for Checkout Sessions
What’s new
Lets you update the metadata of existing Checkout Sessions using the new Update method.
POST / v1 / checkout / sessions /:id
Update the metadata of a Checkout Session object.
Changes
| Endpoint | Change | Resource |
|---|---|---|
| update | Added | 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: 2024-09-30. 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.
