# Getting Started

The Bet Cancellation API is a tool designed to the cancel bets that have been submitted by the client. It serves as an intermediary layer between client applications and the backend systems responsible for processing these requests.

### Prerequisites

Before you can use this feature, you need to have the following setup:

* Ensure you have already integrated the [OddsFeed](/odds-feed-documentation/odds-feed-integration/getting-started.md) service.
* A callback URL that can receive if the bet has been cancelled successfully or not.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flyingcockatoo.gitbook.io/odds-feed-documentation/bet-cancellation/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
