# Transfer Method Query

> Query the supported transfer methods for a country, currency, and entity type combination.

```yaml
openapi: 3.1.0
info:
  title: Transfer Method Query
  version: 1.0.0
  description: Query the supported transfer methods for a country, currency, and
    entity type combination.
paths:
  /api/v1/acct/queryPaymentMethods:
    post:
      summary: Transfer Method Query
      description: Query the supported transfer methods for a country, currency, and
        entity type combination.
      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.
                destinationCountry:
                  type: string
                  description: Destination country or region of the payout.
                accountCurrency:
                  type: string
                  description: Settlement or receiving currency used for the transfer.
                entityType:
                  type: string
                  description: Beneficiary entity type. `0` for business and `1` for individual.
                sign:
                  type: string
                  description: Request signature string. Generate it according to the Transfer
                    request-signing rules with your merchant private key.
              required:
                - merchantNo
                - destinationCountry
                - accountCurrency
                - entityType
                - sign
            examples:
              query-transfer-methods:
                summary: Query transfer methods
                value:
                  accountCurrency: USD
                  destinationCountry: US
                  entityType: "0"
                  merchantNo: "801129"
                  sign: "{{SIGN}}"
      responses:
        "200":
          description: Transfer methods 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:
                      destinationCountry:
                        type: string
                        description: Destination country returned by the query.
                      accountCurrency:
                        type: string
                        description: Currency returned by the query.
                      entityType:
                        type: string
                        description: Entity type returned by the query.
                      paymentMethods:
                        type: array
                        description: List of supported payout methods.
                        items:
                          type: string
                    description: Supported transfer methods for the requested country, currency, and
                      entity type.
              examples:
                transfer-methods-returned:
                  summary: Transfer methods returned
                  value:
                    respCode: "20000"
                    respMsg: null
                    data:
                      destinationCountry: US
                      accountCurrency: USD
                      entityType: "0"
                      paymentMethods:
                        - E_WALLET
                        - SWIFT
                        - BANK_TRANSFER
                        - CASH_PICKUP
```
