---
title: "Casino Sessions Request"
canonical_url: "https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/casino-sessions-request"
markdown_url: "https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/casino-sessions-request.md"
last_updated: "2026-11-25T06:59:36Z"
---

# Casino Sessions Request

|   Source   |       | Destination |
| :--------: | :---: | :---------: |
| **Client** | **→** |   **MTS**   |

This request contains information about online gaming events and their outcomes. The information includes elements such as: end customer identification, channel, game type, game provider, game progress, stake, payout, timestamps, etc. The data collected helps MTS maintain a profile of the end customer, which in turn enables MTS's clients to conduct automated marketing campaigns, analyse their services, manage end customer churn and more.

**Envelope and Content table:**

The Envelope provides the content's (Casino sessions request) context and contains the following fields (besides Content):

- operatorId
- correlationId
- timestampUtc
- operation
- version

<!-- prettier-ignore -->

| Example                                                                                        | Field Name    | Field Description                                                                                                                                                          | Mandatory/ Optional | Data Type |
| ---------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| <pre><code>{</code></pre>                                                                      | <br>          | <br>                                                                                                                                                                       | <br>                | <br>      |
| <pre><code>  "operatorId": 10234,</code></pre>                                                 | operatorId    | ID to uniquely identify the client from which the ticket originated,<br>ID is provided to the client by Sportradar,<br>The client is obliged to include it in every ticket | M                   | Integer   |
| <pre><code>  "content": {&#xA;        .......&#xA;        .......&#xA;         },</code></pre> | content       | See Content object description below                                                                                                                                       | M                   | Object    |
| <pre><code>  "correlationId": "kL20vAyh",</code></pre>                                         | correlationId | Client defined string to facilitate the request-response pairing,<br>Sportradar is obliged to return the same string in the corresponding response                         | M                   | String    |
| <pre><code>  "timestampUtc": 1703852995000,</code></pre><br><br>                               | timestampUtc  | Timestamp of ticket placement as submitted by the client (Unix time in milliseconds format),<br>minimal: 1,<br>maximum: 9223372036854776000                                | M                   | Integer   |
| <pre><code>  "operation": "casino-sessions-inform",</code></pre>                               | operation     | Declaration of operation type, should be "casino-sessions-inform" in the case of a Casino sessions request                                                                 | M                   | String    |
| <pre><code>  "version": "3.0"</code></pre>                                                     | version       | Indicates the ticket format version                                                                                                                                        | M                   | String    |
| }                                                                                              | <br>          | <br>                                                                                                                                                                       | <br>                | <br>      |

### Content object (Casino sessions request) {#mtscasinosessionsrequest-v3.0-contentcontentobject-casinosessionsrequest}

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

- type
- reportId
- sessions (array)
- context

**Content object table:**

<!-- prettier-ignore -->

| Example                                                                                                      | Field Name                                            | Field Description                                                                                                                                                                                                                                                                                                                                           | Mandatory/ Optional                                                                                              | Data Type |
| ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | --------- |
| <pre><code>"content": {</code></pre>                                                                         | <br>                                                  | <br>                                                                                                                                                                                                                                                                                                                                                        | <br>                                                                                                             | Object    |
| <pre><code>    "type": "casino-sessions-inform",</code></pre>                                                | type                                                  | Declaration of content type, should be "casino-sessions-inform" in the case of a Casino sessions request                                                                                                                                                                                                                                                    | M                                                                                                                | String    |
| <pre><code>    "reportId": "Report\_862801",</code></pre>                                                    | reportId                                              | Client defined string to identify the report (unique in the client's system),<br>minimal string length = 1,<br>maximum string length = 128                                                                                                                                                                                                                  | O                                                                                                                | String    |
| <pre><code>    "sessions": [&#10;            .......&#10;            .......&#10;       ],     </code></pre> | sessions                                              | See description of the [sessions array](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/casino-sessions-request.md#mtscasinosessionsrequest-v3.0-sessionssessionsarray) below,<br>minimal number of sessions (array elements) per content (request) = 1,<br>maximum number = 50                       | M                                                                                                                | Array     |
| <pre><code>    "context": {</code></pre>                                                                     | context                                               | Additional information related to the request                                                                                                                                                                                                                                                                                                               | M                                                                                                                | Object    |
| <pre><code>        "channel": {</code></pre>                                                                 | <ul><li>channel</li></ul>                             | Specifies the means of delivery of service to client's end customers (bettors), also called distribution channel                                                                                                                                                                                                                                            | M                                                                                                                | Object    |
| <pre><code>            "type": "mobile",</code></pre>                                                        | <ul><li><p></p><ul><li>type</li></ul></li></ul>       | Declaration of channel type, enumerator:<ul><li>agent</li><li>call-centre</li><li>internet</li><li>mobile</li><li>mobile-app</li><li>phone (used for USSD betting - USSD is a communication protocol in mobile networks)</li><li>retail</li><li>sms</li><li>terminal</li><li>tv-app</li></ul>                                                               | M                                                                                                                | String    |
| <pre><code>             "ip": "109.74.24.155",</code></pre>                                                  | <ul><li><p></p><ul><li>ip</li></ul></li></ul>         | IP address of the end customer's device<br><br>May be present only if "type": "internet" or "type": "mobile" or "type": "mobile-app" or "type":" tv-app"                                                                                                                                                                                                    | M<br><br>if "type": "internet" , "type": "mobile" , "type": "mobile-app" , "type":" tv-app"                      | String    |
| <pre><code>             "deviceId": "device\_133123",</code></pre>                                           | <ul><li><p></p><ul><li>deviceId</li></ul></li></ul>   | ID of the end customer's device<br><br>May be present only if "type": "mobile" or "type": "tv-app" or "type": "internet" or "type": "retail" or<br>"type": "sms"<br><br>Minimal string length = 1,<br>maximum length = 36,<br>allowed characters : uppercase and lowercase letters, numerals, #, :, -, \_, \\<br>Java regex: ^\[0-9A-Za-z#:\\\\-\_\]{1,36}$ | O                                                                                                                | String    |
| <pre><code>             "shopId": "shop\_789135",</code></pre>                                               | <ul><li><p></p><ul><li>shopId</li></ul></li></ul>     | ID of the shop<br><br>May be present only if "type": "retail" or "type": "terminal"<br><br>Minimal string length = 1,<br>maximum length = 36,<br>allowed characters : uppercase and lowercase letters, numerals, #, :, -, \_, \\                                                                                                                            | M<br>if "type": "retail" or<br>"type": "terminal"                                                                | String    |
| <pre><code>             "terminalId": "term\_2313",</code></pre>                                             | <ul><li><p></p><ul><li>terminalId</li></ul></li></ul> | May be present only if "type": "terminal"<br><br>Minimal string length = 1,<br>maximum length = 36,<br>allowed characters : uppercase and lowercase letters, numerals, #, :, -, \_, \\                                                                                                                                                                      | M<br>if "type": "terminal"                                                                                       | String    |
| <pre><code>            "lang": "ES"&#xA;        },            </code></pre>                                  | <ul><li><p></p><ul><li>lang</li></ul></li></ul>       | End customer's user interface language code according to [ISO 639-1 ](http://www.loc.gov/standards/iso639-2/php/code_list.php)(string length = 2)<br><br>May be present only if "type": "internet" or "type": "mobile" or "type": "mobile-app" or "type": "terminal" or "type": "tv-app"                                                                    | M<br><br>if "type": "internet" , "type": "mobile" , "type": "mobile-app" , "type": "terminal" , "type": "tv-app" | String    |
| <pre><code>        "endCustomer": {</code></pre>                                                             | <ul><li>endCustomer</li></ul>                         | Data about client's end customer (bettor), it can only be omitted if the bet is placed by an unregistered bettor in retail or on a terminal                                                                                                                                                                                                                 | M                                                                                                                | Object    |
| <pre><code>            "id": "endCustomer\_e34t45",</code></pre>                                             | <ul><li><p></p><ul><li>id</li></ul></li></ul>         | End customer's unique ID (in client's system). It should be an anonymous value which cannot be used to identify a physical person.<br>minimal string length = 1,<br>maximum length = 36,<br>allowed characters are : uppercase and lowercase letters, numerals, #, :, -, \_, \\<br>Java regex: ^\[0-9A-Za-z#:\\\\-\_\]{1,36}$                               | M                                                                                                                | String    |
| <pre><code>             "confidence": "1.15"&#xA;           },  </code></pre>                                | <ul><li><p></p><ul><li>confidence</li></ul></li></ul> | End customer's suggested CCF<br>Java regex: ^\\\d{1,8}(\\\\.\\\d{1,8})?$                                                                                                                                                                                                                                                                                    | O                                                                                                                | String    |
| <pre><code>        "walletId": Wallet\_67209&#xA;     }&#xA;},     </code></pre>                             | <ul><li>walletId</li></ul>                            | Client defined string to identify the wallet (ID or type),<br>minimal string length = 1,<br>maximum string length = 128                                                                                                                                                                                                                                     | O                                                                                                                | String    |

### Sessions array {#mtscasinosessionsrequest-v3.0-sessionssessionsarray}

The sessions array elements convey information about the actual casino sessions. They consist of the following fields:

- id
- game
- startUtc
- endUtc
- spins
- stake
- payout

**Sessions array table:**

<!-- prettier-ignore -->

| Example                                                                                                                                     | Field Name                     | Field Description                                                                                                                                                                                                                                                        | Mandatory/ Optional | Data Type |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------- | --------- |
| <pre><code>    "sessions": [</code></pre>                                                                                                   | <br>                           | Array of casino sessions,<br>minimal number of elements per content (request) = 1,<br>maximum number = 50                                                                                                                                                                | M                   | Array     |
| <pre><code>      { &#xA;        "id": "Session\_21018993",</code></pre>                                                                     | id                             | Unique casino session id (in the client's system),<br>minimal string length = 1,<br>maximum length = 128                                                                                                                                                                 | O                   | String    |
| <pre><code>        "game": {</code></pre>                                                                                                   | game                           | <br>                                                                                                                                                                                                                                                                     | M                   | Object    |
| <pre><code>           "id": "Game\_TZU345",</code></pre>                                                                                    | <ul><li>id</li></ul>           | Unique casino game id (in the client's system),<br>minimal string length = 1,<br>maximum length = 128                                                                                                                                                                    | M                   | String    |
| <pre><code>           "provider": "PR\_008"&#xA;           },</code></pre>                                                                  | <ul><li>provider</li></ul>     | Casino game provider identifier (in the client's system),<br>minimal string length = 1,<br>maximum length = 128                                                                                                                                                          | M                   | String    |
| <pre><code>        "startUtc": 1703845795000,</code></pre>                                                                                  | startUtc                       | Timestamp of start of the game (Unix time in milliseconds format),<br>minimal: 1,<br>maximum: 9223372036854776000                                                                                                                                                        | O                   | Integer   |
| <pre><code>        "endUtc": 1703845825000,</code></pre>                                                                                    | endUtc                         | Timestamp of end of the game (Unix time in milliseconds format),<br>minimal: 1,<br>maximum: 9223372036854776000                                                                                                                                                          | O                   | Integer   |
| <pre><code>        "spins": [</code></pre>                                                                                                  | spins                          | Array of casino game spins,<br>minimal number of spins per session =1,<br>maximum number = 5                                                                                                                                                                             | O                   | Array     |
| <pre><code>           { &#xA;            "type": "ordinary",</code></pre>                                                                   | <ul><li>type</li></ul>         | Spin type, enumerator:<ul><li>ordinary</li><li>bonus</li></ul>                                                                                                                                                                                                           | M                   | String    |
| <pre><code>           "count": 3,</code></pre>                                                                                              | <ul><li>count</li></ul>        | <br>                                                                                                                                                                                                                                                                     | M                   | Integer   |
| <pre><code>           "winningCount": 1&#xA;             }&#xA;           ],  </code></pre>                                                 | <ul><li>winningCount</li></ul> | <br>                                                                                                                                                                                                                                                                     | O                   | Integer   |
| <pre><code>        "stake": [</code></pre>                                                                                                  | stake                          | Array of session stakes,<br>minimal number of stakes per session =1,<br>maximum number = 5                                                                                                                                                                               | M                   | Array     |
| <pre><code>          {  &#xA;            "type": "cash",</code></pre>                                                                       | <ul><li>type</li></ul>         | Stake type, enumerator:<ul><li>cash (used for stake and payout)</li><li>bonus (amount added on top of end customer's winnings in case a bet is won )</li></ul>                                                                                                           | M                   | String    |
| <pre><code>            "currency": "DKK",</code></pre>                                                                                      | <ul><li>currency</li></ul>     | Currently MTS does not support multiple sessions with stakes in different currencies,<br><br>See description                                                                                                                                                             | M                   | String    |
| <pre><code>            "amount": "12",</code></pre>                                                                                         | <ul><li>amount</li></ul>       | See description                                                                                                                                                                                                                                                          | M                   | String    |
| <pre><code>            "mode": "total",</code></pre>                                                                                        | <ul><li>mode</li></ul>         | Stake mode enumerator<br>(default = total):<ul><li>unit - stake amount relates to each sub-bet<br>(a sub-bet is one combination (in case of system bets))</li><li>total - stake amount relates to all sub-bets (each sub-bet receives a portion of the amount)</li></ul> | O                   | String    |
| <pre><code>            "traceId": "Source\_2099"&#xA;           }&#xA;        ],    </code></pre>                                           | <ul><li>traceId</li></ul>      | A string to help identify the source of operation/action/state<br><br>Minimal string length = 1,<br>maximum length = 128,                                                                                                                                                | O                   | String    |
| <pre><code>        "payout": [       </code></pre>                                                                                          | payout                         | Session payout array,<br>minimal number of payouts per session =1,<br>maximum number = 5                                                                                                                                                                                 | M                   | Array     |
| <pre><code>           { &#xA;            "type": "cash",</code></pre>                                                                       | <ul><li>type</li></ul>         | Enumerator:<ul><li>cash</li><li>withheld</li></ul>                                                                                                                                                                                                                       | M                   | String    |
| <pre><code>            "currency": "EUR",</code></pre>                                                                                      | <ul><li>currency</li></ul>     | 2 to 4 letter currency code, BTC and mBTC are also supported (4 letters only apply to mBTC).<br>For more details please check<br><https://www.iso.org/iso-4217-currency-codes.html>                                                                                      | M                   | String    |
| <pre><code>            "amount": "100",</code></pre>                                                                                        | <ul><li>amount</li></ul>       | String pattern: 1 up to 8 digits, optionally followed by a decimal point and 1 up to 8 digits,<br>Java regex: ^\\\d{1,8}(\\\\.\\\d{1,8})?$                                                                                                                               | M                   | String    |
| <pre><code>            "traceId": "Source\_2099"&#xA;                }&#xA;             ]&#xA;        }&#xA; ],               </code></pre> | <ul><li>traceId</li></ul>      | A string to help identify the source of operation/action/state<br><br>Minimal string length = 1,<br>maximum length = 128,                                                                                                                                                | O                   | String    |
