Account Setup
- Create an Account — Register a Waija account using the registration form.
- Verify Your Email — Confirm your email from the backoffice after registration.
- Configure Callback URL — In Settings, set the endpoint that receives game and balance callbacks.
- Retrieve API Base URL — Copy it from Settings. All method calls go here.
- Generate API Credentials — Every request needs
api_loginandapi_password. - Whitelist Server IPs — Requests from other IPs are blocked.
- 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.
- GitHub package: slotsgateway/slotsgateway-php-client
- Install via Composer:
composer require slotsgateway/slotsgateway-php-clientFull 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 codebalance— 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
| Order | API Method |
|---|---|
| 1 | createPlayer |
| 2 | getGame |
Open a Demo Game Session
| Order | API Method |
|---|---|
| 1 | getGameDemo |
Open a Free Spins Bonus Game Session
| Order | API Method |
|---|---|
| 1 | createPlayer |
| 2 | addFreeRounds |
| 3 | getGame |
Then check packages with getFreeRounds. Cancel with deleteFreeRounds.
Supported Game Currencies
Use the currency id when creating a player and opening a game.
| id | currency | symbol |
|---|---|---|
| USD | US Dollar | $ |
| EUR | Euro | € |
| GBP | British Pound | £ |
| BRL | Brazilian Real | R$ |
| AUD | Australian Dollar | AU$ |
| CAD | Canadian Dollar | CA$ |
| NZD | New Zealand Dollar | $ |
| TND | Tunisian Dinar | DT |
Supported Game Languages
Use the language id when opening a game.
| id | language |
|---|---|
| en | English |
| fr | French |
| de | German |
| tr | Turkish |
| ru | Russian |
| nl | Dutch |
| pt | Portuguese |
| es | Spanish |