Skip to main content
Version: 0.37.108

APISubscription

Index

Properties

canceled_at

canceled_at: null | string

When the subscription was canceled

optionalcountry

country?: string

ISO3166-1 alpha-2 country code of the payment source used to purchase the subscription. Missing unless queried with a private OAuth scope.

current_period_end

current_period_end: string

End of the current subscription period

current_period_start

current_period_start: string

Start of the current subscription period

entitlement_ids

entitlement_ids: string[]

List of entitlements granted for this subscription

id

id: string

ID of the subscription

sku_ids

sku_ids: string[]

List of SKUs subscribed to

status

Current status of the subscription

user_id

user_id: string

ID of the user who is subscribed