Apply couponsBêta
Apply coupons when creating a Checkout Session.
Version bêta privée
The Custom Checkout integration is in private preview. To request access, click here.
You can create a Checkout Session with an applied discount by passing the coupon ID in the coupon
parameter of the discounts array. You can add only one coupon or promotion code to a Checkout Session.