RedeemCode
API Reference
⚠️ This route doesn't extend base route.
Name | Type | Description |
---|---|---|
redeem(code: string, options: RedeemOptions): Promise<RedeemCodeData> | function | Redeem a code. |
RedeemOptions
Extend the Required<BaseFetchOptions>
interface.
Option | Type | Description |
---|---|---|
uid | string | The user id. |
cookie_token | string | The cookie token. |