Acknowledgment Messages

Source
Destination

Client

MTS

Please note that acknowledgment messages are expected to be received in a predefined period to be processed by the MTS service. (Default acceptance period is 10 seconds).

Envelope and Content table:

The envelope provides the Content's (Acknowledgment messages) context and contains the following fields (besides Content):

  • operatorId

  • correlationId

  • timestampUtc

  • operation

  • version

Example
Field Name
Field Description
Mandatory/ Optional
Data Type

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

See Content object description below

M

Object

correlationId

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

M

String

timestampUtc

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

M

Integer

operation

In case of Acknowledgment messages - enumerator:

  • "ticket-placement-ack"

  • "ticket-cancel-ack"

  • "ticket-cashout-ack"

  • "ticket-ext-settlement-ack"

  • "cashout-inform-ack"

  • "cashout-placement-ack"

M

String

version

Indicates the ticket format version

M

String

}

Content object (Acknowledgment message)

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

  • type

  • cancellationId or cashoutId or settlementId (depends on acknowledgment message type)

  • ticketId

  • ticketSignature (or cancellationSignature or cashoutSignature or settlementSignature - depends on acknowledgment message type)

  • acknowledged

Example
Field Name
Field Description
Mandatory/ Optional
Data Type

Object

type

Declaration of content type, enumerator:

  • ticket-ack

  • cancel-ack

  • cashout-ack

  • ext-settlement-ack

  • cashout-inform-ack

  • cashout-placement-ack

Type relates to the envelope's "operation" field

M

String

cancellationId or cashoutId or settlementId

Not included if "type": "ticket-ack",

if "type"= "cancel-ack"→ cancellationId, "type": "cashout-ack" → cashoutId, "type": "ext-settlement-ack" → settlementId, "type": "cashout-inform-ack" → cashoutId, "type": "cashout-placement-ack" → cashoutId

M

except for "type": "ticket-ack"

String

ticketId

ID of original ticket

M

String

ticketSignature (or cancellationSignature or cashoutSignature or settlementSignature)

Signature from MTS's response,

"type": "ticket-ack" → ticketSignature, "type": "cancel-ack" → cancellationSignature, "type": "cashout-ack" → cashoutSignature, "type": "ext-settlement-ack" → settlementSignature "type": "cashout-inform-ack" → cashoutSignature, "type": "cashout-placement-ack" → cashoutSignature

M

String

acknowledged

Acknowledgment outcome

M

Boolean

Last updated

Was this helpful?