# 账户币种查询

> 查询商户账户支持的币种及余额。

```yaml
openapi: 3.1.0
info:
  title: 账户币种查询
  version: 1.0.0
  description: 查询商户账户支持的币种及余额。
paths:
  /api/v1/acct/queryAcctCurrency:
    post:
      summary: 账户币种查询
      description: 查询商户账户支持的币种及余额。
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                merchantNo:
                  type: string
                  description: Onerway 分配的商户号。通常在沙盒或生产商户开通后，从商户后台或开户材料中获取。
                sign:
                  type: string
                  description: 请求签名字符串，需使用商户私钥按 Transfer 请求签名规则生成。
              required:
                - merchantNo
                - sign
            examples:
              query-account-currencies:
                summary: 账户币种查询
                value:
                  merchantNo: "801129"
                  sign: "{{SIGN}}"
      responses:
        "200":
          description: 返回账户币种列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  respCode:
                    type: string
                    description: Onerway 返回的响应码。
                  respMsg:
                    type:
                      - string
                      - "null"
                    description: Onerway 返回的响应信息。
                    x-onerway-value:
                      nullable: true
                      when:
                        en: No response message is returned.
                        zh: 未返回响应信息时为 `null`。
                  data:
                    type: object
                    properties:
                      accountCurrencyQueryDetailDTOList:
                        type: array
                        description: 币种列表。
                        items:
                          type: object
                          properties:
                            currency:
                              type: string
                              description: 币种。
                            balance:
                              type: string
                              description: 余额。
                    description: 用于查询商户账户支持的所有币种及其对应余额。
              examples:
                account-currencies-returned:
                  summary: 返回账户币种列表
                  value:
                    respCode: "20000"
                    respMsg: Success
                    data:
                      accountCurrencyQueryDetailDTOList:
                        - currency: USD
                          balance: "15000.50"
                        - currency: EUR
                          balance: "8750.25"
                        - currency: GBP
                          balance: "12300.75"
```
