Get Member Sessions
Query all active sessions for a specified member.
API Information
- URL:
POST /v2/members/sessions/check - Authentication:Bearer Token
- Encryption:Requests are encrypted using AES-256-GCM; responses are returned as plaintext JSON
request
request Headers
POST /v2/members/sessions/check HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
x-agentid: integratorNBTest04
x-timestamp: 1769746894501
x-nonce: 56ffd5ecd8a3a4457863a0bd7c298fb2
x-signature: 904e97bee2589b93e9747eed0346c68b23d8ff8b568dabaf4b94a5e89093df67
Request Parameters
Request Body Before Encryption
{
"username": "player001"
}
Encrypted Request Body
{
"cipherText": "G0ZMDELeJwx+7JcIfIFOLJjkSzANPu6krGM2uw==..."
}
| Field | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Player Account |
Response
Success Response
{
"code": 0,
"message": "No error.",
"data": [
{
"mode": "real",
"gamecode": "VP_230001_1",
"sessionInfo": {
"deviceType": 1,
"ipaddress": "127.0.0.1",
"lang": "en",
"gameCode": "VP_230001_1",
"username": "VPSysDevTest001",
"launchType": 2,
"currency": "THB",
"brandCurrency": "THB",
"agentType": 1
}
}
],
"logUUID": "955585ed-adeb-436e-8be0-ebf2b81b7d15"
}
| Field | Type | Description |
|---|---|---|
code | number | Status code |
message | string | Status message |
data | array | Session List |
data[].mode | string | Game mode (real: real-money mode, demo: demo mode) |
data[].gamecode | string | Game Code |
data[].sessionInfo | object | Session Details |
data[].sessionInfo.deviceType | number | Device Type (1: PC, 2: Mobile) |
data[].sessionInfo.ipaddress | string | IP |
data[].sessionInfo.lang | string | Language |
data[].sessionInfo.gameCode | string | Game Code |
data[].sessionInfo.username | string | Player Account |
data[].sessionInfo.launchType | number | Launch Type: 0 = both, 1 = demo, 2 = real |
data[].sessionInfo.currency | string | Currency |
data[].sessionInfo.brandCurrency | string | Game Brand currency |
data[].sessionInfo.agentType | number | Agent's wallet type: 1:Transfer Wallet, 2:Seamless Wallet |
logUUID | string | Request tracking ID for troubleshooting and log queries |
Error Response
{
"code": 8,
"message": "The User is not exist.",
"logUUID": "6589bf8d-fe74-48bd-841a-71bf8f848f86"
}
Common Error Codes
| Code | Description |
|---|---|
| 8 | The member does not exist. |
| 11 | Parameters error |
| 81 | Branch config not found |
| 83 | Authentication Failed |
| 84 | Decryption Failed |