Rewards

Get the real-time rewards balances for your customers.

Reward Request

Example

curl -X POST https://stagingapi.platform.poweredbytandym.com/custom/rewards
-H 'content-type:application/json'
-H ''apiKey:<YOURPAY_API_KEY>''
-d '{
    "email": “test@example.com”,,
    "phonenumber": “2001001232”
}’'

Reward Success

If rewards exist for that customer you will receive

Reward Success Example

{
  "rewards_balance": 200
}

Reward Failure

If rewards request is not processed , you get a 400 error