Account
What the platform bills you: plan and account state, prepaid credit, daily usage and monthly statements. Top-ups are done in the Console only.
Guide: read the integration guide for this area
TIP
Examples are signed with the example key and timestamp from "Authentication & signing", so you can re-check them in the Signature debugger.
Account summary
GET /api/tenant/v1/account
Plan, account state, prepaid credit, enabled tables and quota, streaming used this month, average daily cost over the last 7 days, estimated days left and the grace deadline.
Example request
GET /api/tenant/v1/account HTTP/1.1
Host: elite.ewin888.com
X-Api-Key: ek_s_1a_XXXXXXXXXXXXXXXX
X-Timestamp: 1790218800
X-Nonce: ex7b4f461cadf422972ee082
X-Signature: 48cc9647c55affd0452b6da3299d90c2fc5db349858cb5eb4a3073592db40f9aResponse data
| Field | Type | Description |
|---|---|---|
plan | string | Plan: free (demo) or paid.Values: free, paid |
state | string | Account state, see "Billing". Values: FREE, PAID, GRACE, DOWNGRADED, SUSPENDED, CLOSED |
balanceUsd | string | Prepaid credit balance (can be negative). Format: ^-?\d{1,12}(\.\d{1,6})?$ |
tablesUsed | integer | Tables enabled. |
tablesQuota | integer | null | Table quota; null on the paid plan. |
streamGbMonth | string | Streaming used this month (UTC), in GB with 3 decimals. |
avgDailyUsd7d | string | Average daily cost over the last 7 days. Format: ^-?\d{1,12}(\.\d{1,6})?$ |
daysLeft | integer | null | Estimated days the credit will last at the current cost; null when there is no cost. |
graceUntil | string (date-time) | null | End of the grace period (only in GRACE). |
Example response
{
"ok": true,
"data": {
"plan": "paid",
"state": "PAID",
"balanceUsd": "842.315",
"tablesUsed": 3,
"tablesQuota": null,
"streamGbMonth": "412.906",
"avgDailyUsd7d": "14.672",
"daysLeft": 57,
"graceUntil": null
}
}Error codes
No endpoint-specific error codes.
Every endpoint can also return the common errors (UNAUTHORIZED, IP_NOT_ALLOWED, TENANT_SUSPENDED, RATE_LIMITED, INTERNAL_ERROR…).
Daily usage
GET /api/tenant/v1/account/usage
Table-days, streaming GB and charges for each UTC day in the range. Today is not charged yet and shows the running total.
Parameter
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
from | query | string | yes | First day YYYY-MM-DD (UTC, inclusive).Format: ^\d{4}-\d{2}-\d{2}$ |
to | query | string | yes | Last day YYYY-MM-DD (UTC, inclusive).Format: ^\d{4}-\d{2}-\d{2}$ |
Example request
GET /api/tenant/v1/account/usage?from=2026-09-24&to=2026-09-24 HTTP/1.1
Host: elite.ewin888.com
X-Api-Key: ek_s_1a_XXXXXXXXXXXXXXXX
X-Timestamp: 1790218800
X-Nonce: exff963a0ec6342cc030b037
X-Signature: 2cdb9e903b909dc03107a388b3b4319ab00899a4b54e09e0ef37dc8d5219529cResponse data
| Field | Type | Description |
|---|---|---|
days | UsageDay[] | |
days[].day | string | A date YYYY-MM-DD.Format: ^\d{4}-\d{2}-\d{2}$ |
days[].tableDays | number | Billable table-days that day. |
days[].streamGb | string | Streaming used (GB, 3 decimals). |
days[].streamSource | string | Where the streaming number comes from: cdn (CDN totals by tag), client (player reports) or estimate.Values: cdn, client, estimate |
days[].tableFeeUsd | string | Table fee. Format: ^-?\d{1,12}(\.\d{1,6})?$ |
days[].streamFeeUsd | string | Streaming fee. Format: ^-?\d{1,12}(\.\d{1,6})?$ |
Example response
{
"ok": true,
"data": {
"days": [
{
"day": "2026-09-23",
"tableDays": 3,
"streamGb": "18.204",
"streamSource": "client",
"tableFeeUsd": "10",
"streamFeeUsd": "1.638372"
}
]
}
}Error codes
| Code | HTTP | Meaning |
|---|---|---|
INVALID_PARAMETER | 400 | A required field is missing, or a field has the wrong format or value; message names the field. |
Every endpoint can also return the common errors (UNAUTHORIZED, IP_NOT_ALLOWED, TENANT_SUSPENDED, RATE_LIMITED, INTERNAL_ERROR…).
Monthly statements
GET /api/tenant/v1/account/statements
The last 24 monthly statements (newest first). A statement for the previous month is produced on the 1st of each month. Full details are in the Console under "Plan & billing → Monthly statements".
Example request
GET /api/tenant/v1/account/statements HTTP/1.1
Host: elite.ewin888.com
X-Api-Key: ek_s_1a_XXXXXXXXXXXXXXXX
X-Timestamp: 1790218800
X-Nonce: exc8d9cee497f5639f4d2bdf
X-Signature: 03b0b872b4c743a0690103d320bb671c93730e8b705d9407ca9622b06459f3d5Response data
| Field | Type | Description |
|---|---|---|
statements | Statement[] | |
statements[].period | string | Period YYYY-MM.Format: ^\d{4}-\d{2}$ |
statements[].openingUsd | string | Opening balance. Format: ^-?\d{1,12}(\.\d{1,6})?$ |
statements[].chargesUsd | string | Total charges (negative). Format: ^-?\d{1,12}(\.\d{1,6})?$ |
statements[].paymentsUsd | string | Total payments and credits. Format: ^-?\d{1,12}(\.\d{1,6})?$ |
statements[].closingUsd | string | Closing balance. Format: ^-?\d{1,12}(\.\d{1,6})?$ |
Example response
{
"ok": true,
"data": {
"statements": [
{
"period": "2026-08",
"openingUsd": "120",
"chargesUsd": "-310.52",
"paymentsUsd": "1000",
"closingUsd": "809.48"
}
]
}
}Error codes
No endpoint-specific error codes.
Every endpoint can also return the common errors (UNAUTHORIZED, IP_NOT_ALLOWED, TENANT_SUSPENDED, RATE_LIMITED, INTERNAL_ERROR…).