Deposit Bonus Eligibility

Request (GET)

/gateway/bonus/{version}/{brand_id}/deposit_bonus/eligibility

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’
bonus_code query string true The bonus code the players want to use
payment_method query string true the payment method the player wants to use
amount query decimal true the amount the players wants to deposit

Response

Status 200

{
  "status": "Success",
  "data": {
    "bonus_available": true
  }
}
{
  "status": "Success",
  "data": {
    "bonus_available": false,
    "decline_reasons": [
      [{"reason": "Bonus Inactive", "data": ""}, {"reason": "Limit Period", "data": "5"}],
      [{"reason": "Previous Bonus Required", "data": "Reqbon"}]
    ]
  }
}

Decline Reasons

  • invalid_bonus_code
  • bonus_opt_out
  • pending_withdrawals
  • bonus_inactive
  • date_restriction
  • currency_restriction
  • deposit_amount
  • limit_period
  • approved_withdrawal_amount
  • btag_restriction
  • country_restriction
  • day_restriction
  • unfinished_rounds
  • language_restriction
  • marketing_segment
  • deposit_count
  • payment_method
  • affiliate_id
  • player_balance
  • player_real_balance
  • previous_bonus_required
  • previous_bonus_restriction
  • vip_level
  • vip_segmentation

Status 400

{
  "status": "Error",
  "data": null,
  "message": "invalid input - invalid brand id",
  "userFriendlyMessage": "invalid input - invalid brand id"
}

Status 401

{
  "errMsg": "invalid input - invalid token"
}

Status 500

{
  "status": "Error",
  "data": null,
  "message": "internal server error",
  "userFriendlyMessage": "internal server error"
}