Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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

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

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.