getMaxBet
Returns the maximum bet allowed for the current selection. It provides the maximum stake amount and the unit stake used for the calculation. It is used to validate and cap user stakes in the betslip and to show the maximum allowed bet.
Documentation
Try it now
Request parameters:
Call example:
getMaxBet({
type: 'system',
events: [12345, 67890],
systemMinCount: 2
})Response examples:
{
code: 0,
rid: '158883022192943',
data: {
result: 0,
result_text: null,
details: {
amount: 17021.3,
unit_stake: 8900.2
}
}
}