Seamless
JDB Platform API
Functions
Report-Related
Action 79: Query Tipping History

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 be 00.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

ParameterTypeRequiredDescription
actionIntegerY79
tsLongYCurrent system timestamp
parentString(50)YAgent account
startTimeStringYQuery start time (ISO-8601 format):
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
endTimeStringYQuery 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

ParameterFormatDescription
statusString(4)Success: 0000

Error: Refer to appendix Error Codes
No data: 0000
dataJSON ArrayThe returned data array is listed below
err_textString(255)Error message

Tipping Record Details


ParameterFormatDescription
tipIdString(200)Tipping serial number
playerIdString(50)Player account
amountDoubleTipping amount
currencyString(10)Currency
Refer to appendix Currency Code
tipDateStringTipping time (ISO-8601 format):
yyyy-MM-ddTHH:mm:ss.sss+\|-hh:mm'
gTypeStringGame type
Refer to appendix Game Provider
mTypeStringMachine type
Refer to appendix Game List
transferIdLongTransaction 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"
    }
  ]
}