Cashback Eligibility
Request check (GET)
/gateway/financials/{version}/check/cashback/eligibility/{brand_id}
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | int | true | none |
| X-Auth-Token | header | string | true | header received from ‘Login’ |
Response
Status 200
{
"status": "Success",
"data": {
"eligible_deposit": 580,
"base_cashback_amount": 29,
"cashback_amount": 72.5,
"vip_level": "Platinum",
"minimum_cashback_amount": 20,
"maximum_balance": 1,
"decline_reasons": [
"Cashback amount is less than minimum required",
"Player balance is high"
],
"bonus_template_name": "abc",
"eligible": false
}
}{
"status": "Success",
"data": {
"eligible_deposit": 580,
"base_cashback_amount": 29,
"cashback_amount": 72.5,
"vip_level": "Platinum",
"minimum_cashback_amount": 20,
"maximum_balance": 1,
"decline_reasons": [],
"bonus_template_name": "abc",
"eligible": true
}
}Decline Reasons
- Cashback amount is less than minimum required
- Player balance is high
- Player has pending withdrawal
- Player has open round
Status 400
{
"status": "Error",
"data": null,
"message": "invalid input - invalid brand id",
"userFriendlyMessage": "invalid input - invalid brand id"
}Status 500
{
"status": "Error",
"data": null,
"message": "internal server error",
"userFriendlyMessage": "internal server error"
}Request Claim (POST)
/gateway/bonus/{version}/cashback/eligibility/{brand_id}
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | int | true | none |
| X-Auth-Token | header | string | true | header received from ‘Login’ |
Response
Status 200
{
"status": "Success",
"data": {
"refId": 1825996,
"msg": ""
}
}Status 400
{
"status": "Error",
"data": null,
"message": "player is not eligible for cashback",
"userFriendlyMessage": "player is not eligible for cashback"
}Status 500
{
"status": "Error",
"data": null,
"message": "internal server error",
"userFriendlyMessage": "internal server error"
}