Action 61: Cash Transfer History (Including Rewards)
Function Description
- Search for a certain user’s cash transfer & rewards history in a given time range
- Maximum time range for each search is 3 months.
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 61 |
ts | Long | Y | Current system time |
parent | String(50) | Y | Agent ID |
uid | String(50) | Y | Player ID |
starttime | String(19) | Y | Start time of the searching range (dd-MM-yyyy HH:mm:ss) |
endtime | String(19) | Y | End time of the searching range (dd-MM-yyyy HH:mm:ss) |
Example
{
"action": 61,
"ts": 1447452951820,
"parent": "testag",
"uid": "testpl01",
"starttime": "08-12-2016 17:45:00",
"endtime": "08-12-2016 18:00:00"
}
Return Results
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: See Error Codes in Appendix No Data: 0000 |
data | JSON Array | The returned data will be listed in the following table. |
err_text | String(255) | Error message |
Data Object
Parameter | Format | Description |
---|---|---|
pid | Integer | Transaction number |
payDate | String(19) | Transaction date (dd-MM-yyyy HH:mm:ss) |
action | String(10) | withdraw / deposit / reward |
amount | Number | Transaction Amount |
balance | Number | Account balance |
serialNo | String(50) | Transaction serial No |
remark | String(100) | Remark |
Operation Sample
// Http Request
http://{API_Address}/apiRequest.do?dc=jb&x=udbFVt_xv0tsAmLDpz5Z3Ct4-p0gedUPdQOUWsfd6PHz9Ky-wM3mIC9El4kwl_SlX3lpraVaCLnpK0WsgKmpYTV9XpYncHzbtvn591qfaAwpGyOvsS4v1Yj7OvpRw_iU4554RuSsvHpI9jaj4XUgTK5yzb
WKEddANjAAbxF0s=
// Http Response (success)
{
"status": "0000",
"data":
[
{
"pid":4934,
"payDate":"30-08-2018 14:29:39",
"action":"deposit",
"amount":100,
"balance":100,
"remark":"",
"serialNo":"2018083000105"
},
{
"pid":4938,
"payDate":"30-08-2018 14:35:29",
"action":"withdraw",
"amount":50,"
balance":50,
"remark":"",
"serialNo":"2018083000106"
},
{
"pid":4950,
"payDate":"30-08-2018 14:58:34",
"action":"reward",
"amount":1000,
"balance":1050,
"remark":"2018-08-10 财神发发发",
"serialNo":"20180830_123456_1_1"
}
]
}
// Http Response (error)
{
"status":"9005",
"err_text":"Assertion(SAML) didn't pass the timestamp validation."
}
// Http Response (no data)
{
"status":"0000",
"data":[]
}