Max Stake Request

Source
Destination

Client

MTS

The Max Stake Request is used to determine the highest stake that will still be accepted for a given bet. The client should compose a ticket with the bet for which they want to obtain the maximum stake and include it in the request. It does not matter that the ticket itself has not actually been placed. The ticket object should be composed as described on the Ticket Placement Request (v3.0) page. In terms of Max Stake, the only supported stake type is "cash". If a multi-bet ticket is included in the request, only the first bet will be considered.

MTS will respond with a Max Stake Response including the maximum acceptable stake for the referenced bet.

Envelope and Content table:

The envelope provides the content's (Max stake request) context and contains the following fields (besides Content):

  • operatorId

  • correlationId

  • timestampUtc

  • operation

  • version

Example
Field Name
Field Description
Mandatory/Optional
Data Type
{

  "operatorId": 9985,

operatorId

ID to uniquely identify the client from which the ticket originated, ID is provided to the client by Sportradar, The client is obliged to include it in every ticket

M

Integer

  "content": {

content

See Content object description below

M

Object

       ...........

       ...........

  },

  "correlationId": "21re09iwny",

correlationId

Client defined string to facilitate the request-response pairing, Sportradar is obliged to return the same string in every response

M

String

  "timestampUtc": 1732700792000,

timestampUtc

Timestamp of ticket placement as submitted by the client (Unix time milliseconds format), minimal: 1, maximum: 9223372036854776000

M

Integer

  "operation": "max-stake",

operation

Should be "max-stake" in the case of a Max stake request

M

String

  "version": "3.0"

version

Indicates the ticket format version

M

String

}

Content object (Max stake request)

This object constitutes the ticket itself and includes the following fields:

  • type

  • ticket (includes the entire ticket object with the bet for which the maximum stake is to be retrieved)

Content object table:

Example
Field Name
Field Description
Mandatory/Optional
Data Type
"content": {

Object

    "type": "max-stake",

type

Declaration of content type, should be "max-stake" in the case of a Max stake request

M

String

    "ticket": {

ticket

Syntax of this object corresponds to the content object of the Ticket placement request).

If a multi-bet ticket is included, only the first bet will be considered.

The only supported stake type is "cash".

M

Object

       "type: "ticket",

       "ticketId: "Ticket_2052",

         ...............

         ...............

    }

},

Last updated

Was this helpful?