APISubscription
Signature
export interface APISubscriptionProperties
10Methods
0No methods.
Properties
id: Snowflake;ID of the subscription
user_id: Snowflake;ID of the user who is subscribed
sku_ids: Snowflake[];List of SKUs subscribed to
entitlement_ids: Snowflake[];List of entitlements granted for this subscription
renewal_sku_ids: Snowflake[] | null;List of SKUs that this user will be subscribed to at renewal
current_period_start: string;Start of the current subscription period
current_period_end: string;End of the current subscription period
status: SubscriptionStatus;Current status of the subscription
canceled_at: string | null;When the subscription was canceled
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.