**版本：202201**

# 查询打款明细列表

**GET** `/openapi/2024-07/shoplazza-payment/payout/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.
- `currency` string

  打款账户的币种代码。默认使用商家的默认币种，且必须与所选地区相匹配。
- `cursor` string

  分页游标。

## 响应

**200 | 422 | 500**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `list` object[]

    List of payout details

    *   Array [

    - `id` string

      Payout ID
    - `store_id` string

      Unique identifier for the store
    - `created_at` string

      Payout time (unix timestamp)
    - `status` string

      Payout status (e.g., "succeeded","processing", "failed") succeeded: The payout was successfully completed, and funds have been transferred to the recipient. processing: The payout is currently in progress, and the final transfer of funds is pending confirmation. failed: The payout attempt failed, and the funds were not transferred.
    - `currency` string

      Payout currency
    - `amount` string

      Payout amount
    - `bank_name` string

      Bank name where the payout is received
    - `last4` string

      Last 4 digits of the bank account receiving the payout
    - `routing_number` string

      Routing number of the bank account receiving the payout
    *   ]
  - `has_more` boolean

    Indicator of whether there is more data for pagination
  - `cursor` string

    cursor for pagination

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "list": [
      {
        "id": "string",
        "store_id": "string",
        "created_at": "string",
        "status": "string",
        "currency": "string",
        "amount": "string",
        "bank_name": "string",
        "last4": "string",
        "routing_number": "string"
      }
    ],
    "has_more": true,
    "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"
}
```
