Discount
Server-side response object returned directly or within a successful result object from the following requests:
Attributes
amount
StringThe discount amount.
createdAt
StringThe date/time the discount was created. Returned in UTC.
currentBillingCycle
NumberThe discount's current billing cycle. It is incremented each time the discount is successfully applied. Its value will always be null for discounts that are not attached to a subscription.
description
StringA description of the discount. Its value will always be null for discounts that are attached to a subscription.
id
StringThe discount identifier. Length and format of gateway-generated tokens and IDs may change at any time.
kind
StringThe value that defines whether the modification being applied to a plan or subscription is an add-on or a discount. Its value will always be null for discounts that are attached to a subscription.
name
StringThe name of the discount.
neverExpires
boolA value indicating whether a discount's billing cycle is set to never expire instead of running for a specific number of billing cycles.
numberOfBillingCycles
NumberSpecifies the number of billing cycles of the discount.
quantity
NumberThe number of times this particular discount is applied to the subscription. Its value will always be null for discounts that are not attached to a subscription.
updatedAt
StringThe date/time the discount was last updated. Returned in UTC.