/
Outright Settlements

Outright Settlements

Bet settlements for an outright are sent in the bet_settlement tag and are sent in the following format:

<bet_settlement event_id="outright:121874" product="3" timestamp="1646144904332"> <outcomes> <market id="30"> <outcome id="44" result="1"/> <outcome id="85" result="0"/> <outcome id="22" result="0"/> <outcome id="43" result="0"/> <outcome id="27" result="0"/> <outcome id="33" result="0"/> <outcome id="38" result="0"/> </market> </outcomes> </bet_settlement>

 

Attributes of bet_settlement tag are event_id, product and timestamp.

Tag event_id represents ID of event for which the results are for.

Tag product represents type of feed that message belongs.

Product ID

Product Description

Product Status

Product ID

Product Description

Product Status

3

Pre-match

Available

1

Live odds

Not available

Inside main tag there is the outcomes tag containing bet result data per market.

For each market we create a market tag with attribute id which indicates the type of outright:

Inside the market tag we create the outcome tag. Attributes of that tag are:

  1. id - indicating the id of the competitors/outrcomes

  2. result - indicating if the outcome is won or lost

  3. void_factor - indicating if the outcome is voided

 

  • result="0" and no void_factor: Lose entire bet

  • result="1" and no void_factor: Win entire bet

  • result="0" and void_factor="1.0": Refund entire bet

Related content

Match Settlements
Match Settlements
More like this
Player Settlements
Player Settlements
More like this
Markets List
Markets List
Read with this
Player Bet Settlement
Player Bet Settlement
More like this
Fixture change
Fixture change
Read with this
Bet Settlement
Bet Settlement
More like this