Register players, launch OxenTech games and move funds through one JSON API.
Base URL: https://api.nonstoplive.cyou/api
/api/create-player./api/game-url (or /api/launch) and open the returned URL.status: true for success, false for an error.Open Admin → Game Management → Game API Settings and fill in:
| Field | Where to get it |
|---|---|
OxenTech Reseller ID | Your OxenTech reseller account |
API Key / Token | OxenTech panel (sent as X-API-Token) |
Secret Key | OxenTech panel (sent as X-Secret-Key) |
Player Prefix | Optional. RS_MYSHOP creates players as RS_MYSHOP_<username> |
Launch provider | OxenTech for seamless mode (recommended) |
API Key (gk_live_…) and API Secret.Send both headers on every request except /api/ping:
X-API-KEY: gk_live_xxxxxxxxxxxxxxxx
X-API-SECRET: your-secret
Alternatively sign the raw JSON body with HMAC-SHA256 using the secret and send X-SIGNATURE.
{ "status": true, "message": "OK", "data": { "service": "RONGOPS Game API" } }
Every active provider: code, name, vendor_code, logo.
| Field | Type | Notes |
|---|---|---|
provider optional | string | Provider code, e.g. pgsoft |
search optional | string | Game name or game UID |
page / limit optional | int | Default 1 / 100, max 200 |
{ "game_uid": "1eb74f99…", "name": "Air Jet", "image": "…/uploads/game_images/1eb74f99….webp",
"category": "Crash", "provider": "100hp", "provider_name": "100HP" }
{ "player_id": "user-1001", "name": "Karim", "currency": "BDT" }
Returns player_id, username, balance, currency, status.
{ "player_id": "user-1001", "provider": "100hp", "game_uid": "1eb74f99…" }
Returns game_url. Open it in an iframe or redirect the player. The URL is short-lived — request a fresh one each time.
{ "player_id": "user-1001" }
Returns the ledger balance and, in seamless mode, the live game balance (same figure).
Paged history. Filters: player_id, type, status, search, page, limit.
The game provider calls https://api.nonstoplive.cyou/api/callback with:
{
"action": "balance | bet | win | refund | bet_and_win",
"player_id": "RS_MYSHOP_user-1001",
"amount": 100,
"win_amount": 250,
"provider_txn_id": "TXN_87654321",
"currency": "BDT"
}
Success: {"status":"SUCCESS","balance":1200.00}. Failure: HTTP 400 with {"status":"FAILED","error":"INSUFFICIENT_FUNDS","balance":…}.
bet_and_win needs bet_amount (and optionally win_amount); the net delta is applied.provider_txn_id + action is idempotent.| HTTP | code | Meaning |
|---|---|---|
| 401 | invalid_api_key | Missing or wrong key/secret |
| 404 | player_not_found | Create the player first |
| 405 | method_not_allowed | Use POST |
| 422 | insufficient_balance | Withdraw more than the balance |
| 502 | upstream_error | OxenTech refused or timed out |
| 503 | database_unavailable | Temporary database problem |
https://your-game-domain/api/callback (a public HTTPS URL — localhost cannot receive callbacks).uploads/game_images/) and keep game_catalog.image in sync.FAILED from Game Catalogue.RONGOPS Game API · this page is static and lightweight (no external scripts or fonts).