Skip to content

Redemption Codes

The redemption code feature, Jogos platform is responsible for helping developers manage the distribution and usage status of all CDkeys in the game; but is not responsible for managing the distribution of rewards or items within the game.

Create Redemption Codes

Developers generate usable CDkeys themselves; and upload the CDkeys you generated to the developer backend. CDkey types are divided into two:

  • Universal Code: Only input 1 CDkey; all players can use the same code to redeem the same rewards, each player is limited to one use;
  • Unique Code: Need to upload multiple CDkeys; one code, no matter who uses it, can only be used once; Jogos platform will help you manage the quantity of CDkeys you uploaded; allocation status, usage status, and expiration status.

Channels for distributing CDkeys:

  • Players obtain for free: Every user can obtain it on the game details page, and may also have a probability of obtaining it during video ad viewing.
  • Follow platform activities: Users participate in platform activities and obtain conditionally.

Verify Redemption Codes, Distribute Rewards

When logged-in users obtain redemption codes through participating in activities or other methods, Jogos provides the function to copy already obtained CDkeys within the game, users copy and use them in the game.

Redemption Prize Processing
  • Developers need to provide a redemption code input field for users to enter redemption codes and receive rewards.
  • Your game (if there is no game server) recommends that you call this interface to verify whether the user owns it, has used it, or has expired.
  • Based on the interface return results, you process reward distribution in the game, or display prompt messages for abnormal usage.
  • According to the requested CDKey content, your game handles the corresponding distribution of items or rewards itself.
javascript
/**
 * Redeem prizes
 * @param cdkey Redemption code
 */
await window.JOGOS_SDK.game.exchangePrizes(cdkey: string);