Bet with Enabled Alternative Odds

This is an example of a bet where higher odds at the time of ticket acceptance are allowed ("oddsChange": "higher").

Ticket Placement Request - Alternative Odds = Higher
{
  "operatorId": 9985,
  "content": {
    "type": "ticket",
    "ticketId": "Ticket_3690",
    "bets": [
      {
        "selections": [
          {
            "type": "uf",
            "productId": "1",
            "eventId": "sr:match:16470657",
            "marketId": "1",
            "outcomeId": "2",
            "odds": {
              "type": "decimal",
              "value": "7.1"
            }
          }
        ],
        "stake": [
          {
            "type": "cash",
            "currency": "DKK",
            "amount": "12"
          }
        ],
        "context": {
          "oddsChange": "higher"
        }
      }
    ],
    "context": {
      "channel": {
        "type": "mobile",
        "ip": "109.74.24.155",
        "lang": "ES"
      },
      "endCustomer": {
        "id": "endCustomer_e34t45"
      },
      "limitId": 1409
    }
  },
  "correlationId": "Uw59kwUL",
  "timestampUtc": 1678202888000,
  "operation": "ticket-placement",
  "version": "3.0"
}

The actual odds in the client's feed at the time of validation were higher than those submitted in the ticket. As higher odds were explicitly allowed in the ticket, MTS accepts the ticket and returns the actually accepted odds (object autoAcceptedOdds).

Ticket Placement Response - With Actual Accepted Odds
{
  "content": {
    "type": "ticket-reply",
    "signature": "HHDut7XIEl+SmjWB3xDB0AIB6fUZVFOvmGKm6Rcvxm0=",
    "status": "accepted",
    "ticketId": "Ticket_3690",
    "code": 0,
    "message": "Transaction processed",
    "betDetails": [
      {
        "selectionDetails": [
          {
            "selection": {
              "type": "uf",
              "productId": "1",
              "eventId": "sr:match:16470657",
              "marketId": "1",
              "outcomeId": "2",
              "odds": {
                "type": "decimal",
                "value": "7.1"
              }
            },
            "autoAcceptedOdds":  {
              "type": "decimal",
              "value": "7.3"
            },
            "code": 0,
            "message": "Transaction processed"
          }
        ],
        "code": 0,
        "message": "Transaction processed"
      }
    ],
    "exchangeRate":   [
      {
        "fromCurrency": "DKK",
        "toCurrency": "EUR",
        "rate": "0.13428"
      }
    ]
  },
  "correlationId": "Uw59kwUL",
  "timestampUtc": 1678202889000,
  "operation": "ticket-placement",
  "version": "3.0"
}

Last updated

Was this helpful?