Discounts

A discount lowers a product's price. It's either a fixed amount or a percentage:

value_typeSetExample
amount_typeamount5.00 off
percentage_typepercentage, up to 10010% off

Attach a discount to a product with product_discount_id. On a subscription, set discount_for_initial_payment_only to apply it to the first payment only.

To stop using a discount, set is_active to false.