Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A player_bet_settlement message is sent when a new result in the player settlements for a fixture is are published. This message includes the following attributes:

 

XML Attributes

NAME

DESCRIPTION

event_id

The ID of the event

(Match or Outright)

product_id

The ID of the product

(In this case ID 5 for Motorsports)

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

spreadThe spread of the market (Only available when the market contains a spread value

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 (

Only available when the outcome should be voided

Not always available)

 

Result IDs

ID

Void

DESCRIPTION

0

This indicates that the outcome is Lost

1

This

idicates

indicates that the outcome is Won

0

1.0

This indicates that the outcome should be Voided

 

To resend the results player settlements in the queue you can use the following POST API.

POST - Bet Settlement

XML Examples

...

Player Bet Settlements

Code Block
<?xml version='1.0' encoding='utf-8'?>
<bet<player_bet_settlement productevent_id="5match:131718" eventproduct_id="match:1317184" timestamp="16727445451695889437000">
	<results><settlements>
		<market id="2000">
			<player player_id="3159665" specifiers="spread="18.5"20.5" outcome_id="6" result="1"/>
			<player player_id="159665" specifiers="spread=20.5" outcome_id="7" result="0"/>
			<outcome <player player_id="159665" specifiers="spread=19.5" outcome_id="6" result="1"/>
			<outcome <player player_id="159665" specifiers="spread=19.5" outcome_id="7" result="0"/>
		</market>
	</results>
</bet_settlement>

Outright Results

Code Block
<?xml version='1.0' encoding='utf-8'?>
<bet_settlement product_id="5" event_id="outright:131728" timestamp="1672745540">
	<results>	<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="101"2001">
			<player player_id="159665" specifiers="spread=20.5" outcome_id="6" result="1"/>
			<outcome <player player_id="159665" specifiers="spread=20.5" outcome_id="400000007" result="0"/>
			<outcome <player player_id="159665" specifiers="spread=19.5" outcome_id="400000016" result="1"/>
			<outcome <player player_id="159665" specifiers="spread=19.5" outcome_id="7" result="0"/>
			<player player_id="159666" specifiers="spread=20.5" outcome_id="400000046" result="0" void_factor="1.0"/>
			<outcome <player player_id="159666" specifiers="spread=20.5" outcome_id="400000027" result="0" void_factor="1.0"/>
		<<market/market>>
	</results>
</odds_change><settlements>
<player_bet_settlement/>