APISubscription

export interface APISubscription
export interface APISubscription
https://discord.com/developers/docs/resources/subscription#subscription-object
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.
current_period_end:string
End of the current subscription period
current_period_start:string
Start of the current subscription period
entitlement_ids:Snowflake[]
List of entitlements granted for this subscription
ID of the subscription
sku_ids:Snowflake[]
List of SKUs subscribed to
Current status of the subscription
user_id:Snowflake
ID of the user who is subscribed