# Settlements Rulebook

This section documents the settlement rules, principles, and result handling for betting markets across different sports. Each page explains how LSports processes and resolves specific market types.

***

## Settlement Principles

All settlements follow these core principles:

1. **Official Results** — Settlements are based on official results from governing bodies
2. **Timing** — Settlements are triggered when fixture status changes to Finished (ID 3)
3. **Dead Heat Rules** — When applicable, stakes are divided equally among tied selections
4. **Void/Refund** — Bets are refunded when events are cancelled, abandoned, or results are unavailable

***

## Settlement Rules by Sport

| Sport                                                         | Coverage                                          |
| ------------------------------------------------------------- | ------------------------------------------------- |
| [Football](/u/trade/settlements-rulebook/football.md)         | Match result, goals, corners, cards, player props |
| [Basketball](/u/trade/settlements-rulebook/basketball.md)     | Match winner, totals, quarters, player props      |
| [Horse Racing](/u/trade/settlements-rulebook/horse-racing.md) | Race winner, place markets, position markets      |

***

## Settlement Status Codes

| Code | Status        | Description                   |
| ---- | ------------- | ----------------------------- |
| 1    | **Not Set**   | Settlement pending            |
| 2    | **Win**       | Selection won                 |
| 3    | **Lose**      | Selection lost                |
| 4    | **Refund**    | Bet voided, stake returned    |
| 5    | **Half Win**  | Dead heat or partial win      |
| 6    | **Half Lose** | Partial loss (Asian handicap) |

For complete enumeration details, see [Bet Settlements & Statuses](/u/trade/enumerations/bet-settlements-and-statuses.md).

***

## Related Documentation

* [Settlements Concept](/u/trade/concepts/settlements.md) — General settlement process
* [Fixture Lifecycle](/u/trade/concepts/fixture-lifecycle.md) — When settlements are triggered
* [Message Structure](/u/trade/integration/message-structure/settlement.md) — Settlement message format


---

# 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://docs.lsports.eu/u/trade/settlements-rulebook.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.
