Versions Compared

Key

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

A player_bet_settlement message is sent when 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 4 for Basketball Player Odds)

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 spread

The spread of the market (Only available when the market contains a spread valueNot Always available)

outcome id

The ID of the outcome

result

The result of the outcome

void

The type of void of the outcome (Only available when the outcome should be voidedNot 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

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 (I)

XML Examples

Player Bet Settlements

Code Block
<?xml version='1.0' encoding='utf-8'?>
<player_bet_settlement event_id="match:131718" product="4" timestamp="16594332194461695889437000">
	<results>
		<market id="2000">
			<player player_id="159665" spread="20.5" outcome_id="6" result="1"/>
			<player player_id="159665" spread="20.5" outcome_id="7" result="0"/>
			<player player_id="159665" spread="19.5" outcome_id="6" result="1"/>
			<player player_id="159665" spread="19.5" outcome_id="7" result="0"/>
			<player player_id="159666" spread="20.5" outcome_id="6" result="0" void_factor="1.0"/>
			<player player_id="159666" spread="20.5" outcome_id="7" result="0" void_factor="1.0"/>
		<market/>
		<market id="2001">
			<player player_id="159665" spread="20.5" outcome_id="6" result="1"/>
			<player player_id="159665" spread="20.5" outcome_id="7" result="0"/>
			<player player_id="159665" spread="19.5" outcome_id="6" result="1"/>
			<player player_id="159665" spread="19.5" outcome_id="7" result="0"/>
			<player player_id="159666" spread="20.5" outcome_id="6" result="0" void_factor="1.0"/>
			<player player_id="159666" spread="20.5" outcome_id="7" result="0" void_factor="1.0"/>
		<market/>
	<results>
<player_bet_settlement/>

...