版本:202201
查询备用金明细列表
GET/openapi/2024-07/shoplazza-payment/reserved-fund/details
分页返回备用金明细记录,可按币种、地区和创建时间范围过滤。
请求
Query参数
created_at_min string
筛选在该 Unix 时间及之后创建的备用金记录(如 1730548810)。
created_at_max string
筛选在该 Unix 时间及之前创建的备用金记录(如 1730548810)。
limit int32
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
cursor string
分页游标。
currency string
备用金账户的币种代码。默认使用商家的默认币种,且必须与所选地区相匹配。
响应
- 200
- 422
- 500
OK
- application/json
- 数据结构
- 示例
数据结构
- Array [
- ]
codestring
error code
messagestring
error message
data object
has_moreboolean
Indicator of whether there is more data for pagination
list object[]
List of reserve details
store_idstring
Unique identifier for the store
pay_currencystring
Currency of payment amount.
transaction_idstring
Transaction order number, applicable to all transaction types
pay_amountstring
Transaction order amount, in currency
reserve_amountstring
Reserve amount for deposits
created_atstring
Creation time of payment related to reserve (unix timestamp)
merchant_idstring
Merchant ID
reserve_currencystring
Currency of reserve amount
cursorstring
cursor for pagination
{
"code": "string",
"message": "string",
"data": {
"has_more": true,
"list": [
{
"store_id": "string",
"pay_currency": "string",
"transaction_id": "string",
"pay_amount": "string",
"reserve_amount": "string",
"created_at": "string",
"merchant_id": "string",
"reserve_currency": "string"
}
],
"cursor": "string"
}
}
invalid parameter
- application/json
- 数据结构
- 示例
- 示例
数据结构
codestring
error code
messagestring
error message
{
"code": "string",
"message": "string"
}
{
"code": "InvalidParameter",
"message": "Currency is required."
}
invalid parameter
- application/json
- 数据结构
- 示例
- 示例
数据结构
codestring
error code
messagestring
error message
{
"code": "string",
"message": "string"
}
{
"code": "InvalidParameter",
"message": "wrong cursor"
}