What are in-product rewards?
An in-product reward is a non-monetary reward that can be used to incentivize users within the product itself. Instead of rewarding a referrer with cash, you can reward successful referrals with free credits for your product. You then make credits redeemable for discounts or to unlock other functionality within your product.How does it work?
- Referrers will see a campaign in the Cello Referral Component that shows them what they can earn per referral. (e.g., Earn up to 100 extra credits per referral)
- If a referral code (
ucc) was successfully used and attributed Cello will calculate a reward based on the agreed terms and inform the referrer about it. - Cello provides a Rewards API to obtain the latest rewards for all your referrers.
- You process the rewards for your users.
Rewards API
Domain base URL’s
Use the Domain base URL that corresponds with the environment.Authenticating the API
To use the code validation API, you need to authenticate the request using anaccessTokenwhich is passed in Authorization request header
To obtain them, you will need the accessKeyId and secretAccessKey, which you can find in your Cello Portal.
Obtain accessToken & refreshToken
Refresh accessToken
Receive the rewards (GET)
Once you have theaccessToken, use the following request to get the latest rewards.
Filtering
You can filter by certain parameters to adopt the response based on your needs.
Example request url with a filter: