| 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):
| 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 |
This object constitutes the message itself and includes the following fields:
"content": {
.........
.........
}, | 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:
| M | String |
| version | Indicates the ticket format version | M | String |
| } |
| Example | Field Name | Field Description | Mandatory/ Optional | Data Type |
|---|---|---|---|---|
| Object | |||
| type | Declaration of content type, enumerator:
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, "acknowledged": false rolls back (cancels) a previously triggered (by sending a cashout-placement or cashout-inform) cashout process. See also Cashout Engine | M | Boolean |