Coupons
Users can receive the following rewards when a coupon is redeemed:
- virtual currency packages
- game keys
- virtual items
- bundles
Note
Rewards may include one or more items of the same type (for example, 2 different virtual items).
To implement a coupon campaign:
- Set up a campaign with coupons.
- In the application UI, implement the following elements:
- field to enter a coupon code
- coupon reward display form
- button to redeem coupon code
- Implement the coupon logic using the following methods of the Store library:
getCouponRewards
— returns a list of items that can be credited to the user when the coupon is redeemed.getCouponRewardsByCode
— redeems the coupon code and delivers a reward to the user in one of the following ways:- to their inventory (virtual items, virtual currency packages, or bundles)
- via email (game keys)
- to the entitlement system (game keys)
SDK reference documentation
Learn more about SDK methods and its parameters.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.