How to Integrate Casino Games API — Step by Step PHP Guide
How to Integrate Casino Games API with PHP
This guide walks you through integrating NoviSoft API into your PHP-based casino platform.
Prerequisites
- PHP 7.4+ with cURL extension
- Active NoviSoft operator account
- API Key and API Secret from your dashboard
Step 1: Game Launch API
<?php
$apiUrl = "https://your-project.supabase.co/functions/v1/game-api";
$data = [
"action" => "game_launch",
"api_key" => "YOUR_API_KEY",
"member_id" => "player123",
"game_uid" => "JILI_Fortune-Gems",
"language" => "en"
];
$ch = curl_init($apiUrl);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch), true);
if ($response["code"] === 0) {
$gameUrl = $response["data"]["game_url"];
header("Location: $gameUrl");
}
Step 2: Callback Handler
Set up a callback URL in your operator settings to receive bet/win notifications:
<?php
$input = json_decode(file_get_contents("php://input"), true);
$action = $input["action"];
$memberAccount = $input["member_account"];
$betAmount = $input["bet_amount"] ?? 0;
$winAmount = $input["win_amount"] ?? 0;
// Process the transaction
if ($action === "bet") {
deductPlayerBalance($memberAccount, $betAmount);
} elseif ($action === "win") {
addPlayerBalance($memberAccount, $winAmount);
}
echo json_encode(["code" => 0, "balance" => getPlayerBalance($memberAccount)]);
Step 3: Balance Check
NoviSoft API checks your operator balance before launching games. Maintain minimum ₹100 balance.
Security Best Practices
- Always whitelist your server IP in operator settings
- Use HTTPS for callback URLs
- Validate API signatures on callbacks
- Never expose your API Secret in frontend code
Need Help?
Contact our support team on Telegram for 24/7 integration assistance.
NoviSoft pricing explained
NoviSoft is a paid B2B service. The full API package costs $350 USD as a one-time payment. This package payment is separate from the ongoing revenue share of 10% of positive GGR. GGR means settled real-money bets minus settled real-money wins for the settlement period.
For an illustrative example, if settled bets are $10,000 and settled wins are $8,000, positive GGR is $2,000. The 10% NoviSoft revenue share would therefore be $200. This is a calculation example, not a revenue forecast. Hosting, licensing, payment processing, marketing, taxes and jurisdiction-specific compliance are separate operator responsibilities.
The live catalogue currently contains 141 active providers. Catalogue availability can change as studios or markets are added, paused or updated.
Related Guides & Insights
White Label Casino Games — How to Get a Full Slots Catalogue via One Contract
Launching an online casino requires a vast games library. Learn how white label casino games and API aggregation provide a full slots catalogue through a single contract, saving time and resources.
White Label Casino Reports: GGR, NGR & Player Analytics for MENA Operators
Unlock profitability in the MENA market with comprehensive white label casino reports. This guide breaks down GGR, NGR, and per-player analytics to help operators make data-driven decisions.
White Label Casino vs Turnkey Casino in Vietnam: Which Fits Your Budget?
Deciding between a White Label and a Turnkey casino model is critical for budget and control. This guide helps operators, especially in Vietnam, make the right choice for their iGaming venture.
Best White Label Casino Providers 2026: A Bangladesh Market Deep-Dive
Our expert B2B guide ranks the best white label casino providers for 2026. We analyse top vendors and provide a deep dive into launching a successful online casino in Bangladesh and other key markets.