Skip to main content
Module

x/discord_api_types/payloads/v9/monetization.ts>APISubscription

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APISubscription
import { type APISubscription } from "https://deno.land/x/discord_api_types@0.37.100/payloads/v9/monetization.ts";

Properties

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

current_period_start: string

Start of the current subscription period

current_period_end: string

End of the current subscription period

Current status of the subscription

canceled_at: string | null

When the subscription was canceled

optional
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.