Player Bet Settlement
A player_bet_settlement message is sent when the player settlements for a fixture are published. This message includes the following attributes:
Â
XML Attributes
NAME | DESCRIPTION |
---|---|
event_id | The ID of the event |
product_id | The ID of the product |
timestamp | The date & time of when the message was created (UTC) |
market id | The ID of the market |
player id | The ID of the player |
market specifiers | A | separated list of key=value-pairs. These are further specifiers for the market such as Spread. (Not always available) |
outcome id | The ID of the outcome |
result | The result of the outcome |
void_factor | The type of void of the outcome (Not always available) |
Â
Result IDs
ID | Void | DESCRIPTION |
---|---|---|
0 | Â | This indicates that the outcome is Lost |
1 | Â | This indicates that the outcome is Won |
0 | 1.0 | This indicates that the outcome should be Voided |
Â
To resend the player settlements in the queue you can use the following POST API.
Â
XML Examples
Player Bet Settlements
<?xml version='1.0' encoding='utf-8'?>
<player_bet_settlement event_id="match:131718" product_id="4" timestamp="1695889437000">
<settlements>
<market id="2000">
<player player_id="159665" specifiers="spread=20.5" outcome_id="6" result="1"/>
<player player_id="159665" specifiers="spread=20.5" outcome_id="7" result="0"/>
<player player_id="159665" specifiers="spread=19.5" outcome_id="6" result="1"/>
<player player_id="159665" specifiers="spread=19.5" outcome_id="7" result="0"/>
<player player_id="159666" specifiers="spread=20.5" outcome_id="6" result="0" void_factor="1.0"/>
<player player_id="159666" specifiers="spread=20.5" outcome_id="7" result="0" void_factor="1.0"/>
<market/>
<market id="2001">
<player player_id="159665" specifiers="spread=20.5" outcome_id="6" result="1"/>
<player player_id="159665" specifiers="spread=20.5" outcome_id="7" result="0"/>
<player player_id="159665" specifiers="spread=19.5" outcome_id="6" result="1"/>
<player player_id="159665" specifiers="spread=19.5" outcome_id="7" result="0"/>
<player player_id="159666" specifiers="spread=20.5" outcome_id="6" result="0" void_factor="1.0"/>
<player player_id="159666" specifiers="spread=20.5" outcome_id="7" result="0" void_factor="1.0"/>
<market/>
<settlements>
<player_bet_settlement/>
Â
Â