Claim rewards on behalf of the user
POST/api/users/by-id/:userId/rewards/claim
Claim rewards on behalf of the user. The unclaimed confirmed amount must be at least $1.
Request
Path Parameters
Query Parameters
Default value: en
Header Parameters
Partner Id
Client Id
Client Secret
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The link to claim the reward.
- application/json
- Schema
- Example (from schema)
Schema
Link for user to claim the reward
{
"rewardDeliveryLink": "string"
}
Invalid parameters. Possible error codes
-
ERROR_INVALID_PARAMETERS
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}
Authorization error e.g. due to an invalid or missing API keys.
Forbidden. Possible error codes
-
ERROR_NO_PERMISSIONS_TO_RESOURCE
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}
User not found. Possible error codes
-
ERROR_USER_NOT_FOUND
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}
Internal error. Possible error codes
-
INTERNAL_SERVER_ERROR
-
ERROR_MINIMUM_REWARD_THRESHOLD_NOT_MET,
-
ERROR_NO_CONFIRMED_REWARDS,
-
ERROR_CLAIMING_REWARDS
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}