subscribeToPartnerConfig
The subscribeToPartnerConfig API establishes a real-time WebSocket subscription to receive live updates regarding a specific partner's configuration. It ensures that the client application remains synchronized with the latest betting limits, feature toggles, and currency settings without requiring manual polling.
Documentation
Try it now
Request parameters:
The method works without parameters
Call example:
subscribeToPartnerConfig()Response examples:
{
subid: '1930954895641744099',
data: {
partner: {
'692': {
partner_id: 692,
currency: 'BRL',
set_client_wallet: false,
is_cashout_live: 1,
is_cashout_prematch: 1,
max_selections_in_multiple_bet: 101,
max_odd_for_multiple_bet: 5001,
cashout_percetage: 33,
maximum_odd_for_cashout: 251,
is_counter_offer_available: 1,
sports_book_profile_ids: [1, 2, 3, 5, 6, 7, 8, 9, 10, 26, 31, 33, 37,
38, 39, 40
],
odds_raised_percent: 2,
minimum_offer_amount: 100,
min_bet_stakes: {
BRL: 1
},
min_sub_bet_stakes: {
BRL: 0
},
min_cashout_amount: {
BRL: 0
},
live_max_stake: {
BRL: 50000
},
prematch_max_stake: {
BRL: 50000
},
user_password_min_length: 8,
is_superbet_on_live: false,
is_superbet_on_prematch: true,
tax_type: 0,
tax_integration_type: 0,
price_decimals: 3,
price_round_method: 0,
two_factor_enabled: true,
two_factor_type: 1,
is_trial: false,
integration_type: 8,
single_login: false,
is_two_factor_confirmation: false,
loyalty_bonus_min_exchange_points: 0,
loyalty_bonus_max_exchange_points: 0,
is_loyalty_v2: true,
is_using_loyalty_program: true,
prematch_multiple_disabled: true,
is_freespin_claimable: true,
supported_currencies: ['BRL'],
app_versions: {
'6': '08/02/2023-17:00',
'42': '08/02/2023-17:01'
},
reffrend_client_cats: [1, 2, 3, 5, 6, 10, 33, 38],
sms_code_active_period: 60,
tax_sportIds: null,
supports_child_client: false,
can_edit_email: false,
mult_wallet_currencies: [''],
reg_curns: ['BRL'],
allowed_confirm_types: [],
check_client_credentials_actions: [],
enable_confirm_restrictions: false,
is_telegram_chatbot_support: false,
max_payout: 250200,
child_client_default_currency: 'BRL',
partial_cashout_off_onn: true,
dont_calc_wagering_bonus: true,
bet_builder_enabled: false,
loyalty_rates: [{
currency_id: 'EUR',
conversion_rate: 1000,
point_rate: 1
}, {
currency_id: 'USD',
conversion_rate: 1000,
point_rate: 1
}],
id: 692
}
}
},
hasError: false,
error: '',
rid: 1782321298
}