Add discountsBeta
Reduce the amount charged to a customer by using coupons and promotion codes.
Beta
The Custom Checkout integration is in private beta. To request access, click here.
You can use discounts in Checkout to reduce the amount charged to a customer for one-off payments. Coupons and promotion codes can:
- Apply a discount to an entire purchase subtotal
- Apply a discount to specific products
- Reduce the total charged by a percentage or a flat amount
- Create customer-facing promotion codes on top of coupons to share directly with customers
Coupons and promotion codes![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
A Coupon represents a percent-off or amount-off discount. A Promotion Code represents a customer-redeemable code for a coupon. A single coupon can have multiple promotion code associated to it.
With Custom Checkout, you can either apply a coupon to the session ahead of time or allow your customers to enter promotion codes at checkout.
Create a coupon![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Create coupons in the Dashboard or with the API:
You can choose between a fixed amount discount and a percentage discount by choosing amount_off or percent_off.
If discounting a subscription, you can use the duration and duration_in_months parameters to configure how the coupon applies to subsequent charges in the subscription. The default is a one-time discount.
After creation, only the name of the coupon is editable.