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:
Name | Type | Description |
---|---|---|
id | string | V7 UUID generated when the discount is created. |
name | string | A human-readable name for the discount. |
discounts | array | Array of ordered Discount Periodicities to apply before charging the plan's defined periodicity. |
created_at | integer | Unix timestamp of when the discount was created (in seconds since the Unix epoch). |
updated_at | integer | Unix timestamp of when the discount was last updated (in seconds since the Unix epoch). |