# 查询用户余额流水
# 简要描述
-查询用户余额流水
# 请求URL
/api/getUserBalanceList
# 请求头
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
Content-Type | 是 | string | 此参数必传,当请求数据非json时此参数传对应格式如(multipartform-data,application/x-www-form-urlencoded,等)是json请传application/json |
askKey | 是 | string | 此参数必传,验证app的令牌 |
sign | 否 | string | 此参数如果在app设置开启了验签是必传 |
time | 否 | string | 当开启验签时,此参数为必传 |
apiUserToken | 是 | string | 用户令牌 |
nonce | 否 | string | 随机字符串(当开启V3验签此参数必传,且2分钟内不允许重复) |
# 请求方式
- post
# 参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
p | 否 | int | 分页页码 |
s | 否 | int | 分页每页条数最大1000 |
cardStr | 否 | string | 卡密,支持模糊查询 |
# 请求示例
{
"p":1,
"s":10,
}
1
2
3
4
2
3
4
# 返回示例
{
"code": "200",
"message": "",
"status": true,
"data": [
{
"id": "783580202212548608",
"createdDate": 1675931688649,
"modifiedDate": 1675931688649,
"status": 1,
"appId": "657801375071686656",
"cardMyId": "783580202212548608",
"userId": "783541151795273728",
"cardStr": "80C4F61265562DEBAA32DF680368B8A0",
"type": 1,
"state": 0,
"expireTime": "2023-02-22 09:22:41",
"systemStr": "wewewe"
},
{
"id": "783580202208354304",
"createdDate": 1675931688648,
"modifiedDate": 1675931688648,
"status": 1,
"appId": "657801375071686656",
"cardMyId": "783580202208354304",
"userId": "783541151795273728",
"cardStr": "9B02D5E6E2672B74672B3A3201E905C9",
"type": 1,
"state": 1
}
],
"pc": {
"pageIndex": 1,
"pageSize": 2,
"pageWindow": 10,
"maxPages": 36,
"total": 72,
"startIndex": 0,
"endIndex": 2,
"startPageIndex": 1,
"nextPage": 2,
"endPageIndex": 11,
"previousPage": 0
},
"time": null,
"sign": null
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
code | string | 状态码200成功403权限异常或登陆超时,500请求异常 |
status | int | 状态0删除1使用 |
data | array | 内容 |
createdDate | string | 创建时间 |
beforeBalance | decimal | 修改前余额 |
afterBalance | decimal | 修改后余额 |
updateType | int | 0增加1减少 |
# 备注
- 更多返回错误代码请看首页的错误代码描述