Check Reward Status
Allows you to keep a check on the status of each reward tagged to any user at any point in time
Check upon status of any Reward
This API call allows you to check upon the status of any reward at any time.
Use Case
This could be useful when you would like to check upon the reward status, before you go ahead and credit it to the user.
It is recommended that you filter out all rewards marked as Suspicious or Rejected, before proceeding to credit the user (using Redeem Rewards API call)
POST
api.appvirality.com/v2_0/checkrewardstatusapplication/jsonInput i.e. Request
{"apikey":"7ffdda00fd5c4338a9c1a44e00663648","privatekey":"d1e881dc60fa4856be34a44f00d96c9a","rewarddtlid":"797"}Input Params
| Input Params | Description |
|---|---|
| apikey | API Key of the App Get it from Dashboard › App Details |
| privatekey | Private key for API requests Get it from: Dashboard › App Details › Click App Settings › Scroll down to Advanced Settings |
| rewarddtlid | Reward Detail ID |
Response
{"success":true,"rewarddtlid":"797","reward_status":"Suspicious","comment":"Friend has No Email / Invalid Hardware ID","amount":"50","rewardunit":"Coins","statuscode": 1,"message": "Success"}Response Params
| Output Params | Description |
|---|---|
| success | Call Success Response (true/false) |
| rewarddtlid | Reward Detail ID |
| reward_status | Reward status could be any one of these: Approved || Rejected || Suspicious || UnderReview || Rewarded |
| comment | Information regarding the status change if any |
| amount | Amount to be Rewarded |
| rewardunit | Currency Unit of the Reward |
| status code | code based on status of the API call |
| message | Information regarding API call (if relevant) |
Status codes which you will see while using Check Reward Status API
Status codes and description for API responses
| Status Code | Description |
|---|---|
| 0 | No data found for the search criteria |
| 1 | Success |
| 11 | Invalid RewardDetailID |
