Redeeming Rewards

Reward Redeeming API

Don't forget to replace the following placeholders with your own values when running the commands:

  • __API_KEY__  - your api key
  • __REWARD_ID__  - id of the reward to be redeemed

Redeem a reward

curl -X PUT \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer __API_KEY__" \
    -d '{"is_redeemed": true}' \ 
    "http://api.referralmagic.co/rewards/__REWARD_ID__"

Still need help? Contact Us Contact Us