---
title: "Entire Ticket Cancellation with Acknowledgement (Including a Rejection Example)"
canonical_url: "https://docs.sportradar.com/resources/mts/docs/transaction-3.0-api/mts-related-transaction-examples/cancellation-examples/entire-ticket-cancellation-with-acknowledgement-including-a-rejection-example"
markdown_url: "https://docs.sportradar.com/resources/mts/docs/transaction-3.0-api/mts-related-transaction-examples/cancellation-examples/entire-ticket-cancellation-with-acknowledgement-including-a-rejection-example.md"
last_updated: "2026-11-11T13:15:15Z"
---

# Entire Ticket Cancellation with Acknowledgement (Including a Rejection Example)

This is an example of an entire ticket cancellation.

****Cancellation Request****

```json
{
  "operatorId": 9985,
  "content": {
    "type": "cancel",
    "cancellationId": "CANC8787414",
    "details": {
      "type": "ticket",
      "ticketId": "Ticket_3668",
      "ticketSignature": "HHDut7XIEl+SmjWB3xDB0AIB6fUZVFOvmGKm6Rcvxm0=",
      "code": 101
    }
  },
  "correlationId": "7Swn291Bxk",
  "timestampUtc": 1678980298000,
  "operation": "ticket-cancel",
  "version": "3.0"
}
```

****Cancellation Response****

```json
{
  "content": {
    "type": "cancel-reply",
    "cancellationId": "CANC8787414",
    "signature": "ztmWXaG1HKHGnb8oqs9QzhxnaThiWjf4ARtN9YMs7Ag=",
    "status": "accepted",
    "ticketId": "Ticket_3668",
    "code": 0,
    "message": "Transaction processed"
  },
  "correlationId": "7Swn291Bxk",
  "timestampUtc": 1678980299000,
  "operation": "ticket-cancel",
  "version": "3.0"
}
```

****Acknowledgement Message****

```json
{
  "operatorId": 9985,
  "content": {
    "type": "cancel-ack",
    "cancellationId": "CANC8787414",
    "ticketId": "Ticket_3668",
    "cancellationSignature": "ztmWXaG1HKHGnb8oqs9QzhxnaThiWjf4ARtN9YMs7Ag=", 
    "acknowledged": true
  },
  "correlationId": "rZ20Cb1ka8",
  "timestampUtc": 1678980301000,
  "operation": "ticket-cancel-ack",
  "version": "3.0"
}
```

****Acknowledgement Reply Message****

```json
{
  "content": {
    "type": "cancel-ack-reply",
    "cancellationId": "CANC8787414",
    "signature": "TjlNtQGQUBWeOYbaClN+/Tnip5xBskLseR+pea/sAgE=",
    "status": "accepted",
    "ticketId": "Ticket_3668",
    "code": 0,
    "message": "Transaction processed"
  },
  "correlationId": "rZ20Cb1ka8",
  "timestampUtc": 1678980302000,
  "operation": "ticket-cancel-ack",
  "version": "3.0"
}
```

### Rejection Example {#mtsentireticketcancellationwithacknowledgement-includingarejectionexample-v3.0-rejectionexample}

Alternatively, an example of the same Cancellation request being rejected can be found below.\
List of available Cancellation rejection codes can be found [here](https://docs.sportradar.com/resources/transaction/docs/api-description/ticket-json-format-description/cancellation-description-and-flow/cancellation-response.md).

****Cancellation Response****

```json
{
  "content": {
    "type": "cancel-reply",
    "cancellationId": "CANC8787414",
    "signature": "ztmWXaG1HKHGnb8oqs9QzhxnaThiWjf4ARtN9YMs7Ag=",
    "status": "rejected",
    "ticketId": "Ticket_3668",
    "code": -2013,
    "message": "Ticket time for cancellation expired"
  },
  "correlationId": "7Swn291Bxk",
  "timestampUtc": 1678980299000,
  "operation": "ticket-cancel",
  "version": "3.0"
}
```
