---
title: "Bet Cancel"
canonical_url: "https://docs.sportradar.com/resources/unified-odds-feed/docs/data-and-features/messages/event/bet-cancel"
markdown_url: "https://docs.sportradar.com/resources/unified-odds-feed/docs/data-and-features/messages/event/bet-cancel.md"
last_updated: "2026-11-25T07:00:01Z"
---

# Bet Cancel

A *bet\_cancel* message is sent when a bet made on a particular market needs to be cancelled and refunded due to an error (which is different to a bet-settlement/refund).

A bet\_cancel can be sent for a market that has already been settled. This however only happens in rare circumstances when a market that should have been cancelled has been settled in error in a previous message

> **Tip**
>
> A market status is only defined by *odds\_change* messages i.e. there is no reason to deactivate markets based on a *bet\_cancel* message if there is no indication for doing so in an *odds\_change* message.

<!-- prettier-ignore -->

|                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                                          | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <pre><code>event\_id</code></pre>                 | The ID of the event this cancel bet is for.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <pre><code>timestamp</code></pre>                 | When this event was generated (seconds since Epoch UTC).                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <pre><code>product</code></pre>                   | The producer that generated this message (1=LiveOdds, 2=MTS, 3=BetradarCtrl, 4=Betpal, 5=premium cricket).                                                                                                                                                                                                                                                                                                                                                                       |
| <pre><code>start\_time&#xA;end\_time</code></pre> | If start and end time are specified, they designate a range in time for which bets made should be cancelled. If there is an end\_time but no start\_time, this means cancel all bets placed before the specified time. If there is a start\_time but no end\_time this means, cancel all bets placed after the specified start\_time.                                                                                                                                            |
| <pre><code>superceded\_by</code></pre>            | Used in rare cases for outright odds, if the original tournament season id was wrong, the old odds\_changes are bet\_cancelled and the new tournament season id is included in the superceded\_by attribute. A client seeing this bet\_cancel has at least two choices: 1) just ignore the superceded\_by attribute completely and just process the bet\_cancel as any betcancel (i.e. void bets placed if any) 2) if possible move placed bets to the new tournament season id. |
| <pre><code>void\_reason</code></pre>              | Describes the reason for voiding certain outcomes for a particular market. Only set if at least one of the outcomes have a void\_factor.<br><br>*A list of void reasons can be found in the* [*bet settlment page*](https://docs.sportradar.com/resources/unified-odds-feed/docs/data-and-features/messages/event/bet-settlement.md) *or by using the API at* [*https://iodocs.betradar.com/*](https://iodocs.betradar.com/unifiedfeed)                                          |

**XML Example**

```xml
<bet_cancel end_time="1564598513000" event_id="sr:match:18941600" product="1" start_time="1564597838000" timestamp="1564602448841">
<market name="1st half - 1st goal" id="62" specifier="goalnr="1" void_reason="12"/>
</bet_cancel>
```
