# List beneficiaries

> Retrieve a page of beneficiaries by creation time and optional filters.

```yaml
openapi: 3.1.0
x-onerway-docs-version: original
x-onerway-spec-key: transfer/v3-beneficiaries/query-list
info:
  title: List beneficiaries
  version: original
  description: Retrieve a page of beneficiaries by creation time and optional filters.
servers:
  - url: https://sandbox-transfer-api.onerway.com
    description: sandbox
  - url: https://transfer-api.onerway.com
    description: production
paths:
  /api/v3/beneficiary/queryList:
    post:
      summary: List beneficiaries
      description: Retrieve a page of beneficiaries by creation time and optional filters.
      parameters:
        - name: ApiKey
          in: header
          required: true
          description: Account service API key assigned by Onerway, supplied in the
            request header. Use the key for the same environment as the request
            domain.
          schema:
            type: string
            description: Account service API key assigned by Onerway, supplied in the
              request header. Use the key for the same environment as the
              request domain.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                onBehalfOf:
                  type: string
                  description: Merchant number that the request applies to. Supply it only when
                    making a request on behalf of another merchant.
                beneficiaryId:
                  type: integer
                  description: Onerway beneficiary ID (64-bit integer).
                status:
                  type: string
                  description: Beneficiary status. See [beneficiary
                    statuses](/transfer/api-reference/v3-enums#beneficiarystatus-beneficiary-statuses).
                  x-onerway-constraints:
                    - kind: rule
                      text: "Omitted or blank: pass,unnecessary"
                    - kind: rule
                      text: Defaults to pass,unnecessary when omitted.
                destinationCountry:
                  type: string
                  description: Recipient account country or region. See [country/region
                    enums](/transfer/api-reference/v3-enums#countryregion-enums).
                  x-onerway-constraints:
                    - kind: rule
                      text: "Maximum length: 12."
                targetCurrency:
                  type: string
                  description: Target currency. See [currency
                    enums](/transfer/api-reference/v3-enums#currency-enums).
                  x-onerway-constraints:
                    - kind: rule
                      text: "Maximum length: 128."
                accountIdentifier:
                  type: string
                  description: Bank account identifier filter
                walletIdentifier:
                  type: string
                  description: Beneficiary wallet account identifier, used to filter results by
                    partial match. Matching ignores letter case and ordinary
                    spaces.
                  x-onerway-constraints:
                    - kind: rule
                      text: "Maximum length: 64."
                paymentMethod:
                  type: string
                  description: Payment method. See [enum
                    values](/transfer/api-reference/v3-enums#paymentmethod-payment-methods).
                  enum:
                    - BANK_TRANSFER
                    - SWIFT
                    - E_WALLET
                    - CASH_PICKUP
                  x-enum-descriptions:
                    BANK_TRANSFER: Bank transfer
                    SWIFT: SWIFT transfer
                    E_WALLET: E-wallet
                    CASH_PICKUP: Cash pickup
                entityType:
                  type: string
                  description: Entity type. See [enum
                    values](/transfer/api-reference/v3-enums#entitytype-entity-types).
                  enum:
                    - INDIVIDUAL
                    - BUSINESS
                  x-enum-descriptions:
                    INDIVIDUAL: Individual
                    BUSINESS: Business
                startTime:
                  type: string
                  description: "Start of the creation-time range; time zone: Beijing time
                    (UTC+8)."
                  x-onerway-constraints:
                    - kind: rule
                      text: yyyy-MM-dd HH:mm:ss
                    - kind: rule
                      text: The start time must not be later than the end time. The query period must
                        not exceed three calendar months.
                endTime:
                  type: string
                  description: "End of the creation-time range; time zone: Beijing time (UTC+8)."
                  x-onerway-constraints:
                    - kind: rule
                      text: yyyy-MM-dd HH:mm:ss
                current:
                  type: integer
                  description: Page number, starting from 1.
                  x-onerway-constraints:
                    - kind: rule
                      text: ≥1
                size:
                  type: integer
                  description: Number of records per page.
                  x-onerway-constraints:
                    - kind: rule
                      text: ≥1
              required:
                - startTime
                - endTime
            examples:
              default:
                summary: Request structure (replace with your merchant data)
                value:
                  startTime: 2026-01-01 00:00:00
                  endTime: 2026-01-31 23:59:59
                  current: 1
                  size: 10
                  status: unnecessary
      responses:
        "200":
          description: Success example
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      respCode:
                        type: string
                        description: Response code; `20000` indicates successful request processing. All
                          other values are error codes.
                      respMsg:
                        type: string
                        description: Human-readable description of the response code.
                      data:
                        type: object
                        properties:
                          current:
                            type: integer
                            description: Page number, starting from 1.
                          size:
                            type: integer
                            description: Number of records per page.
                          total:
                            type: integer
                            description: Total number of matching records.
                          records:
                            type: array
                            description: Current page of records; empty when there are no matches
                            items:
                              type: object
                              properties:
                                entityType:
                                  type: string
                                  description: Entity type. See [enum
                                    values](/transfer/api-reference/v3-enums#entitytype-entity-types).
                                  enum:
                                    - INDIVIDUAL
                                    - BUSINESS
                                  x-enum-descriptions:
                                    INDIVIDUAL: Individual
                                    BUSINESS: Business
                                merchantRefId:
                                  type: string
                                  description: External reference assigned by the merchant to the beneficiary.
                                individual:
                                  type: object
                                  properties:
                                    name:
                                      type: object
                                      properties:
                                        firstName:
                                          type: string
                                          description: Beneficiary’s first name.
                                        lastName:
                                          type: string
                                          description: Beneficiary’s last name.
                                      description: Personal name
                                    identity:
                                      type: object
                                      properties:
                                        idType:
                                          type: string
                                          description: Identity document type
                                        idNumber:
                                          type: string
                                          description: Identity document number
                                        issuingCountry:
                                          type: string
                                          description: Issuing country or region code. See [country/region
                                            enums](/transfer/api-reference/v3-enums#countryregion-enums).
                                        expiryDate:
                                          type: string
                                          description: "Document expiry date; format: yyyy-MM-dd."
                                        issueDate:
                                          type: string
                                          description: "Document issue date; format: yyyy-MM-dd."
                                      description: Identity document
                                    dateOfBirth:
                                      type: string
                                      description: "Date of birth; format: yyyy-MM-dd."
                                  description: Individual information. Applies only when entityType is INDIVIDUAL.
                                business:
                                  type: object
                                  properties:
                                    companyName:
                                      type: string
                                      description: Beneficiary’s company name.
                                    tin:
                                      type: string
                                      description: Tax identification number
                                    registrationNumber:
                                      type: string
                                      description: Business registration number
                                    registrationDate:
                                      type: string
                                      description: "Business registration date; format: yyyy-MM-dd."
                                  description: Business information. Applies only when entityType is BUSINESS.
                                contact:
                                  type: object
                                  properties:
                                    email:
                                      type: string
                                      description: Beneficiary’s email address.
                                    mobile:
                                      type: object
                                      properties:
                                        areaCode:
                                          type: string
                                          description: International dialing code, including +
                                        number:
                                          type: string
                                          description: Telephone number without the dialing code
                                      description: Mobile telephone
                                  description: Contact details
                                address:
                                  type: object
                                  properties:
                                    countryCode:
                                      type: string
                                      description: Country or region code; currently populated from the recipient
                                        account country or region. See
                                        [country/region
                                        enums](/transfer/api-reference/v3-enums#countryregion-enums).
                                    state:
                                      type: string
                                      description: State or province. See the validation rules returned by [Query
                                        beneficiary field
                                        rules](/transfer/api-reference/endpoints/v3-beneficiaries-schema).
                                    city:
                                      type: string
                                      description: City. See the validation rules returned by [Query beneficiary field
                                        rules](/transfer/api-reference/endpoints/v3-beneficiaries-schema).
                                    addressLine1:
                                      type: string
                                      description: Primary street address, usually including the building number and
                                        street name.
                                    addressLine2:
                                      type: string
                                      description: Additional address information, including building, floor, room, or
                                        unit.
                                    addressLine3:
                                      type: string
                                      description: Other necessary address information.
                                    postalCode:
                                      type: string
                                      description: Postal code of the beneficiary’s address.
                                  description: Address details
                                account:
                                  type: object
                                  properties:
                                    countryCode:
                                      type: string
                                      description: Country or region code. See [country/region
                                        enums](/transfer/api-reference/v3-enums#countryregion-enums).
                                    currency:
                                      type: string
                                      description: Account currency. See [currency
                                        enums](/transfer/api-reference/v3-enums#currency-enums).
                                    bankAccount:
                                      type: object
                                      properties:
                                        accountHolderName:
                                          type: string
                                          description: Bank account holder name
                                        bankName:
                                          type: string
                                          description: Beneficiary bank name.
                                        accountType:
                                          type: string
                                          description: Bank account type. See [enum
                                            values](/transfer/api-reference/v3-enums#accounttype-bank-account-types).
                                          enum:
                                            - CHECKING
                                            - SAVING
                                            - ORDINARY
                                          x-enum-descriptions:
                                            CHECKING: Checking account
                                            SAVING: Savings account
                                            ORDINARY: Ordinary account
                                        accountIdentifier:
                                          type: object
                                          properties:
                                            type:
                                              type: string
                                              description: Bank account identifier type. See [enum
                                                values](/transfer/api-reference/v3-enums#type-account-identifier-types).
                                              enum:
                                                - IBAN
                                                - LOCAL_ACCOUNT
                                              x-enum-descriptions:
                                                IBAN: International Bank Account Number
                                                LOCAL_ACCOUNT: Local bank account number
                                            value:
                                              type: string
                                              description: IBAN or local bank account number matching type
                                          description: Bank account identifier and type
                                        swiftCode:
                                          type: string
                                          description: SWIFT/BIC code
                                        routingNumber:
                                          type: string
                                          description: "Bank code or local clearing routing code identifying the
                                            beneficiary bank or its route in the
                                            local clearing network. The code
                                            type depends on the destination
                                            country: UK Sort Code for the United
                                            Kingdom; ABA Routing Number for the
                                            United States."
                                        branchNumber:
                                          type: string
                                          description: Code identifying the bank branch where the beneficiary account is
                                            held.
                                      description: Bank account
                                    walletAccount:
                                      type: object
                                      properties:
                                        walletProvider:
                                          type: string
                                          description: Wallet provider. See [wallet
                                            providers](/transfer/api-reference/v3-enums#walletprovider-walletformat-wallet-providers-and-account-formats).
                                        walletFormat:
                                          type: string
                                          description: Wallet account format for the selected walletProvider. See [wallet
                                            account
                                            formats](/transfer/api-reference/v3-enums#walletprovider-walletformat-wallet-providers-and-account-formats).
                                        walletIdentifier:
                                          type: string
                                          description: Beneficiary wallet account identifier. The account format depends
                                            on walletProvider and walletFormat.
                                      description: E-wallet account
                                    cashPickupAccount:
                                      type: object
                                      properties:
                                        pickupBankName:
                                          type: string
                                          description: Cash pickup institution
                                        pickupBranchId:
                                          type: string
                                          description: Pickup branch identifier
                                        pickupBranchName:
                                          type: string
                                          description: Pickup branch name
                                        pickupBranchAddress:
                                          type: string
                                          description: Pickup branch address
                                      description: Cash pickup location
                                  description: Recipient account
                                beneficiaryId:
                                  type: string
                                  description: Onerway beneficiary ID.
                                merchantNo:
                                  type: string
                                  description: Merchant number of the request initiator.
                                onBehalfOf:
                                  type: string
                                  description: Merchant number that the request applies to. Supply it only when
                                    making a request on behalf of another
                                    merchant.
                                status:
                                  type: string
                                  description: Beneficiary status. See [beneficiary
                                    statuses](/transfer/api-reference/v3-enums#beneficiarystatus-beneficiary-statuses).
                                  enum:
                                    - pass
                                    - unnecessary
                                    - disable
                                    - deleted
                                  x-enum-descriptions:
                                    pass: Approved
                                    unnecessary: No review required
                                    disable: Disabled
                                    deleted: Deleted
                                paymentMethod:
                                  type: string
                                  description: Payment method. See [enum
                                    values](/transfer/api-reference/v3-enums#paymentmethod-payment-methods).
                                  enum:
                                    - BANK_TRANSFER
                                    - SWIFT
                                    - E_WALLET
                                    - CASH_PICKUP
                                  x-enum-descriptions:
                                    BANK_TRANSFER: Bank transfer
                                    SWIFT: SWIFT transfer
                                    E_WALLET: E-wallet
                                    CASH_PICKUP: Cash pickup
                                createTime:
                                  type: string
                                  description: "Creation time; time zone: Beijing time (UTC+8)."
                                updateTime:
                                  type: string
                                  description: "Last update time; time zone: Beijing time (UTC+8)."
                        description: Business data on success; do not consume as valid business data on
                          failure
                        x-onerway-constraints:
                          - kind: rule
                            text: Pagination uses current, size, total and records, unlike pageNo/pageSize
                              in transfer queries. records is empty when no
                              entries match.
                      error:
                        type: object
                        properties:
                          type:
                            type: string
                            description: Error type.
                          code:
                            type: string
                            description: Endpoint error identifier.
                          declineCode:
                            type: string
                            description: Decline reason code; may be empty.
                          message:
                            type: string
                            description: Detailed error description
                          param:
                            type: string
                            description: Failed field or condition; may be empty when no field is identified
                          docUrl:
                            type: string
                            description: Link to error documentation; may be empty.
                          requestId:
                            type: string
                            description: Server-generated error trace identifier, req_ plus 32 hexadecimal
                              characters; not the merchant requestId
                          errorDetails:
                            type: array
                            description: Error details; see the variants below
                            items:
                              type: object
                              properties:
                                errorCode:
                                  type: string
                                  description: Business or validation detail code.
                                message:
                                  type: string
                                  description: Detail message
                        description: Structured failure information; not present for every failure path
                  - type: object
                    properties:
                      respCode:
                        type: string
                      respMsg:
                        type: string
                      error:
                        type: object
                        properties:
                          type:
                            type: string
                          code:
                            type: string
                          message:
                            type: string
                          requestId:
                            type: string
                          errorDetails:
                            type: array
                          param:
                            type: string
                        required:
                          - type
                          - code
                          - message
                          - requestId
                          - errorDetails
                          - param
                    required:
                      - respCode
                      - respMsg
                      - error
              examples:
                "40004":
                  summary: The query range exceeds 3 calendar months.
                  description: The query range exceeds 3 calendar months.
                  value:
                    respCode: "40004"
                    respMsg: Validation Failed
                    error:
                      type: validation_error
                      code: beneficiary_query_list_failed
                      message: query time range cannot exceed three months
                      requestId: req_00000000000000000000000000000001
                      errorDetails:
                        []
                      param: endTime
                success:
                  summary: Success example
                  value:
                    respCode: "20000"
                    respMsg: Success
                    data:
                      current: 1
                      size: 10
                      total: 1
                      records:
                        - beneficiaryId: "10001"
                          merchantNo: "10000"
                          status: unnecessary
                          entityType: BUSINESS
                          paymentMethod: BANK_TRANSFER
                          business:
                            companyName: Example Demo Company
                            registrationNumber: demo_registration_001
                            registrationDate: 2020-01-01
                            tin: demo_tax_id
                          contact:
                            email: demo@example.com
                          address:
                            countryCode: US
                            state: Example State
                            city: Example City
                            addressLine1: Example Address
                            postalCode: "00000"
                          account:
                            countryCode: US
                            currency: USD
                            bankAccount:
                              accountHolderName: Example Demo Company
                              bankName: Example Bank
                              accountType: CHECKING
                              accountIdentifier:
                                type: LOCAL_ACCOUNT
                                value: demo_account_001
                              routingNumber: "000000000"
                failure:
                  summary: The query range exceeds 3 calendar months.
                  value:
                    respCode: "40004"
                    respMsg: Validation Failed
                    error:
                      type: validation_error
                      code: beneficiary_query_list_failed
                      message: query time range cannot exceed three months
                      requestId: req_00000000000000000000000000000001
                      errorDetails:
                        []
                      param: endTime
```
