Custom daily reward programs
What's new
Daily reward programs accept a new custom value for type, next to basic, seasonal, and
schedule. In a custom program your game decides when each reward day opens and when a new cycle
starts, through the daily_reward.get webhook.
Impact
You can create, update, filter, and copy custom programs through the API. Responses that return a
daily reward program can now contain custom in type.
Changes
| Resource | Change |
|---|---|
| get_daily_rewards | Added custom to the type query parameter and to type in the response |
| create_daily_reward | Added custom to type in the request and response |
| get_daily_reward | Added custom to type in the response |
| update_daily_reward | Added custom to type in the response |
| copy_daily_reward | Added custom to type in the response |
Upgrade
- If you parse
typeinto a closed enum, addcustomso responses with custom programs don't fail. - To run a custom program, handle the new progress fields in the
daily_reward.getwebhook. See the Webhooks changelog for details.
Need help?
Contact our integration team at [email protected]