A discount lowers a product's price. It's either a fixed amount or a percentage:
value_type | Set | Example |
|---|---|---|
amount_type | amount | 5.00 off |
percentage_type | percentage, up to 100 | 10% 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.