Query Bet Records
Query player bet records. API provided by the game platform for merchants (operators).
Request URL
POST {API_URL_ROOT}/game/getRecords
Request Parameters
| Field |
Required |
Type |
Description |
| sign |
YES |
string |
Signature computed using the Signature Algorithm. |
| timestamp |
YES |
int |
UTC timestamp seconds since 1970-01-01, e.g. 1741837297. |
| Accept-Language |
YES |
string |
Language codes, see Language List. |
| Content-Type |
YES |
string |
"application/json; charset=utf-8" |
Body
| Field |
Required |
Type |
Description |
| tenantId |
YES |
int |
Merchant ID assigned by platform. |
| userId |
NO |
string |
Merchant player ID. |
| gameId |
NO |
int |
Game ID. |
| pageNumber |
YES |
int |
Page number, starts at 1. |
| pageSize |
YES |
int |
Page size (< 1000). |
| beginTime |
YES |
long |
Start time (milliseconds timestamp). |
| endTime |
NO |
long |
End time (ms). If null defaults to current time. |
Example
{
"tenantId": 1,
"pageNumber": 1,
"pageSize": 100,
"beginTime": 1749180909000,
"endTime": 1749667626000
}
Response Parameters
| Field |
Required |
Type |
Description |
| recordId |
YES |
string |
Record ID. |
| tenantId |
YES |
int |
Merchant ID. |
| userId |
YES |
string |
Player ID. |
| nickName |
YES |
string |
Player nickname. |
| gameId |
YES |
int |
Game ID. |
| changeType |
YES |
int |
Change type (see changeType table). |
| roundId |
YES |
string |
Round ID. |
| area |
YES |
int |
Bet area. |
| gameName |
YES |
string |
Game name. |
| gameType |
YES |
int |
Game category (see gameType table). |
| gameBrand |
YES |
int |
Game brand (see gameBrand table). |
| betType |
YES |
int |
Bet type (see betType table). |
| beginBalance |
YES |
decimal |
Starting balance. |
| betAmount |
YES |
double |
Bet amount. |
| bonus |
YES |
double |
Payout amount. |
| endBalance |
YES |
decimal |
Ending balance. |
| multiple |
YES |
double |
Payout multiplier (bonus / betAmount, 6 decimals, rounded). |
| status |
YES |
boolean |
true success, false failed. |
| ceatedAt |
YES |
long |
Bet time (ms timestamp). |
| updatedAt |
YES |
long |
Settlement time (ms timestamp). |
Example
{
"isSuccess": true,
"code": 0,
"data": {
"totalCount": 23,
"count": 5,
"pageNumber": 1,
"pageSize": 5,
"data": [
{
"recordId": "684935942c0b34545b9597aa",
"tenantId": 2,
"userId": "ILgeHHLGbf",
"nickName": "ILgeHHLGbf",
"gameId": 6,
"changeType": 4,
"roundId": "4594806",
"area": 1,
"gameType": 2,
"gameBrand": 2,
"betType": 1,
"beginBalance": 99998.73,
"betAmount": 1,
"bonus": 1.3,
"endBalance": 99999.03,
"multiple": 1.3,
"status": true,
"createdAt": 1749599518000,
"updatedAt": 1749599518000
},
{
"recordId": "684935942c0b34545b9597ab",
"tenantId": 2,
"userId": "ILgeHHLGbf",
"nickName": "ILgeHHLGbf",
"gameId": 6,
"changeType": 4,
"roundId": "4594806",
"area": 2,
"gameType": 2,
"gameBrand": 2,
"betType": 1,
"beginBalance": 99999.73,
"betAmount": 1,
"bonus": 1.46,
"endBalance": 100000.49,
"multiple": 1.46,
"status": true,
"createdAt": 1749599518000,
"updatedAt": 1749599518000
},
{
"recordId": "684935c72c0b34545b9598ba",
"tenantId": 2,
"userId": "ILgeHHLGbf",
"nickName": "ILgeHHLGbf",
"gameId": 6,
"changeType": 4,
"roundId": "4594815",
"area": 1,
"gameType": 2,
"gameBrand": 2,
"betType": 1,
"beginBalance": 100000.49,
"betAmount": 1,
"bonus": 1.05,
"endBalance": 99999.54,
"multiple": 1.05,
"status": true,
"createdAt": 1749599564000,
"updatedAt": 1749599564000
}
]
}
}
gameType Values
| Value |
Description |
| 1 |
Crash Game |
| 2 |
Mini Game |
gameBrand Values
| Value |
Description |
| 1 |
GameBox |
| 2 |
PG |
| 3 |
PP |
| 4 |
JILI |
| 5 |
SPRIBE |
| 6 |
TADA |
| 7 |
TOPBET |
betType Values
| Value |
Description |
| 1 |
Normal Bet |
| 2 |
Cascade |
| 3 |
Free Spin |
| 4 |
Re-spin |
changeType Values
| Value |
Description |
| 1 |
Bet |
| 2 |
Cancel Bet |
| 3 |
Payout |
| 4 |
Game End |