Skip to content

Error reference

All business errors come back as HTTP 200 with {"status": "failure", "error": "<value>"}. Missing required fields return HTTP 400 with {"code": "validation_error", "message": "..."}.

Codes

error Endpoints Meaning
terminal_not_found signup, login, referrals/check Unknown terminal_ID
terminal not found deposite, withdraw, refund, promo/check Unknown terminal_ID
player not found deposite, withdraw, refund, promo/check Unknown player_id
player_not_found getbalance Unknown player_id
Player not register from this terminal deposite, withdraw, refund, promo/check Player belongs to another shop
player_not_registered_from_this_terminal login Player belongs to another shop
invalid_credentials login Wrong PIN
account_blocked login, deposite, withdraw Player is blocked
no_shop signup The terminal has no shop
insufficient_shop_balance signup Not enough money in the shop for deposit_amount
not_enough_money_in_the_shop deposite Not enough money in the shop
insufficient_funds withdraw Amount exceeds what the player can withdraw
Player must be logged out deposite, withdraw The player's session could not be closed
invite_code_invalid signup, referrals/check Invite code does not exist
program_unavailable signup, referrals/check Fizz Crew is turned off
some error terminal_balance Unknown terminal or wrong terminal_key

Two spellings

Some codes exist in two spellings, for example terminal_not_found and terminal not found. They come from older endpoints and are kept for compatibility. Handle both.

Messages for the player

These errors are human-readable and can be shown as is:

  • promo code rejections, see Promo codes;
  • withdrawal limit messages from /api/withdraw;
  • promo.error in signup and deposit responses.