This is an example of a 4-fold accumulator with two payout-modifier selections referring to different events. The ticket contains only one bet (Bets array length = 1), which further contains four selections (Selections array length = 4).
Two selections are of type "payout-modifier" and contain the reference to be used in the settlement request if any of the selections meet the payout-modifier criteria defined on the client's platform. Other selections are regular UF selections that will be settled according to feed settlement messages.
Ticket Placement Request
{
"operatorId": 9985,
"content": {
"type": "ticket",
"ticketId": "Ticket_6230",
"bets": [
{
"selections": [
{
"type": "uf",
"productId": "3",
"eventId": "sr:match:14938771",
"marketId":
Ticket Placement Response
{
The settlement for selections eligible for payout-modifier is done using the payout-modifier settlement request (below). It contains a reference to the corresponding payout-modifier promotion. When such a message is received, all tickets containing that particular payout-modifier option (tickets are found by matching reference) would be updated to reflect the received settlement. It is important to note that payout-modifier settlement will be applied only if the resulting odds would be more favorable to the punter.
If the ticket is fully settled and the payout-modifier hasn't been received within 12 hours (to be defined) of the ticket settlement, no further early payout "corrections" will be accepted.
Payout modifier can change the result of the underlying selection (result is of type "#/$defs/sel-result"):
Payout Modifier Settlement Request - Result
{
"operatorId": 9985,
"content": {
"type": "payout-modifier-settlement",
"settlementId": "SETL3134413498778",
"reference": "eSJHupTuWfoLS6ZsKPj2NB43ir4DHZMI",
"settlement": {
"type":
Payout Modifier Settlement Response
{
"content": {
"type": "payout-modifier-settlement-reply",
"settlementId": "SETL3134413498778",
"signature": "mHFX4dXMq4b3aqnVbgiFL06LlHZTU4pj7Qn8rYnmLgA=",
"status": "accepted",
"reference": "eSJHupTuWfoLS6ZsKPj2NB43ir4DHZMI,
"code": 0,
or the effective odds of the underlying selection (odds are of type "#/$defs/odds-fixed"):
Payout Modifier Settlement Request - Odds
{
"operatorId": 9985,
"content": {
"type": "payout-modifier-settlement",
"settlementId": "SETL3134413498778",
"reference": "EZ0wq6jxM6WXTvKtkbUFCzooiGcTqABm",
"settlement": {
"type":
Payout Modifier Settlement Response
{
"content": {
"type": "payout-modifier-settlement-reply",
"settlementId": "SETL3134413498778",
"signature": "mHFX4dXMq4b3aqnVbgiFL06LlHZTU4pj7Qn8rYnmLgA=",
"status": "accepted",
"reference": "EZ0wq6jxM6WXTvKtkbUFCzooiGcTqABm",
"code