---
title: "Cancellation Request"
canonical_url: "https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow/cancellation-request"
markdown_url: "https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow/cancellation-request.md"
last_updated: "2026-11-25T06:59:36Z"
---

# Cancellation Request

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

MTS supports the cancellation of any accepted ticket (or a bet within a multi-bet ticket) in its entire or partial value. In the case of partial cancellation, a portion of the ticket's original stake is returned to the bettor while the remaining part is still in play, and the payout depends on the event's outcome. In this case, the cancellation request must include the ratio of the stake (field "percentage") the bettor receives back.

Clients can send as many partial cancellation requests as they need, provided that the cancellation ratio of each cancellation request includes all previous cancellation requests' ratios, as MTS does not aggregate the ratio values of individual requests and treats the last request as if there were no previous requests.

Using different types of the Cancellation details object makes it possible to cancel – fully or partially – a single bet or a subset of bets within a multi-bet ticket, with custom cancellation ratios for each bet. With an appropriate Cancellation request, it is also possible to cancel an eventual re-offer offered by MTS.

**Envelope and Content table:**

The envelope provides the Content's (Cancellation 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": 9985,</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": "ew24faU66psM",</code></pre>                                       | correlationId | Client defined string to facilitate the request-response pairing,<br>Sportradar is obliged to return the same string in every response                                     | M                   | String    |
| <pre><code>  "timestampUtc": 1678265556000,</code></pre>                                         | timestampUtc  | Timestamp of ticket placement as submitted by the client (Unix time milliseconds format),<br>minimal: 1,<br>maximum: 9223372036854776000                                   | M                   | Integer   |
| <pre><code>  "operation": "ticket-cancel",</code></pre>                                          | operation     | Declaration of ticket content type, should be "ticket-cancel" in case of Cancellation request                                                                              | M                   | String    |
| <pre><code>  "version": "3.0"</code></pre>                                                       | version       | Indicates the ticket format version                                                                                                                                        | M                   | String    |
| `}`                                                                                              | <br>          | <br>                                                                                                                                                                       | <br>                | <br>      |

### Content object (Cancellation request) {#mtscancellationrequest-v3.0-contentcontentobject-cancellationrequest}

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

- type
- cancellationId
- details

