Removes the subscription data parameter from the Create Checkout Session endpointBreaking changes
What’s new
Removes the subscription_ 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_ parameter. This provides a more generic way to handle discounts, rather than being limited to just coupons.