rewardStyle API example code