API Reference
Routes
Redeem Code

RedeemCode API Reference

⚠️ This route doesn't extend base route.

NameTypeDescription
redeem(code: string, options: RedeemOptions): Promise<RedeemCodeData>functionRedeem a code.

RedeemOptions

Extend the Required<BaseFetchOptions> interface.

OptionTypeDescription
uidstringThe user id.
cookie_tokenstringThe cookie token.