Tournaments 1.6.0+
Create and run tournaments for your own site from your admin console: scheduled multi-table tournaments (MTT) or Sit & Go, with blind levels, breaks, rebuys and re-entries, prize tables, multi-stage events (RNG → live → offline) and satellites.
| Method | Path | Purpose |
|---|---|---|
| GET | /operator/v1/tournaments | Your tournaments |
| GET | /operator/v1/tournaments/options | Games, live tables and satellite targets you can use |
| POST | /operator/v1/tournaments | Create a tournament (draft) |
| GET | /operator/v1/tournaments/{tournament_id} | Tournament detail and live progress |
| PATCH | /operator/v1/tournaments/{tournament_id} | Edit a draft |
| POST | /operator/v1/tournaments/{tournament_id}/open | Open registration |
| POST | /operator/v1/tournaments/{tournament_id}/clone | Copy the settings into a new draft (next edition) |
| POST | /operator/v1/tournaments/{tournament_id}/control | Run the tournament (start, pause, levels, breaks, stages, offline results) |
| GET | /operator/v1/tournaments/{tournament_id}/tx | Money ledger of the tournament |
| GET | /operator/v1/tournaments/{tournament_id}/hands | Hand history (tournament chips) 1.7.0+ |
| GET | /operator/v1/tournaments/{tournament_id}/offline-sheet | Offline finalists, stacks and seat draw (CSV) |
Players register and play in the game lobby's tournament tab; buy-ins, rebuys, prizes and refunds reach your wallet as tourney_* wallet callbacks.
Scope
Every request works only on your own tournaments and resources.
| Item | Rule |
|---|---|
| Operator | Always the operator that signed the request. An operator field in the body is ignored |
| Game | Only games enabled for your site that support tournaments: holdem_nlh, holdem_plo4, badugi, sutda, matgo, gostop, tongits. Others return 403 GAME_NOT_OFFERED. options.games is the exact list |
| Stage game | An RNG stage's game_code follows the same rule. A live stage needs live_holdem enabled for your site (403 GAME_NOT_OFFERED otherwise), and may reserve only your own dedicated live_holdem tables (400, field stages.N.live_tables) |
| Satellite target | satellite_of must be one of your tournaments (400, field satellite_of) |
| Currency | One of your operator currencies (400, field currency) |
| Other operators' tournaments | Every path returns 404 TOURNEY_NOT_FOUND |
The scope is checked again when you open registration or clone. If the provider turns a game off in the meantime, the tournament cannot be opened; tournaments already open keep running to the end.
Lifecycle
draft → registration → running ⇄ paused → completed, or cancelled at any point.
- Settings can be edited only while
draft(409 TOURNEY_NOT_DRAFTafterwards). Full validation (levels, payouts, stages…) runs onopen; a failure returns400 BAD_MESSAGEwith the reasons joined by;inerror.message. - A scheduled tournament starts at
starts_atif the minimum number of players registered (otherwise it is cancelled and every entry refunded). A Sit & Go (config.sng: true) starts as soon as the minimum is reached. You can also start it by hand withcontrolstart.
GET /operator/v1/tournaments
Query: status (draft · registration · running · paused · completed · cancelled), limit (1–200, default 50), offset.
{
"tournaments": [
{
"tournament_id": "trn_019a3f2b7c1d7e4f8a9b0c1d2e3f4a5b",
"operator": "yourcasino",
"game_code": "holdem_nlh",
"name": "Sunday Main",
"names": { "en": "Sunday Main", "ko": "선데이 메인" },
"currency": "PHP",
"status": "registration",
"starts_at": "2026-11-09T12:00:00Z",
"sng": false,
"buy_in": 100000,
"fee": 10000,
"entries": 42,
"prize_pool": 4200000,
"fee_total": 420000,
"satellite_of": null,
"stages": 1,
"sort_order": 0,
"created_by": "operator:yourcasino/jane",
"created_at": "2026-11-03T02:10:00Z",
"started_at": null,
"finished_at": null
}
],
"total": 1
}Amounts are integers in minor units. prize_pool is buy-ins plus rebuys; fee_total is the entry fees (your revenue, recorded as rake).
GET /operator/v1/tournaments/options
{
"games": ["holdem_nlh", "holdem_plo4", "sutda"],
"live_tables": [
{ "table_id": "tbl_0198c1d2e3f47a5b8c9d0e1f2a3b4c5d", "name": "LH001", "currency": "PHP", "status": "open", "seated": 3, "reserved": false }
],
"targets": [
{ "tournament_id": "trn_019a3f2b7c1d7e4f8a9b0c1d2e3f4a5b", "name": "Sunday Main", "operator": "yourcasino", "currency": "PHP" }
],
"operator": { "code": "yourcasino", "name": "Your Casino", "currencies": ["PHP", "USD"] }
}| Field | Description |
|---|---|
games | Games you can create tournaments for (enabled for your site and tournament-capable) |
live_tables | Your dedicated live_holdem tables you can reserve for a live stage. Empty if live_holdem is not enabled. reserved = already reserved by a tournament |
targets | Your tournaments open for registration — possible satellite targets |
operator.currencies | Currencies you can use |
POST /operator/v1/tournaments
{
"game_code": "holdem_nlh",
"name": "Sunday Main",
"names": { "en": "Sunday Main", "ko": "선데이 메인" },
"currency": "PHP",
"starts_at": "2026-11-09T20:00:00+08:00",
"satellite_of": null,
"sort_order": 0,
"config": {
"min_players": 6,
"max_players": 200,
"buy_in": 100000,
"fee": 10000,
"start_chips": 20000,
"late_reg": { "until_level": 6 },
"levels": [
{ "sb": 100, "bb": 200, "ante": 0, "minutes": 15 },
{ "sb": 150, "bb": 300, "ante": 0, "minutes": 15 },
{ "sb": 200, "bb": 400, "ante": 50, "minutes": 15 }
],
"ante_mode": "classic",
"breaks": [{ "after_level": 4, "minutes": 5 }],
"rebuy": { "enabled": true, "until_level": 4, "cost": 100000, "chips": 20000, "max": 2 },
"reentry": { "enabled": false },
"seats_per_table": 9,
"final_table": 9,
"timers": { "action_sec": 20, "timebank_sec": 60, "timebank_add_sec": 10, "reconnect_sec": 60 },
"payouts": [
{ "from": 2, "to": 20, "places": [{ "from": 1, "to": 1, "bp": 6500 }, { "from": 2, "to": 2, "bp": 3500 }] },
{ "from": 21, "to": 1000, "places": [{ "from": 1, "to": 1, "bp": 4000 }, { "from": 2, "to": 2, "bp": 2500 }, { "from": 3, "to": 3, "bp": 1500 }, { "from": 4, "to": 5, "bp": 1000 }] }
],
"cancel_policy": "chip_chop",
"same_ip_restrict": true,
"auto_resume": true
}
}Response 201 { "tournament_id": "trn_…" }.
| Field | Description |
|---|---|
game_code | One of options.games |
name / names | Display name; names per language (en, ko, zh, ja, th, vi) |
currency | One of your currencies |
starts_at | Start time (ISO 8601). Omit for a Sit & Go (config.sng: true) |
satellite_of | Main event this tournament qualifies for (a targets entry). Top places then win a ticket instead of cash |
config | Tournament settings — see below |
Main config fields (amounts in minor units, times in minutes unless named _sec):
| Field | Description |
|---|---|
sng | true = start as soon as min_players registered |
reg_opens_at / reg_closes_at | Registration window (default: from open to the start) |
late_reg | { minutes } after the start or { until_level } |
min_players / max_players | Player limits |
buy_in / fee | Buy-in (goes to the prize pool) and entry fee (your revenue) |
start_chips | Tournament chips per entry. Tournament chips are not money |
levels[] | One row per level: Hold'em sb · bb · ante, Badugi · Sutda ante, Matgo · Go-Stop point_value, Tongits stake, plus minutes |
ante_mode | Hold'em: none · classic · bb_ante |
breaks[] | { after_level, minutes } |
rebuy | { enabled, minutes?, until_level?, cost, chips, max, max_stack?, offer_sec? } |
reentry | { enabled, max } — a new entry after busting, until late registration closes |
seats_per_table / final_table | Seats per table and final-table size |
timers | { action_sec, timebank_sec, timebank_add_sec, reconnect_sec } |
payouts[] | Prize tables by number of entries: { from, to, places: [{ from, to, bp }] }, bp = share of the pool in basis points (10000 = 100%) |
tickets | Satellite: number of main-event tickets |
stages[] | Multi-stage: { kind: "rng" | "live" | "offline", game_code?, seats_per_table?, starts_at?, level_minutes?, live_tables?, transition: { players_left?, level?, at?, op? } } |
cancel_policy | Refund after the start if cancelled: chip_chop (default) · equal_split · buyin_refund; cancel_refund_fee also refunds fees |
pool_scope | operator (default) · family (a parent operator's tournament also takes its sub-operators' players in the same currency) |
dup_ticket | Second ticket to the same main event: cash (default) · keep · next_place |
offline_approval | Offline results: single (default) · dual (a second admin approves) |
spectate | Who can watch tournament tables: participants (default) · players · none |
same_ip_restrict / auto_resume | One entry per IP; resume automatically after a server restart |
GET /operator/v1/tournaments/
Returns { "row": { … }, "view": { … } }. row has the list fields above. view is the live state:
| Field | Description |
|---|---|
status | Lifecycle status |
config | Saved settings |
state | Progress: level, sub (sub-state such as break or intermission), stage_no, final, level clock |
tournament | Player-facing summary: players left, average stack, current and next blinds, prize table with amounts, ranking |
entries[] | entry_no, player_id, external_id, nickname, via (paid · ticket), status (registered · playing · busted · won · qualified · withdrawn · cancelled), chips, table_no, seat, rebuys, place, prize, ticket, paid_offline, registered_at |
tables[] | Tables of the current stage with seats and stacks |
offline | Offline result submitted / approved (offline stage) |
fee_total / warnings | Fees collected; warnings such as live_capacity (too many players for the reserved live seats) |
PATCH /operator/v1/tournaments/
Same body as POST. Draft only. Response 200 { "ok": true }.
POST /operator/v1/tournaments/{tournament_id}/open
Validates the settings and the scope, then opens registration (draft → registration). Response 200 { "ok": true }.
POST /operator/v1/tournaments/{tournament_id}/clone
Creates a new draft with the same settings (start time cleared). Response 201 { "tournament_id": "trn_…" }.
POST /operator/v1/tournaments/{tournament_id}/control
{ "action": "level", "level": 5, "remaining_sec": 600 }action | Fields | Effect |
|---|---|---|
start | Start now (minimum players required, TOURNEY_MIN_PLAYERS) | |
pause / resume | Stop new hands on every table / continue | |
cancel | reason? | Cancel and refund according to cancel_policy |
level | level, remaining_sec? | Jump to a blind level (from the next hand) |
break_start / break_extend / break_end | minutes | Breaks |
stage | Move to the next stage now | |
offline_submit | rows: [{ entry_no, place, withdrawn?, paid_offline? }] | Final places of an offline stage. paid_offline: true = already paid on site (no wallet credit) |
offline_approve | Approve the submitted results (offline_approval: dual — must be a different admin, TOURNEY_SAME_ADMIN) |
Response 200 { "ok": true, "view": { … } }. An action that does not fit the current status returns 400 TOURNEY_STATE.
Send the admin's login in the X-Operator-Admin header (letters, digits and _ . @ -, up to 40). It is recorded as the actor (operator:<code>/<admin>) in the audit log, as created_by, and as the offline submitter and approver.
GET /operator/v1/tournaments/{tournament_id}/hands
1.7.0+ Hand history of the tournament — the hands your players took part in, newest first. Tournament hands are not inGET /rounds because their amounts are chips, not money.Query: limit (1–200, default 50), cursor (the previous page's next_cursor).
{
"hands": [
{ "round_id": "rnd_6e3e14ea9add5b748b07c272b0a54778", "game_code": "holdem_nlh", "table_id": "tbl_899956b56830542580ad552cbdc15e12",
"table_no": 1, "stage_no": 1, "hand_no": 9, "status": "settled", "started_at": "2026-11-09T12:48:47Z", "settled_at": "2026-11-09T12:48:52Z",
"players": 3, "invested": 7740, "won": 7740 }
],
"total": 9,
"next_cursor": null
}| Field | Description |
|---|---|
table_no / stage_no | Tournament table number and stage |
hand_no | Hand number on that table |
players | Your players in the hand |
invested / won | Tournament chips your players put in and won (not money) |
next_cursor | Pass as cursor for older hands; null on the last page |
Open a hand with GET /rounds/{round_id} — it carries tournament_id, and its amounts are chips.
GET /operator/v1/tournaments/{tournament_id}/tx
{
"tx": [
{ "id": "…", "kind": "entry", "amount": 110000, "player_id": "plr_…", "wallet_tx_id": "tx_…", "created_at": "2026-11-09T11:58:02Z" }
]
}kind: entry (buy-in) · fee · rebuy · prize · refund · cancel (rollback) · ticket_in / ticket_out (satellite ticket moved between prize pools, no wallet call, with ticket_id) · paid_offline (prize already paid on site, no wallet call).
GET /operator/v1/tournaments/{tournament_id}/offline-sheet
CSV (UTF-8 with BOM): entry_no, player_id, external_id, nickname, chips, draw, status — the players who qualified for the offline stage with their stacks and seat draw.
Errors
| HTTP | code | When |
|---|---|---|
| 400 | INVALID_REQUEST | Missing name / game_code / currency, or an out-of-scope field (details.fields: currency, satellite_of, stages.N.live_tables) |
| 400 | BAD_MESSAGE | Invalid settings on open (reasons in error.message) |
| 400 | TOURNEY_STATE · TOURNEY_MIN_PLAYERS · TOURNEY_SAME_ADMIN · TOURNEY_BUSY | Control not allowed now |
| 403 | GAME_NOT_OFFERED | Game (or live stage) not enabled for your site |
| 404 | TOURNEY_NOT_FOUND | No such tournament for your operator |
| 409 | TOURNEY_NOT_DRAFT | Editing after registration opened |