> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 查询银行账户列表

> 查询已绑定的银行账户列表。

## 概述

本页说明 `GET /withdraw/open/institution/otc/api/bank/list` 接口。完整的请求参数、响应结构与示例由上方关联的 OpenAPI 定义渲染。

## 说明

* 认证方式使用 GatePay 标准签名请求头。
* 本页展示同一接口的机构路径版本。
* 除创建子账户、查询子账户详情、分页查询子账户外，机构侧请求需携带 `X-GatePay-On-Behalf-Of`。
* 通用签名规则请参见 [/api-reference/version/100/cn/common/securityAndSignature](/api-reference/version/100/cn/common/securityAndSignature)。

## 补充字段说明

### 请求筛选字段

* `bankAccountName`：银行账户名称，支持模糊查询
* `iban`：账号或 IBAN，支持模糊查询
* `swift`：SWIFT，支持模糊查询
* `bankName`：银行名称，支持模糊查询

### 关键返回字段

* `data[].countryId`：国家 ID
* `data[].countryName`：国家名称
* `data[].address`：银行地址
* `data[].remittanceLineNumber`：路由或清算代码
* `data[].agentBankName`：代理银行名称
* `data[].agentBankSwift`：代理银行 SWIFT
* `data[].status`：银行账户审核状态。`1` 表示通过，`2` 表示待审核，`3` 表示待补充材料，`99` 表示拒绝
* `data[].memo`：备注。由运营人员操作时填写，通常用于审核拒绝时返回失败原因


## OpenAPI

````yaml api-reference/version/100/cn/openapi/institution/otc-fiat-openapi.json GET /withdraw/open/institution/otc/api/bank/list
openapi: 3.1.0
info:
  title: GatePay OTC 法币 API
  description: OTC 法币出金与入金 API 参考。
  version: 2.1.0
servers:
  - url: https://openplatform.gateapi.io
security: []
paths:
  /withdraw/open/institution/otc/api/bank/list:
    get:
      summary: 查询银行账户列表
      description: 查询已绑定的银行账户列表。
      parameters:
        - $ref: '#/components/parameters/X-GatePay-Certificate-ClientId'
        - $ref: '#/components/parameters/X-GatePay-Signature'
        - $ref: '#/components/parameters/X-GatePay-Timestamp'
        - $ref: '#/components/parameters/X-GatePay-Nonce'
        - $ref: '#/components/parameters/X-GatePay-On-Behalf-Of'
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BankListResponse'
components:
  parameters:
    X-GatePay-Certificate-ClientId:
      name: X-GatePay-Certificate-ClientId
      in: header
      required: true
      schema:
        type: string
      description: 用于标识调用应用的商户应用 ClientId。
    X-GatePay-Signature:
      name: X-GatePay-Signature
      in: header
      required: true
      schema:
        type: string
      description: 按 GatePay 签名规则生成的 HMAC 签名。
    X-GatePay-Timestamp:
      name: X-GatePay-Timestamp
      in: header
      required: true
      schema:
        type: string
      description: 用于防重放和验签的 Unix 时间戳。
    X-GatePay-Nonce:
      name: X-GatePay-Nonce
      in: header
      required: true
      schema:
        type: string
      description: 与时间戳配合使用的随机串，用于防止重放攻击。
    X-GatePay-On-Behalf-Of:
      name: X-GatePay-On-Behalf-Of
      in: header
      required: true
      schema:
        type: string
      description: >-
        必填代理归属请求头。请填写本次请求的发起方账户 ID；在机构代理商户 API 中通常填写目标子账户 ID，在机构代扣与划转接口中可填写机构账户
        ID 或子账户 ID。
  schemas:
    BankListResponse:
      type: object
      properties:
        code:
          type: string
          description: 业务响应码。
        status:
          type: string
          description: 请求顶层状态。
        data:
          type: array
          items:
            type: object
            properties:
              bankAccountId:
                type: string
                description: 银行账户 ID。
              bankAccountName:
                type: string
                description: 银行账户持有人名称。
              bankName:
                type: string
                description: 银行名称。
              countryId:
                type: integer
                description: 国家 ID。
              countryName:
                type: string
                description: 国家名称。
              address:
                type: string
                description: 银行地址。
              iban:
                type: string
                description: IBAN 或银行账号。
              swift:
                type: string
                description: SWIFT 或 BIC 代码。
              remittanceLineNumber:
                type: string
                description: 路由或清算代码。
              agentBankName:
                type: string
                description: 代理银行名称。
              agentBankSwift:
                type: string
                description: 代理银行 SWIFT。
              status:
                type: integer
                description: 银行账户审核状态。`1` 表示通过，`2` 表示待审核，`3` 表示待补充材料，`99` 表示拒绝。
                enum:
                  - 1
                  - 2
                  - 3
                  - 99
              memo:
                type: string
                description: 备注。由运营人员操作时填写，通常用于审核拒绝时返回失败原因。
          description: 已绑定银行账户列表。

````