/
v3.0.11Get access

getBonusDetails

The method returns the bonus list for the user by category (Sport, Casino).

Request parameters:

NameDescriptionTypeValuesDefault
freeBonuses
true = sportsbook bonuses, false = casino bonusesbooleantrue / falsefalse

Call example:

getBonusDetails({
  freeBonuses: true
})

Response examples:

{
  code: 0,
  rid: 'd9f2a903',
  data: {
    bonuses: [{
      id: 0,
      partner_bonus_id: 373609,
      source: 1,
      name: 'TestDepositBonusTPM',
      description: 'TestDepositBonusTPM',
      start_date: 1718620860,
      end_date: 1781781060,
      expiration_days: 5,
      wagering_factor: 2,
      deposit_wagering_factor: 2,
      money_requirenments: {
        ada: {
          currency_id: 'ADA',
          min_amount: 100,
          max_amount: 100
        },
        all: {
          currency_id: 'ALL',
          min_amount: 100,
          max_amount: 100
        },
        aoa: {
          currency_id: 'AOA',
          min_amount: 100,
          max_amount: 100
        },
        bch: {
          currency_id: 'BCH',
          min_amount: 100,
          max_amount: 100
        },
        bnb: {
          currency_id: 'BNB',
          min_amount: 100,
          max_amount: 100
        },
        btc: {
          currency_id: 'BTC',
          min_amount: 100,
          max_amount: 100
        },
        dai: {
          currency_id: 'DAI',
          min_amount: 100,
          max_amount: 100
        },
        dog: {
          currency_id: 'DOG',
          min_amount: 100,
          max_amount: 100
        },
        dzd: {
          currency_id: 'DZD',
          min_amount: 100,
          max_amount: 100
        },
        eth: {
          currency_id: 'ETH',
          min_amount: 100,
          max_amount: 100
        },
        eur: {
          currency_id: 'EUR',
          min_amount: 100,
          max_amount: 100
        },
        ftn: {
          currency_id: 'FTN',
          min_amount: 100,
          max_amount: 100
        },
        ltc: {
          currency_id: 'LTC',
          min_amount: 100,
          max_amount: 100
        },
        mbt: {
          currency_id: 'MBT',
          min_amount: 100,
          max_amount: 100
        },
        mth: {
          currency_id: 'MTH',
          min_amount: 100,
          max_amount: 100
        },
        trx: {
          currency_id: 'TRX',
          min_amount: 100,
          max_amount: 100
        },
        tus: {
          currency_id: 'TUS',
          min_amount: 100,
          max_amount: 100
        },
        usc: {
          currency_id: 'USC',
          min_amount: 100,
          max_amount: 100
        },
        usd: {
          currency_id: 'USD',
          min_amount: 100,
          max_amount: 100
        },
        xrp: {
          currency_id: 'XRP',
          min_amount: 100,
          max_amount: 100
        }
      },
      can_accept: true,
      bonus_type: 2,
      amount: 0,
      acceptance_type: 0,
      result_type: 0,
      trigger_type: 1,
      deposit_count: 1
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
bonuses
The list of bonusesarray-
└─
object
└─ id
The id of the bonusnumber-
└─ partner_bonus_id
The id of the partner bonusnumber-
└─ source
The source of the bonusnumber-
└─ name
The name of the bonusstring-
└─ description
The description of the bonusstring-
└─ start_date
The start date of the bonusnumber-
└─ end_date
The end date of the bonusnumber-
└─ expiration_days
The remaining days count before the expiration of the bonusnumber-
└─ wagering_factor
The wagering factor of the bonusnumber-
└─ deposit_wagering_factor
The deposit wagering factor of the bonusnumber-
└─ can_accept
True if the user can accept the bonusbooleantrue / false
└─ bonus_type
The type of the bonus. 1 = SportBonus, 2 = WageringBonus, 3 = ManualBonus, 4 = CashBonus, 5 = FreeSpin, 6 = FreeBet, 7 = BonusMoney, 8 = ClientWageringBonusResponsenumber1, 2, 3, 4, 5, 6, 7, 8
└─ amount
The amount of the bonusnumber-
└─ acceptance_type
The type of acceptance of the bonus. 0 = not claimed, 1 = claimed but has not made a deposit, 2 has done a depositnumber0, 1, 2
└─ result_type
The result type of the bonusnumber-
└─ trigger_type
The trigger type of the bonusnumber-
└─ deposit_count
The deposit count of the usernumber-
└─ money_requirenments
object
└─ [currencyName]
object
└─ currency_id
The Id of the currencystring-
└─ min_amount
The minimum amount of bonus for the currencynumber-
└─ max_amount
The maximum amount of bonus for the currencynumber-