Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »

A player_bet_settlement message is sent when the player settlements for a fixture is 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 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 value)

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 voided)

 

Result IDs

ID

Void

DESCRIPTION

0

This indicates that the outcome is Lost

1

This idicates that the outcome is Won

0

1

This indicates that the outcome should be Voided

 

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

POST - Bet Settlement (I)

XML Examples

Player Bet Settlements

<?xml version='1.0' encoding='utf-8'?>
<player_bet_settlement event_id="match:131718" product="4" timestamp="1659433219446">
	<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/>

  • No labels