entitlements_create_test
Create a test entitlement to simulate that a user or guild owns a SKU, allowing developers to test Discord monetization features.
Instructions
Purpose: Create a test entitlement (dev tool). Lets devs simulate that a user/guild owns a SKU.
Returns: {id, sku_id, application_id, type}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku_id | Yes | SKU to grant | |
| owner_id | Yes | Guild ID (owner_type=1) or User ID (owner_type=2) | |
| owner_type | Yes | 1 = guild, 2 = user | |
| application_id | Yes | Your application/bot ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||