> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/uof/bet-builder/api/void-recalculation.md).

# Void Recalculation

The **Void Bet Recalculation API** allows operators to continue settling a Bet Builder\
ticket when one selection is declared void, instead of voiding and refunding the\
entire bet.\
When the bet is placed, this endpoint returns the original calculation together with\
precomputed odds for every possible single-leg void scenario. If one selection\
is later voided, the client simply retrieves the corresponding precomputed odds\
and uses them to settle the remaining selections.

**Benefits**

Supports single-leg void scenarios.\
• Reduces unnecessary bet refunds.\
• Improves the customer betting experience.

**Limitations**\
\
• Only one voided selection is supported.\
• Multiple voided selections are not supported.\
• If the Bet Builder contains only 2 selections, no precomputed void\
combinations are returned. If one selection becomes void, simply use the\
original odds of the remaining selection.

\
**Integrations steps**<br>

1. Call the existing Bet Builder Calculation API to calculate the Bet Builder odds.
2. When the punter places the bet, call the new Void Recalculation API using the\
   same selections to get the latest price with the precomputed void\
   combination.
3. Store the returned precomputed void combinations together with the\
   original bet.
4. If one selection is later declared void, retrieve the matching precomputed\
   void combination.
5. Use the returned odds to settle the remaining valid selections.

<a href="https://iodocs.betradar.com/?urls.primaryName=Unified%20Feed%20Integration#/CustomBet%20API/calculateProbabilityVoid" class="button primary">Try the API</a>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sportradar.com/uof/bet-builder/api/void-recalculation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