**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": "cancel",</code></pre>                                                                                                  | type                   | Declaration of content type, should be "cancel" in case of Cancellation request                                                                                     | M                   | String    |
| <pre><code>    "cancellationId": "CANC8787414", </code></pre>                                                                                  | cancellationId         | Unique ID of this particular cancellation request in client's system, referenced in eventual ack message, minimal string length = 1,<br>maximum string length = 128 | O                   | String    |
| <pre><code>    "details": {</code></pre>                                                                                                       | details                | Cancellation details - additional information related to the ticket                                                                                                 | M                   | Object    |
| <pre><code>        "type": .......&#xA;             ..........&#xA;             ..........&#xA;             }&#xA;     },        </code></pre> | <ul><li>type</li></ul> | See description of the 5 specific "details" types below<ul><li>ticket</li><li>ticket-partial</li><li>bet</li><li>bet-partial</li><li>reoffer</li></ul>              | M                   | String    |

**1. Cancellation details ("type": "ticket") table**

This type is used to cancel an entire ticket.

Fields:

- type
- ticketId
- ticketSignature
- code

<!-- prettier-ignore -->

| Example                                                                                               | Field Name      | Field Description                                                                                                                                                                            | Mandatory/ Optional | Data Type |
| ----------------------------------------------------------------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| <pre><code>    {</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                         | <br>                | <br>      |
| <pre><code>        "type": "ticket",</code></pre>                                                     | type            | Specifies the type of cancellation details                                                                                                                                                   | M                   | String    |
| <pre><code>        "ticketId": "Ticket\_3690",</code></pre>                                           | ticketId        | ID of the original ticket that is to be affected by this cancellation                                                                                                                        | M                   | String    |
| <pre><code>      "ticketSignature": "HHDut7XIEl+SmjWB3x&#xA;DB0AIB6fUZVFOvmGKm6Rcvxm0=",</code></pre> | ticketSignature | Signature from MTS's response to initial ticket placement                                                                                                                                    | M                   | String    |
| <pre><code>        "code": 101     </code></pre>                                                      | code            | Cancellation reason code,<br>see [list of codes](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow.md) | M                   | Integer   |
| <pre><code>    }</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                         | <br>                | <br>      |

**2. Cancellation details ("type": "ticket-partial") table**

This type is used to cancel only a portion of the ticket.

Fields:

- type
- ticketId
- ticketSignature
- code
- percentage

<!-- prettier-ignore -->

| Example                                                                                               | Field Name      | Field Description                                                                                                                                                                                                      | Mandatory/ Optional | Data Type |
| ----------------------------------------------------------------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| <pre><code>    {</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |
| <pre><code>        "type": "ticket-partial",</code></pre>                                             | type            | Specifies the type of cancellation details                                                                                                                                                                             | M                   | String    |
| <pre><code>        "ticketId": "Ticket\_3690",</code></pre>                                           | ticketId        | ID of the original ticket that is to be affected by this cancellation                                                                                                                                                  | M                   | String    |
| <pre><code>      "ticketSignature": "HHDut7XIEl+SmjWB3x&#xA;DB0AIB6fUZVFOvmGKm6Rcvxm0=",</code></pre> | ticketSignature | Signature from MTS's response to initial ticket placement                                                                                                                                                              | M                   | String    |
| <pre><code>        "code": 103,     </code></pre>                                                     | code            | Cancellation reason code,<br>see [list of codes](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow.md#cancellation-reason-codes) | M                   | Integer   |
| <pre><code>        "percentage": "0.9"</code></pre>                                                   | percentage      | Proportion of the ticket that is to be cancelled,<br>format: up to 8 decimal places after a zero and decimal point,<br>has to be passed as a decimal (i.e. 0.9 and not 90),<br>Java regex: ^0(\\\\.\\\d{1,8})?$        | M                   | String    |
| <pre><code>    }</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |

**3. Cancellation details ("type": "bet") table**

This type is used to cancel an entire bet.\\

Fields:

- type
- ticketId
- ticketSignature
- betId
- code

<!-- prettier-ignore -->

| Example                                                                                               | Field Name      | Field Description                                                                                                                                                                                                      | Mandatory/ Optional | Data Type |
| ----------------------------------------------------------------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| <pre><code>    {</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |
| <pre><code>        "type": "bet",</code></pre>                                                        | type            | Specifies the type of cancellation details                                                                                                                                                                             | M                   | String    |
| <pre><code>        "ticketId": "Ticket\_3690",</code></pre>                                           | ticketId        | ID of the original ticket that is to be affected by this cancellation                                                                                                                                                  | M                   | String    |
| <pre><code>      "ticketSignature": "HHDut7XIEl+SmjWB3x&#xA;DB0AIB6fUZVFOvmGKm6Rcvxm0=",</code></pre> | ticketSignature | Signature from MTS's response to initial ticket placement                                                                                                                                                              | M                   | String    |
| <pre><code>        "betId": "bjda6GH",</code></pre>                                                   | bettId          | ID of the initial bet (defined by client) which is to be affected with this cancellation                                                                                                                               | M                   | String    |
| <pre><code>        "code": 103,     </code></pre>                                                     | code            | Cancellation reason code,<br>see [list of codes](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow.md#cancellation-reason-codes) | M                   | Integer   |
| <pre><code>    }</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |

**4. Cancellation details ("type": "bet-partial") table**

This type is used to cancel a portion of a bet.

Fields:

- type
- ticketId
- ticketSignature
- betId
- code
- percentage

<!-- prettier-ignore -->

| Example                                                                                               | Field Name      | Field Description                                                                                                                                                                                                      | Mandatory/ Optional | Data Type |
| ----------------------------------------------------------------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| <pre><code>    {</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |
| <pre><code>        "type": "bet-partial",</code></pre>                                                | type            | Specifies the type of cancellation details                                                                                                                                                                             | M                   | String    |
| <pre><code>        "ticketId": "Ticket\_3690",</code></pre>                                           | ticketId        | ID of the original ticket that is to be affected by this cancellation                                                                                                                                                  | M                   | String    |
| <pre><code>      "ticketSignature": "HHDut7XIEl+SmjWB3x&#xA;DB0AIB6fUZVFOvmGKm6Rcvxm0=",</code></pre> | ticketSignature | Signature from MTS's response to initial ticket placement                                                                                                                                                              | M                   | String    |
| <pre><code>        "betId": "bjda6GH",</code></pre>                                                   | betId           | ID of the initial bet (defined by client) which is to be affected with this cancellation                                                                                                                               | M                   | String    |
| <pre><code>        "code": 103     </code></pre>                                                      | code            | Cancellation reason code,<br>see [list of codes](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow.md#cancellation-reason-codes) | M                   | Integer   |
| <pre><code>        "percentage": "0.8"</code></pre>                                                   | percentage      | Proportion of the bet that is to be cancelled,<br>format: up to 8 decimal places after a zero and decimal point,<br>has to be passed as a decimal (i.e. 0.8 and not 80),<br>Java regex: ^0(\\\\.\\\d{1,8})?$           | M                   | String    |
| <pre><code>    }</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |

**5. Cancellation details ("type": "reoffer") table**

This type is used to explicitly cancel a re-offer that has been previously sent by MTS. By means of this cancellation, a previously reserved liability (by the re-offer functionality) is released.

Fields:

- type
- ticketId
- ticketSignature
- code

<!-- prettier-ignore -->

| Example                                                                                               | Field Name      | Field Description                                                                                                                                                                                                      | Mandatory/ Optional | Data Type |
| ----------------------------------------------------------------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| <pre><code>    {</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |
| <pre><code>        "type": "reoffer",</code></pre>                                                    | type            | Specifies the type of cancellation details                                                                                                                                                                             | M                   | String    |
| <pre><code>        "ticketId": "Ticket\_3690",</code></pre>                                           | ticketId        | ID of the original ticket that is to be affected by this cancellation                                                                                                                                                  | M                   | String    |
| <pre><code>      "ticketSignature": "HHDut7XIEl+SmjWB3x&#xA;DB0AIB6fUZVFOvmGKm6Rcvxm0=",</code></pre> | ticketSignature | Signature from MTS's response to initial ticket placement                                                                                                                                                              | M                   | String    |
| <pre><code>        "code": 103     </code></pre>                                                      | code            | Cancellation reason code,<br>see [list of codes](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow.md#cancellation-reason-codes) | M                   | Integer   |
| <pre><code>    }</code></pre>                                                                         | <br>            | <br>                                                                                                                                                                                                                   | <br>                | <br>      |
