Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Removes the subscription data parameter from the Create Checkout Session endpoint


Breaking changes

Removes the subscription data parameter from the Create Checkout Session endpoint Breaking changes

What’s new

Removes the subscription_data[coupon] parameter from the Create Checkout Session endpoint. Use the discounts parameter instead.

Impact

Lets you apply discounts to Checkout Sessions using the discounts parameter, instead of the previously available subscription_data[coupon] parameter. This provides a more generic way to handle discounts, rather than being limited to just coupons.

Upgrade

  1. View your current API version in Workbench.
  2. 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: 2022-08-01
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?