Promo codes¶
Promo codes can be applied in two places:
promo_codein/api/signup, for a new player;promo_codein/api/deposite, for an existing player.
Codes are case-insensitive. Check a code before applying it, so the player sees the terms first.
Check a promo code¶
POST /api/promo/check
| Field | Required | Description |
|---|---|---|
code |
yes | Promo code |
terminal_ID |
yes | Terminal ID |
player_id |
no | Omit for a new player (before signup) |
amount |
no | Planned deposit; omit to get only the terms |
curl -X POST https://<fizz-api-host>/api/promo/check \
-H "Content-Type: application/json" \
-d '{"code": "WELCOME", "terminal_ID": "70790473203088", "amount": 50}'
Show description to the player
description is built for each promo type and is ready to display as is.
Rate limit
10 checks per minute per terminal.
Promo object¶
| Field | Description |
|---|---|
code |
Promo code |
type |
ENTRIES, WINNINGS, WHEEL_SPINS, LOOTBOX or DEPOSIT_MATCH |
amount |
Amount credited or fixed amount |
spins |
Number of free spins (WHEEL_SPINS) |
percent |
Deposit match percent (DEPOSIT_MATCH) |
max_amount |
Deposit match cap (DEPOSIT_MATCH) |
min_deposit |
Minimum deposit for the code |
description |
Human-readable terms |
In the promo field of /api/signup and /api/deposite responses, the same object also has applied (true / false). When the code was not applied, it has error too.
Rejection messages¶
These messages are ready to show to the player:
This promo code does not exist.This promo code has expired.This promo code has run out.You have already used this promo code.The minimum deposit for this promo code is X.This promo code works with a deposit.Too many promo code attempts. Please try again in a minute.