/
Match Settlements

Match Settlements

Bet settlements for a match are sent in the bet_settlement tag and are sent in the following format:

<bet_settlement event_id="match:32165957" product="3" timestamp="1646144904332"> <outcomes> <market id="10"> <outcome id="1" result="0"/> <outcome id="2" result="0"/> <outcome id="3" result="1"/> </market> <market id="20"> <outcome id="1" result="0"/> <outcome id="3" result="1"/> </market> <market id="261" spread="0"> <outcome id="1" result="1" void_factor="1.0"/> <outcome id="3" result="0" void_factor="1.0"/> </market> <market id="261" spread="0.25"> <outcome id="1" result="1" void_factor="0.5"/> <outcome id="3" result="0" void_factor="0.5"/> </market> <market id="382"> <outcome id="1" result="0"/> <outcome id="3" result="1"/> </market> <market id="441"> <outcome id="2145" result="0"/> <outcome id="2146" result="0"/> </market> <market id="442"> <outcome id="1" result="0"/> <outcome id="2" result="1"/> <outcome id="3" result="0"/> </market> <market id="443" spread="0.5"> <outcome id="1" result="1"/> <outcome id="3" result="0"/> </market> <market id="444" spread="2.5"> <outcome id="6" result="0"/> <outcome id="7" result="1"/> </market> <market id="445" spread="0.5"> <outcome id="6" result="1"/> <outcome id="7" result="0"/> </market> <market id="446" spread="1.5"> <outcome id="6" result="0"/> <outcome id="7" result="1"/> </market> <market id="447" spread="1.5"> <outcome id="1" result="0"/> <outcome id="3" result="1"/> </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 attributes specifying the following:

  1. id - indicating the id of the market

  2. spread - the special bet value which indicates the spread of the market. (Not all markets contain the spread)

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

  1. id - indicating the id of the outcome for that market

  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

  • result="1" and void_factor="0.5": Refund half bet and win other half

  • result="0" and void_factor="0.5": Refund half bet and lose other half

 

Related content

Odds And More Pre-Match Feed Documentation
Odds And More Pre-Match Feed Documentation
Read with this
Outright Settlements
Outright Settlements
More like this
Alive Messages
Alive Messages
Read with this
Player Settlements
Player Settlements
More like this
Match Fixture
Match Fixture
Read with this
Goalscorer Combo Settlements
Goalscorer Combo Settlements
More like this