Skip to content

Promo codes

Promo codes can be applied in two places:

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}'
{
  "status": "success",
  "data": {
    "code": "WELCOME",
    "type": "DEPOSIT_MATCH",
    "amount": 50.0,
    "spins": null,
    "percent": 100.0,
    "max_amount": 200.0,
    "min_deposit": 20.0,
    "description": "100% deposit bonus: 50.00 bonus entries for a 50.00 deposit (up to 200.00). Minimum deposit 20.00."
  }
}
{ "status": "failure", "error": "This promo code has expired." }

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.