Bet settlements for a match are sent in the bet_settlement tag and are sent in the following format:
...
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.
...
For each market we create a market tag with attributes specifying the following:
id - indicating the id of the market
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:
id - indicating the id of the outcome for that market
result - indicating if the outcome is won or lost
void_factor - indicating if the outcome is voided
...