Action 79: Query Tipping History
Function Description
- Query all tipping records for a single agent within a specific time range.
- The value of
ss.sss
(seconds.milliseconds) in the start and end times must be00.000
. - The maximum time range for each query is 5 minutes.
- The query results are based on
tipDate
(tipping time). - Provides tipping records from 3 minutes ago to 180 days ago. For example, if the query time is 15:00:00, the data range for five minutes is from 14:52:00.000 to 14:57:00.000.
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
action | Integer | Y | 79 |
ts | Long | Y | Current system timestamp |
parent | String(50) | Y | Agent account |
startTime | String | Y | Query start time (ISO-8601 format): yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm |
endTime | String | Y | Query end time (ISO-8601 format): yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm |
Example
{
"action": 79,
"ts": 1710154494058,
"parent": "testag",
"startTime": "2025-01-01T00:00:00.000+01:00",
"endTime": "2025-01-01T00:05:00.000+01:00"
}
Return Result
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: Refer to appendix Error Codes No data: 0000 |
data | JSON Array | The returned data array is listed below |
err_text | String(255) | Error message |
Tipping Record Details
Parameter | Format | Description |
---|---|---|
tipId | String(200) | Tipping serial number |
playerId | String(50) | Player account |
amount | Double | Tipping amount |
currency | String(10) | Currency Refer to appendix Currency Code |
tipDate | String | Tipping time (ISO-8601 format): yyyy-MM-ddTHH:mm:ss.sss+\|-hh:mm' |
gType | String | Game type Refer to appendix Game Provider |
mType | String | Machine type Refer to appendix Game List |
transferId | Long | Transaction ID |
操作范例
// Http Request
http://{API_Address}/apiRequest.do?dc=jb&x=4x30pdhFGt07YgN1yJSAdb_Cma3VNC3FDgJZZIgZWUd-BOHHX7Bz-zMpNOm08tFOon2DMmxRZOBUy_elSkh1anVTug3fJAozNDM4B1kRqdC_4qwPrwWhFzlCkp3AM2W2QV5Vrfv2USKoPsOCECxp6tamrMJmpvZcE5s0Ry7aUzAFCkJAqMC8WxCHhXiCmQx0wKjfysoXR_v1yJAEl54H-g
// Http Response (success)
{
"status": "0000",
"data": [
{
"tipId": "fd5c966f-f2f9-4031-b0a1-b8d4b8513422",
"playerId": "testpl01",
"amount": "15.000000",
"currency": "RB",
"tipDate": "2025-06-23T12:06:39.566+08:00",
"transferId": 413606,
"gType": "7",
"mType": "210001"
},
{
"tipId": "fd5c966f-f2f9-4031-b0a1-b8d4b8513423",
"playerId": "testpl01",
"amount": "15.000000",
"currency": "RB",
"tipDate": "2025-06-23T12:06:39.566+08:00",
"transferId": 413607,
"gType": "7",
"mType": "210001"
}
]
}