Subscription object
Subscription structure
ID of the subscription. The start of a subscription is determined by its ID.
ID of the user who is subscribed.
List of SKUs subscribed to.
List of entitlements granted for this subscription.
List of SKUs that this user will be subscribed to at renewal.
null if the subscription will not renew.Start of the current subscription period.
End of the current subscription period. When the subscription renews, its current period is updated.
When the subscription was canceled. Set when a user cancels, causing the subscription to enter the
ENDING status.ISO 3166-1 alpha-2 country code of the payment source used to purchase the subscription. Missing unless queried with a private OAuth scope. Optional field.
Subscription example
Subscription statuses
| Type | Value | Description |
|---|---|---|
| ACTIVE | 0 | Subscription is active and scheduled to renew. |
| ENDING | 1 | Subscription is active but will not renew. |
| INACTIVE | 2 | Subscription is inactive and not being charged. |
ACTIVE outside its current period or INACTIVE within its current period. Examples:
- While a failed payment is being retried, the subscription remains
ACTIVEuntil it succeeds or the payment is determined to be unrecoverable. - A refund or chargeback during the current period makes the subscription
INACTIVE.
List SKU subscriptions
GET /skus/{sku.id}/subscriptionsQuery string params
List subscriptions before this ID.
List subscriptions after this ID.
Number of results to return (1–100).
User ID for which to return subscriptions. Required except for OAuth queries.
Get SKU subscription
GET /skus/{sku.id}/subscriptions/{subscription.id}