# Bet Engine API

API Endpoint : <https://api.betstack.io/be/>

Bet Engine service is responsible for processing the tickets. When tickets are submitted to Bet Engine, the service will invoke PAM API for integration with operator's platform.&#x20;

The following sections are available in Bet Engine API:

[Headers](/bet-engine-api/headers.md)

[Create ticket endpoint](/bet-engine-api/create-ticket-endpoint.md)

[Reserve ticket endpoint](/bet-engine-api/reserve-ticket-endpoint.md)

[Paid ticket endpoint](/bet-engine-api/paid-ticket-endpoint.md)

[Get ticket endpoint](/bet-engine-api/get-ticket-endpoint.md)

[Get ticket list endpoint](/bet-engine-api/get-ticket-list-endpoint.md)

[Fields](/bet-engine-api/fields.md)

[Error codes](/bet-engine-api/error-codes.md)


---

# 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://developer.betstack.io/bet-engine-api.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.
