Removes the subscription data parameter from the Create Checkout Session endpointBreaking changes
What’s new![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Removes the subscription_
parameter from the Create Checkout Session endpoint. Use the discounts
parameter instead.
Impact![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Lets you apply discounts to Checkout Sessions using the discounts
parameter, instead of the previously available subscription_
parameter. This provides a more generic way to handle discounts, rather than being limited to just coupons.