REST API Documentation & Tester
Nexus GGR REST API Engine
Connect your casino website directly to the high-performance Nexus GGR API gateway. Saldo Agent bersifat Unlimited dan semua pemotongan/penambahan saldo player diproses via saldo admin/database lokal (Saldo Nexus tidak akan terpotong).
Base URL
https://api.clashpay.cloud/api/v1
Your Active API Key
nx_c5d410cbffc7b786018101d73a1da98e
General
GET Agent Info (Unlimited) GET Admin Balance GET Providers List GET Games ListPlayer Wallet
POST User Create GET User Balance POST User Deposit POST User WithdrawGames & RTP
POST Launch Game POST Set Player RTP POST Panggil Scatter POST Seamless Callback
GET
/api/v1/info
Retrieves agent details with Unlimited status.
curl -X GET https://api.clashpay.cloud/api/v1/info \
-H "X-API-Key: nx_c5d410cbffc7b786018101d73a1da98e"
GET
/api/v1/admin/balance
Retrieves Admin Wallet status, unlimited mode flag, total registered players, and total member balance.
POST
/api/v1/user/deposit
Top up / deposit balance to a player. Saldo dipotong dari admin balance lokal, BUKAN Nexus.
curl -X POST https://api.clashpay.cloud/api/v1/user/deposit \
-H "Content-Type: application/json" \
-H "X-API-Key: nx_c5d410cbffc7b786018101d73a1da98e" \
-d '{
"user_code": "player123",
"amount": 50000
}'
GET
/api/v1/user/balance?user_code=demo_player
Cek saldo member saat ini dari database lokal.
POST
/api/v1/user/withdraw
Tarik saldo dari akun member. Saldo dikembalikan ke admin balance.
POST
/api/v1/game/launch
Generates the authenticated launch URL for the user to play in their browser.
curl -X POST https://api.clashpay.cloud/api/v1/game/launch \
-H "Content-Type: application/json" \
-H "X-API-Key: nx_c5d410cbffc7b786018101d73a1da98e" \
-d '{
"user_code": "player123",
"provider_code": "PRAGMATIC",
"game_code": "vs20olympgate",
"lang": "id"
}'
POST
/api/v1/seamless/callback
Endpoint Webhook yang dipanggil oleh game engine Nexus saat spin (bet/win). Semua taruhan dan kemenangan langsung memotong/menambah saldo admin & player lokal.
curl -X POST https://api.clashpay.cloud/api/v1/seamless/callback \
-H "Content-Type: application/json" \
-d '{
"method": "changeBalance",
"user_code": "demo_player",
"amount": -1000,
"provider_code": "PRAGMATIC",
"game_code": "vs20olympgate"
}'