Examples

There are many ways how the credit reward type can be utilized. Below are a few of them:
  • Trial Days: Grant a user with a number of trial days. One day equals one credit.
  • AI Requests: Grant additional requests as a reward. One request equals one credit.
  • Game Levels: Unlock a number of levels in a game. One level equals one credit.

Withdrawing

As a user utilizes the credits, you need to withdraw them. In your integration use a method from our SDK or call the REST API endpoint to withdraw credits.

Guides

Creating a reward

Let’s create a reward that rewards users with 20 extra AI requests.

1. Type

Select type “Credit"". Reward Type

2. Name and Description

Enter name and description.
Name and Description of the reward are shown on Code Link and Affiliate Form pages if enabled, and also shown to Affiliates in their dashboard if configured as part of the User Rewards.
Reward General

3. Key

The key value is auto-filled based on the entered name and if is precise enough can be kept as is.
The key is a stable and machine-readable string value meant to be used for granting users access to their rewards. Cannot be changed once the reward is saved.

4. Credits

Enter the number of credits attached to the reward. Once the reward is saved, its credits value cannot be changed.
Credits are accumulative and can be granted multiple times to the same user.
Reward Credits

5. Metadata

This allows you to provide extra configuration and metadata making it flexible to meet your specific needs. Must be a valid JSON object.