**版本：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**

**数据结构 | 示例**

**数据结构**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `has_more` boolean

    Indicator of whether there is more data for pagination
  - `list` object[]

    List of reserve details

    *   Array [

    - `store_id` string

      Unique identifier for the store
    - `pay_currency` string

      Currency of payment amount.
    - `transaction_id` string

      Transaction order number, applicable to all transaction types
    - `pay_amount` string

      Transaction order amount, in currency
    - `reserve_amount` string

      Reserve amount for deposits
    - `created_at` string

      Creation time of payment related to reserve (unix timestamp)
    - `merchant_id` string

      Merchant ID
    - `reserve_currency` string

      Currency of reserve amount
    *   ]
  - `cursor` string

    cursor for pagination

```json
{
  "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**

**数据结构 | 示例 | 示例**

**数据结构**

- `code` string

  error code
- `message` string

  error message

```json
{
  "code": "string",
  "message": "string"
}
```

```json
{
  "code": "InvalidParameter",
  "message": "Currency is required."
}
```

invalid parameter

**application/json**

**数据结构 | 示例 | 示例**

**数据结构**

- `code` string

  error code
- `message` string

  error message

```json
{
  "code": "string",
  "message": "string"
}
```

```json
{
  "code": "InvalidParameter",
  "message": "wrong cursor"
}
```
