Customers can expect Bet Result push in following structure
Field | Type | Description | Comment |
---|---|---|---|
betId | String | Parter bet id | |
status | String | Bet Resulting status. [WON, LOST, ELIMINATED, CANCELLED, REFUNDED] | |
payout | Decimal | Payout for bet | |
amendment_type | String | Reason for an amendment to bet result [PROTEST_UPHELD, LATE_SCRATCHING, AMENDED_RESULT] | |
promo_payout | Decimal | Promo Payout | |
promo_payout_type | String | Type of promo payout | |
legs | List[LegResult] | List of leg-related data |
LegResult object
Field | Type | Description | Comme |
---|---|---|---|
legId | String | Partner leg id | |
prices | Map<String, String> | Leg prices | |
deduction | List[LegDeduction] | Deductions affecting bet pricing |
LegDeduction object
Field | Type | Description | Comme |
---|---|---|---|
name | String | Reason for deduction | usually horse number |
percentage | Decimal | Percentage of deduction |
{
"betId": "1234",
"status": "WIN",
"payout": 12345.55,
"legs": [
{
"legId": "123",
"prices": {
"*": "1.6"
},
"deduction": [
{
"name": "1",
"percentage": 0.06
},
{
"name": "3",
"percentage": 0.07
}
]
}
]
}
{
"amendment_type": "AMENDED_RESULT",
"betId": "1234",
"status": "WIN",
"payout": 12345.55,
}