For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bet Settlements & Statuses

Bet Settlement

Id

Value

Description

-1

Canceled

The bet settlement is canceled

1

Loser

The bet has lost

2

Winner

The bet has won

3

Refund

There should be a refund

4

HalfLost

Half of the bet has lost

5

HalfWon

Half of the bet has won

Bet Status

Bets and markets share this enumeration. The same IDs apply to the bet Status and BetStatusId fields and to the market status (see Market Status).

Id

Value

Description

1

Open

The bet is open (bets can be placed)

2

Suspended

The bet is temporarily unavailable (bets cannot be placed) and is very likely to reopen

4

Closed

The bet is closed. Treat it as final and remove it from your UI. In rare cases a provider can revert it.

3

Settled

The bet is settled (resulted), and a settlement is determined (see the settlement enumeration above)

Closed is not supported on the Status field. When a bet closes, Status carries Suspended (2) instead. Only BetStatusId carries Closed (4).

Closed and Settlement are independent. On a settlement message, a bet can carry a settlement outcome regardless of its BetStatusId value.

TRADE sends BetStatusId=4 (Closed) when a bet permanently closes, such as a participant eliminated from a "World Cup Winner" outright market. Closed is also available at the market level (see Market Status below). See Bet Status Lifecycle for the full state machine and scope.

Market Status

Markets use the same enumeration as bets, with the same IDs. A market's status reflects the status of its bets:

Id

Value

Description

1

Open

At least one bet in the market is open

2

Suspended

All bets in the market are suspended

3

Settled

All bets in the market are settled

4

Closed

All bets in the market are closed. Treat the market as final and remove it from your UI

Last updated

Was this helpful?