# Account Currency Query

> Query the currencies supported by the merchant account and their balances.

```yaml
openapi: 3.1.0
info:
  title: Account Currency Query
  version: 1.0.0
  description: Query the currencies supported by the merchant account and their balances.
paths:
  /api/v1/acct/queryAcctCurrency:
    post:
      summary: Account Currency Query
      description: Query the currencies supported by the merchant account and their
        balances.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                merchantNo:
                  type: string
                  description: Merchant number assigned by Onerway. Retrieve it from the merchant
                    portal or onboarding material after your sandbox or
                    production account is created.
                sign:
                  type: string
                  description: Request signature string. Generate it according to the Transfer
                    request-signing rules with your merchant private key.
              required:
                - merchantNo
                - sign
            examples:
              query-account-currencies:
                summary: Query account currencies
                value:
                  merchantNo: "801129"
                  sign: "{{SIGN}}"
      responses:
        "200":
          description: Account currencies returned
          content:
            application/json:
              schema:
                type: object
                properties:
                  respCode:
                    type: string
                    description: Response code returned by Onerway.
                  respMsg:
                    type:
                      - string
                      - "null"
                    description: Response message returned by Onerway.
                    x-onerway-value:
                      nullable: true
                      when:
                        en: No response message is returned.
                        zh: 未返回响应信息时为 `null`。
                  data:
                    type: object
                    properties:
                      accountCurrencyQueryDetailDTOList:
                        type: array
                        description: Currency list.
                        items:
                          type: object
                          properties:
                            currency:
                              type: string
                              description: Currency code.
                            balance:
                              type: string
                              description: Available balance under this currency.
                    description: Supported account currencies and balances.
              examples:
                account-currencies-returned:
                  summary: Account currencies returned
                  value:
                    respCode: "20000"
                    respMsg: Success
                    data:
                      accountCurrencyQueryDetailDTOList:
                        - currency: USD
                          balance: "15000.50"
                        - currency: EUR
                          balance: "8750.25"
                        - currency: GBP
                          balance: "12300.75"
```
