The Subscription Object
Subscription object containing the data on a subscription duration, type, and other subscription details as shown below.
Field | Type | Description |
---|---|---|
period_duration | string | Subscription period, specified in ISO 8601 format. |
started | timestamp | Initial transaction date. For a subscription with a trial period, the trial start date. |
current_period_start | timestamp | Start of the current subscription period. |
current_period_end | timestamp | End of the current subscription period that the subscription has been invoiced for. |
current_period_type | string | Possible values: |
renew_state | string | A renewal state of the product. It can have the following values: |
object | string | The value is subscription. String representing the object’s type. |