Callback Api
Customers can expect Bet Decision callback in following structure
Field | Type | Description | Comment |
---|---|---|---|
betId | String | Parter bet id | |
status | String | The recommendation type. [ACCEPTED, REJECTED, PRICE_CHANGED, PARTIAL] | |
limit | String | The liability limit for the customer for the bet | Can be different based on price bands etc… |
partialAmount | String | The amount recommended to bet if the status is PARTIAL | |
reason | String | Descripted string about what happened | |
reasonCode | String | Reason code for unsuccessful bet | Mostly will return code 09 - Overridden by intercept |
dividends | String | Dividends for the whole bet on which decision was made | Mostly useful to aknowledge for same race multies |
updatedPrices | Map[String, String] | New prices that changed before the bet has been submitted. |
{
"betId": "b1",
"status": "ACCEPTED",
"limit": 2180.024,
"liabilityLeft": 2180.024,
"partialAmount": 55.0,
"reason": "Bet accepted",
"dividends": 5.0,
"updatedPrices": {}
}