Skip to content

Commit 34a2f73

Browse files
authored
Task: Add Subscription.Status Hyperlink (#8458)
1 parent 845fcaa commit 34a2f73

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

developers/resources/subscription.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ Subscriptions in Discord represent a user making recurring payments for at least
1010

1111
## Subscription Object
1212

13-
| Field | Type | Description |
14-
|----------------------|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
15-
| id | snowflake | ID of the subscription |
16-
| user_id | snowflake | ID of the user who is subscribed |
17-
| sku_ids | array of snowflakes | List of SKUs subscribed to |
18-
| entitlement_ids | array of snowflakes | List of entitlements granted for this subscription |
19-
| renewal_sku_ids | ?array of snowflakes | List of SKUs that this user will be subscribed to at renewal |
20-
| current_period_start | ISO8601 timestamp | Start of the current subscription period |
21-
| current_period_end | ISO8601 timestamp | End of the current subscription period |
22-
| status | SubscriptionStatus | Current status of the subscription |
23-
| canceled_at | ?ISO8601 timestamp | When the subscription was canceled |
24-
| 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. |
13+
| Field | Type | Description |
14+
|----------------------|--------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
15+
| id | snowflake | ID of the subscription |
16+
| user_id | snowflake | ID of the user who is subscribed |
17+
| sku_ids | array of snowflakes | List of SKUs subscribed to |
18+
| entitlement_ids | array of snowflakes | List of entitlements granted for this subscription |
19+
| renewal_sku_ids | ?array of snowflakes | List of SKUs that this user will be subscribed to at renewal |
20+
| current_period_start | ISO8601 timestamp | Start of the current subscription period |
21+
| current_period_end | ISO8601 timestamp | End of the current subscription period |
22+
| status | [SubscriptionStatus](/developers/resources/subscription#subscription-statuses) | Current [status](/developers/resources/subscription#subscription-statuses) of the subscription |
23+
| canceled_at | ?ISO8601 timestamp | When the subscription was canceled |
24+
| 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. |
2525

2626
The start of a subscription is determined by its ID. When the subscription renews, its current period is updated.
2727

0 commit comments

Comments
 (0)