Skip to content

API reference ​

elite Tenant Integration API · v1.0.0

The API your (the operator's) back end calls to launch players into the game, move money in and out of the transfer wallet, sync bets, read tables and round results, and check your account.

  • Server-to-server only: every request is signed with HMAC-SHA256 using your API key's secret. Never ship the secret to a browser or app.
  • Response envelope: success {"ok": true, "data": {…}}; failure {"ok": false, "error": {"code": "…", "message": "…"}}. HTTP status codes are meaningful.
  • Amounts are decimal strings: player amounts have at most 4 decimals (for example "100", "0.95"); account (USD) amounts have at most 6 decimals.
  • Times in responses are UTC ISO-8601 (for example 2026-09-24T03:00:00.000Z).
  • Sandbox and live: a sandbox key (ek_s_…) belongs to your paired sandbox tenant (test coins, simulator tables); a live key (ek_l_…) belongs to your live tenant. Both use the same host and the same API.

Servers ​

EnvironmentBase URL
Production (both sandbox and live keys use this host)https://elite.ewin888.com/api/tenant/v1
Test environment (separate deployment; accounts, keys and data are separate from production)https://elite-dev.ewin888.com/api/tenant/v1

Authentication ​

Every request carries these headers. See Authentication & signing for the signing rules.

HeaderDescription
X-Api-KeyThe key ID, format ek_<s|l>_<tenant>_<16 chars> (s sandbox, l live), for example ek_s_1a_XXXXXXXXXXXXXXXX. Get it in the Console under "Go-live & integration → API keys".
X-TimestampCurrent Unix time in seconds (9–11 digits). Rejected when it differs from server time by more than ±300 seconds.
X-NonceA random string that is different for every request, 16–64 letters and digits; it must not repeat within 10 minutes (retries need a new nonce too).
X-Signaturehex(HMAC-SHA256(secret, METHOD + "\n" + PATH_AND_QUERY + "\n" + X-Timestamp + "\n" + X-Nonce + "\n" + hex(SHA256(body)))). PATH_AND_QUERY starts with /api/tenant/v1 and includes the query string.

Response envelope ​

json
{ "ok": true, "data": { … } }
json
{ "ok": false, "error": { "code": "INSUFFICIENT_BALANCE", "message": "insufficient available balance" } }

Endpoints ​

Players ​

MethodPathSummary
POST/player/launchLaunch a player
POST/player/logoutLog a player out
GET/playerGet a player
POST/player/updateUpdate a player

Wallet (transfer) ​

MethodPathSummary
POST/wallet/depositDeposit (transfer in)
POST/wallet/withdrawWithdraw (transfer out)
GET/wallet/transferLook up a transfer
GET/wallet/balanceGet a balance

Bets ​

MethodPathSummary
GET/betsSync bets (cursor)
GET/bets/summaryDaily per-player summary

Tables and rounds ​

MethodPathSummary
GET/rounds/{roundId}Get a round result
GET/tablesList tables
POST/tables/enableEnable a table
POST/tables/disableDisable a table

Account ​

MethodPathSummary
GET/accountAccount summary
GET/account/usageDaily usage
GET/account/statementsMonthly statements

Webhook events ​

Events the platform sends to your server. Signatures, retries and idempotency are covered in Webhooks.

EventSummarydata
bet.settledRound settledRoundEventData
round.correctedRound recalculated after a correctionRoundEventData
round.voidedRound voidedRoundEventData
player.kickedPlayer kickedPlayerKickedData
account.graceGrace period startedAccountStateData
account.downgradedDowngradedAccountStateData
account.restoredRestoredAccountStateData
account.topupTop-up creditedAccountTopupData
account.low_balanceLow balanceAccountLowBalanceData
testTest eventTestEventData

Downloads ​

After importing, fill in apiKey and apiSecret (a sandbox key) under the collection Variables; every request is signed automatically before it is sent.

elite Tenant Integration API v1