Free bets and rounds: calls you make
Cancel free bets
Stop the free bets that are not played yet.
POST {api-url}/v4/freebets/cancel
- Effect
- an
activefree bet becomescanceled - Signed
- yes, with your client key (how)
- HTTP status
- always 200; the outcome is
code - Content type
application/json; charset=utf-8
Free bets already played stay played and their wins stay paid. A free bet the player has just started has already used its turn and plays to its end.
Request#
| Field | Type | Presence | Meaning |
|---|---|---|---|
operator_freebet_id | string (1–128 chars) | required | Your id of the free bet, 1–128 characters, with no control character (U+0000–U+001F, TAB included, U+007F, U+0080–U+009F) and no unpaired surrogate (else code 400). |
Answer#
| Field | Type | Presence | Meaning |
|---|---|---|---|
code | 200 | 400 | 401 | 413 | 901 | 902 | 500 | always | The outcome: see the codes. |
message | string | always | OK, or a short reason for people. Do not parse it. |
operator_freebet_id | string (1–128 chars) | with code 200 | Your id of the free bet. |
provider_freebet_id | string | with code 200 | Our id of the free bet: a UUID, a string of 36 characters (lower-case hex digits and hyphens). |
currency | string | with code 200 | The currency of the free bets. |
op_player_id | string (1–128 chars) | with code 200 | The player. |
free_bets | integer (1–10,000) | with code 200 | How many free bets were granted. |
free_bets_left | integer (0–10,000) | with code 200 | How many are not played yet. |
bet_value | integer (≥ 1) | with code 200 | The stake of each free bet, in units. |
win_amount | integer (≥ 0) | with code 200 | What this free bet's rounds have won so far, in units. Each win is paid at once by its own deposit with action: "freebet", so this grows as the player plays. |
create_date | string | with code 200 | When the free bet was added. |
deposit_date | string or null | with code 200 | null until the free bet is finished (paid) and all its rounds have ended; then the time the last winning round settled (null if none won). |
cancel_date | string or null | with code 200 | null, or when it was cancelled. |
end_date | string | with code 200 | When unplayed free bets expire. |
status | "active" | "paid" | "canceled" | with code 200 | active, paid or canceled: see statuses. |
game | "dice" | "limbo" | "mines" | "plinko" | "crash" | "chicken" | "keno" | "tower" | "hilo" | with code 200 | The game. A free bet added in our back office may cover several games; this shows the first. |
provider | string | with code 200 | Our provider key. |
Examples#
Request
{
"operator_freebet_id": "promo-7:u_829301"
}Answer
{
"code": 200,
"message": "OK",
"operator_freebet_id": "promo-7:u_829301",
"provider_freebet_id": "0192f3c4-55aa-7e10-9b3c-4d5e6f708192",
"currency": "USD",
"op_player_id": "u_829301",
"free_bets": 10,
"free_bets_left": 7,
"bet_value": 1000,
"win_amount": 1500,
"create_date": "2026-11-11 10:15:00+00:00",
"deposit_date": null,
"cancel_date": "2026-11-12 14:03:51+00:00",
"end_date": "2026-11-18 00:00:00+00:00",
"status": "canceled",
"game": "dice",
"provider": "banzaro"
}Not active (902)
{
"code": 902,
"message": "free bet is not active"
}Codes and what we do#
| Code | Meaning | What we do |
|---|---|---|
200 | Done. | The answer holds the free bet as it is now. |
400 | A malformed body, a field of the wrong type or out of range. | Nothing changes. message names the problem. |
401 | A signature header missing or malformed. | Nothing was looked up or changed. |
413 | The signature did not verify (unknown or revoked key, clock more than 300 s off, an address not on the key's allowlist, a wrong signature). | Nothing changes. One code for every cause. |
901 | No free bet with that id for your operator. | Nothing changes. |
902 | The free bet is not active: already paid or canceled. | Nothing changes. |
500 | An unexpected error on our side. | Nothing changes; try again later. |
Dates#
We print dates in UTC as yyyy-MM-dd HH:mm:ss+00:00, for example 2026-11-18 00:00:00+00:00. We accept yyyy-MM-dd HH:mm:ss followed by Z, +HH:MM, -HH:MM, +HHMM or -HHMM, and convert any offset to UTC. Anything else is code 400.