查询子合约钱包列表
GET/user/list
分页查询商户已创建的用户子合约钱包列表。
Request
Query Parameters
-
0
- 充值类用户,钱包地址是通过API接口(创建用户子合约钱包)生成。 -
1
- 收单类用户,钱包地址是由系统在收单期间自动生成。
chainId int32
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
UUID string
用户 UUID
userId int32
用户 ID
page int64
Possible values: >= 1
and <= 1000000
Default value: 1
页码
size int64
Possible values: <= 500
Default value: 10
每页显示的记录数
userType int32
Possible values: [0
, 1
]
用户类型
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
Array [
]
0
- 充值类用户,钱包地址是通过 API 接口(创建用户子合约钱包)生成1
- 收单类用户,钱包地址是由系统在收单期间自动生成]
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object
分页结果对象
count int64required
符合条件的记录总数
page int64required
当前查询的页码
size int64required
每页显示的记录数
list
object[]
required
userId int32required
用户 ID
uuid stringrequired
用户 UUID
createTime date-timerequired
用户创建时间
userWallet
object[]
required
用户子钱包列表
chainId int32required
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
walletId int32required
用户子钱包 ID
walletAddress stringrequired
用户子钱包地址
userType int32
Possible values: [0
, 1
]
用户类型:
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"count": 0,
"page": 0,
"size": 0,
"list": [
{
"userId": 0,
"uuid": "string",
"createTime": "2024-07-29T15:51:28.071Z",
"userWallet": [
{
"chainId": 0,
"walletId": 0,
"walletAddress": "string"
}
],
"userType": 0
}
]
}
}
{
"code": 200,
"msg": "success",
"data": {
"page": 1,
"size": 2,
"count": 7,
"list": [
{
"userId": 1054,
"createTime": "2024-03-28 11:43:05",
"userWallet": [
{
"walletId": 55875,
"chainId": 1,
"walletAddress": "TGJVB5aC6wvG7fgD7uyfYsPbEUKhV4vigC"
}
],
"userType": 1,
"uuid": "2313-5f08afe6ca854e4ebf79781f351d0cb7"
},
{
"userId": 1017,
"createTime": "2024-03-09 01:20:31",
"userWallet": [
{
"walletId": 55846,
"chainId": 1,
"walletAddress": "TRj5wVppu4T1yYitudfUGSFwUTcVgJeXb3"
}
],
"userType": 1,
"uuid": "2313-b49c0a05e3fd40c6b87cd8e795ad3703"
}
]
}
}
Unauthorized
Forbidden
Not Found
Loading...