WAIJA

Start / Getting Started

Getting Started

Getting started with Waija is straightforward. If you run into any issues, please contact support. PHP projects can use the official Composer PHP client.

Account Setup

  1. Create an Account — Register a Waija account using the registration form.
  2. Verify Your Email — Confirm your email from the backoffice after registration.
  3. Configure Callback URL — In Settings, set the endpoint that receives game and balance callbacks.
  4. Retrieve API Base URL — Copy it from Settings. All method calls go here.
  5. Generate API Credentials — Every request needs api_login and api_password.
  6. Whitelist Server IPs — Requests from other IPs are blocked.
  7. Integrate the API — Try a method in the API Console, or use the PHP client.

PHP Client

If your project uses PHP, we provide a Composer package to speed up integration.

composer require slotsgateway/slotsgateway-php-client

Full usage — methods, callback helpers, Laravel — is on the PHP Client page.

API Requests

All game-server requests are POST with a JSON body. Always include:

{
  "api_login": "d13b1ceb-6209-4163-b1cf-f304c28b81ec",
  "api_password": "dqRin2nfLosij2n88"
}

Callback Communication

The game server sends GET requests to your callback URL. Respond with JSON:

  • error — error code
  • balance — integer in cents ($2.50 → 250)

Always HTTP 200. If you cannot resolve the player, return balance 0.

Successful Response

{ "error": 0, "balance": 250 }

Insufficient Balance

{ "error": 1, "balance": 250 }

Processing Error

{ "error": 2, "balance": 0 }

Default API Sequence

Open a Real-Money Game Session

OrderAPI Method
1createPlayer
2getGame

Open a Demo Game Session

OrderAPI Method
1getGameDemo

Open a Free Spins Bonus Game Session

Then check packages with getFreeRounds. Cancel with deleteFreeRounds.

Supported Game Currencies

Use the currency id when creating a player and opening a game.

idcurrencysymbol
USDUS Dollar$
EUREuro€
GBPBritish Pound£
BRLBrazilian RealR$
AUDAustralian DollarAU$
CADCanadian DollarCA$
NZDNew Zealand Dollar$
TNDTunisian DinarDT

Supported Game Languages

Use the language id when opening a game.

idlanguage
enEnglish
frFrench
deGerman
trTurkish
ruRussian
nlDutch
ptPortuguese
esSpanish