POST Request#
Supported request data type: Content-Type: application/jsonAll POST requests require the following headers:| Header | Type | Required | Description |
|---|
Content-Type | string | Yes | application/json |
Accept‑Language | string | No | Language code (default: en) |
X-PUBLIC-KEY | string | Yes | Agent's public API key |
X-TIMESTAMP | string | Yes | Unix timestamp (seconds) |
X-SIGNATURE | string | Yes | HMAC-SHA256 hex signature (see Signature Guide) |
Request Body#
All POST requests send parameters as JSON in the request body. Each endpoint defines its own parameters — see individual endpoint documentation for details.{
"playerUsername": "johndoe123",
"currency": "USD"
}
Response#
All API responses are returned in a fixed format:| Parameter | Type | Description |
|---|
status | string | Response status code (see Response Codes) |
msg | string | Localized message based on Accept-Language header |
data | any | Response content (only present on success with data) |
Response Examples#
{
"status": "0000",
"msg": "Success.",
"data": {
}
}
{
"status": "0000",
"msg": "Success."
}
{
"status": "4000",
"msg": "Invalid request, please check and try again."
}
Supported Languages#
Messages are localized via Accept-Language header:| Code | Language |
|---|
en | English (default) |
th | Thai |
zh | Chinese |
ja | Japanese |
ko | Korean |
id | Indonesian |
ms | Malay |
my | Burmese |
km | Khmer |
lo | Lao |
hi | Hindi |
bn | Bengali |
ph | Filipino |
vn | Vietnamese |
pt | Portuguese |
es | Spanish |
tr | Turkish |
sv | Swedish |
Modified at 2026-03-20 14:28:28