Discounts

A discount defines a series of Discount Periodicities. Each discount periodicity will be processed in order, and only when all defined discount periodicities are complete will the Account be charged the recurring periodicity defined by the Plan.

Discounts can be applied to multiple plans (through Offers). As such, you should be mindful of how you define discount periodicities (e.g., it is unlikely you will want to connect a discount that sets the price of the first term to $1 with an annual plan).




Attributes:

NameTypeDescription
idstringV7 UUID generated when the discount is created.
namestringA human-readable name for the discount.
discountsarrayArray of ordered Discount Periodicities to apply before charging the plan's defined periodicity.
created_atintegerUnix timestamp of when the discount was created (in seconds since the Unix epoch).
updated_atintegerUnix timestamp of when the discount was last updated (in seconds since the Unix epoch).