DiscordSubscription
Documentation / @discordeno/types / DiscordSubscription
Interface: DiscordSubscription
Defined in: discord/subscription.ts:4
https://docs.discord.com/developers/resources/subscription#subscription-object
Properties
canceled_at
canceled_at:
string|null
Defined in: discord/subscription.ts:22
When the subscription was canceled
country?
optionalcountry?:string
Defined in: discord/subscription.ts:24
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
Defined in: discord/subscription.ts:18
End of the current subscription period
current_period_start
current_period_start:
string
Defined in: discord/subscription.ts:16
Start of the current subscription period
entitlement_ids
entitlement_ids:
string[]
Defined in: discord/subscription.ts:12
List of entitlements granted for this subscription
id
id:
string
Defined in: discord/subscription.ts:6
ID of the subscription
renewal_sku_ids
renewal_sku_ids:
string[] |null
Defined in: discord/subscription.ts:14
List of SKUs that this user will be subscribed to at renewal
sku_ids
sku_ids:
string[]
Defined in: discord/subscription.ts:10
List of SKUs subscribed to
status
status:
DiscordSubscriptionStatus
Defined in: discord/subscription.ts:20
Current status of the subscription
user_id
user_id:
string
Defined in: discord/subscription.ts:8
ID of the user who is subscribed