Nexium Interactive API
Oyun listesi, launch URL, wallet ve callback — tek entegrasyon. Canlı base: https://api.nexiumapicasino.world/api/v1.
Kimlik doğrulama
Her istekte panelden aldığınız site API key’ini gönderin. Key’i tarayıcıya gömmeyin.
Authorization: Bearer {site_api_key}
Accept: application/json
Content-Type: application/json
Cevap şekli
Tüm uçlar aynı zarfı kullanır. code === 0 başarıdır.
{
"code": 0,
"message": "OK",
"data": { }
}
Canlı dene — Health
Bu sayfa canlı API’ye istek atar (auth gerekmez). Panel: panel.nexiumapicasino.world
/v1/healthHealth
Servis ve bakım durumu. Auth yok.
{
"code": 0,
"message": "OK",
"data": {
"service": "Nexium Interactive",
"status": "ok",
"maintenance": false,
"checks": { "database": true, "redis": true }
}
}
| Alan | Anlam |
|---|---|
maintenance | true ise launch/warm kapalı |
status | ok | maintenance | degraded |
/v1/warmWarm
Oyuncu lobideyken user map ısıtın. Launch’ta create atlanır.
{ "username": "player1" }
{
"warm": true,
"user_code": 400040047,
"created": false,
"message": "MAP_HIT"
}
/v1/launchLaunch
Oyun URL üretir. provider_id + game_symbol ile oyunu başlatır.
{
"username": "player1",
"game_symbol": "vs20olympgate",
"provider_id": 1,
"lang": "tr",
"home_url": "https://yoursite.example/",
"balance": 250.00
}
{
"url": "https://…",
"gplay_id": null,
"warm": true,
"launch_ms": 42
}
/v1/providersProviders (Sağlayıcılar & Canlı Casino)
Size atanmış oyun sağlayıcılarını listeler. type parametresi ile "live" (Canlı Casino) veya "slot" (Slotlar) filtrelemesi yapabilirsiniz.
{
"type": "live"
}
Tüm sağlayıcıları almak için {} gönderin veya parametre vermeyin.
{
"code": 0,
"message": "OK",
"data": {
"providers": [
{ "code": "6", "name": "Evolution", "type": "live" },
{ "code": "10", "name": "Dream Gaming", "type": "live" },
{ "code": "11", "name": "Asia Gaming", "type": "live" },
{ "code": "1", "name": "Pragmatic Play", "type": "slot" }
]
}
}
/v1/gamesGames (Slot, Canlı Casino, Sanal Oyunlar [VIRTUALS] & Mini)
Oyun kataloğu listesi. Kategoriye ("Live", "Slots", "[VIRTUALS]" / "Virtuals", "Mini") veya sağlayıcı koduna ("provider_code") göre anlık filtrelenebilir. Görseller yüksek hızlı yerel CDN'den sunulur.
{
"category": "[VIRTUALS]"
}
{
"category": "Live",
"provider_code": "6"
}
{
"category": "Slots",
"provider_code": "1"
}
https://api.nexiumapicasino.world/assets/games/{provider}/{symbol}.webp
{
"code": 0,
"message": "OK",
"data": {
"games": [
{
"provider_code": "6",
"provider_name": "Evolution",
"provider_type": "live",
"game_symbol": "crazytime",
"game_name": "Crazy Time",
"category": "Live",
"type": "live",
"game_image": "https://api.nexiumapicasino.world/assets/games/6/crazytime.webp",
"launch_enable": true
},
{
"provider_code": "6",
"provider_name": "Evolution",
"provider_type": "live",
"game_symbol": "lightningroulette",
"game_name": "Lightning Roulette",
"category": "Live",
"type": "live",
"game_image": "https://api.nexiumapicasino.world/assets/games/6/lightningroulette.webp",
"launch_enable": true
}
]
}
}
Canlı Casino Entegrasyonu & Özel Kurallar
Evolution, Dream Gaming ve Asia Gaming canlı masa ve şov oyunları doğrudan entegre edilmiştir.
{
"username": "player1",
"game_symbol": "crazytime",
"lang": "tr",
"home_url": "https://yoursite.example/"
}
Canlı masalarda provider_id verilmesine gerek yoktur; sembolden (örn: crazytime) otomatik tespit edilir.
{
"command": "cancel",
"user_code": "player1",
"bet_trans_guid": "bet-guid-9812",
"amount": 100.00,
"game_type": "live",
"round_id": "8472911"
}
Krupiye iptali veya tur geçersizliğinde callback adresinize command: "cancel" gelir. Bahis tutarını iade edip güncel bakiyeyi dönmelisiniz.
/v1/userUser
Kullanıcı oluştur / bilgi. username benzersiz olmalı.
{ "username": "player1" }
/v1/transactionsTransactions
Nexium ledger geçmişi (bet/win/deposit…).
/v1/walletWallet balance
Bakiye sağlayıcı API’den okunur. Ekleme/çıkarma yoktur. Body: { "username": "player1" }
Wallet withdraw
{
"username": "player1",
"amount": 50,
"trans_guid": "wd-unique-001"
}