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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# 列出收款方

> 检索已授权账户的收款方分页列表。

以查询参数的形式提供 `account_id`，或以标头的形式提供 `X-Account-Code`。如果两者同时存在，以查询参数为准。结果范围限于该已授权账户和您的组织，按创建日期排序，最新的在前。

使用 `merchant_recipient_id` 进行精确匹配，可选择与 `country` 和 `national_entity` 组合使用。每个成功的响应都包含数组形式的 `data` 和对象形式的 `pagination`，仅有一个收款方匹配时也是如此。没有匹配时返回 HTTP `200`，包含 `data: []` 和 `pagination.total: 0`。

`limit` 默认为 `20`，可接受 `1` 到 `100`。`offset` 默认为 `0`，可接受任意非负整数。空的或重复的筛选值无效。

每个条目包含收款方的基础字段。`withdrawal_methods`、`documentation`、`legal_representatives` 和 `onboardings` 等关联集合不会被补充。如需完整的收款方信息，请使用[获取收款方](https://docs.y.uno/zh-hans/reference/recipients-for-marketplace/get-recipient.md)。

> [!WARNING]
>
> 列表结果（包括按商户 ID 筛选的结果）具有最终一致性。刚创建、更新或删除的收款方可能需要一段时间才会反映在列表中。如需立即从主存储读取，请按 Yuno ID 使用[获取收款方](https://docs.y.uno/zh-hans/reference/recipients-for-marketplace/get-recipient.md)。列表数据访问失败时返回 `503`，不会以空结果表示。

> [!NOTE]
>
> 此列表可通过 `GET /v1/recipients/list` 访问。现有的[按商户 ID 获取收款方](https://docs.y.uno/zh-hans/reference/recipients-for-marketplace/get-recipient-by-merchant-id.md)查找（`GET /v1/recipients?merchant_recipient_id=...`）保持不变：它返回顶层收款方对象，没有匹配的收款方时返回 `400 RECIPIENT_NOT_FOUND`。现有的查找调用方无需迁移。按 Yuno ID 的 GET 以及 PATCH/DELETE 契约保持不变。


## OpenAPI

````yaml openapi/zh-hans/recipients-for-marketplace/list-recipients.json GET /recipients/list
openapi: 3.1.0
info:
  title: Recipients API
  version: 1.0.0
  description: >-
    API for managing recipients in split payment scenarios. This feature enables
    merchants to split payments among multiple recipients, which is particularly
    beneficial for marketplace models where transactions need to be divided
    among different sellers or stakeholders.
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /recipients/list:
    get:
      summary: 列出收款方
      description: >-
        返回限定在已授权账户和组织范围内的分页列表。merchant_recipient_id
        是精确匹配筛选条件；即使匹配项为零个或一个，响应仍然是包装结构。读取操作为最终一致。
      operationId: list-recipients
      parameters:
        - name: limit
          in: query
          description: 返回的收款方数量上限
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
        - name: offset
          in: query
          description: 分页时要跳过的收款方数量
          required: false
          schema:
            type: integer
            default: 0
            minimum: 0
        - name: national_entity
          in: query
          description: 按国家实体类型筛选收款方
          required: false
          schema:
            type: string
            enum:
              - INDIVIDUAL
              - ENTITY
        - name: country
          in: query
          description: 按国家筛选收款方
          required: false
          schema:
            type: string
        - name: merchant_recipient_id
          in: query
          description: 按商户收款方 ID 精确筛选。返回相同的数据数组和分页包装结构；没有匹配项时返回空数组，total 为 0。
          required: false
          schema:
            type: string
            minLength: 1
        - name: account_id
          in: query
          description: 已授权账户的 UUID。除非在请求标头中提供了 X-Account-Code，否则必填。
          required: false
          schema:
            type: string
            format: uuid
        - name: X-Account-Code
          in: header
          description: 省略 account_id 时使用的已授权账户 UUID。两者同时存在时，以 account_id 为准。
          required: false
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: 已成功检索收款方列表
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RecipientResponse'
                  pagination:
                    type: object
                    properties:
                      total:
                        type: integer
                        description: 收款方总数
                      limit:
                        type: integer
                        description: 每页的收款方数量
                      offset:
                        type: integer
                        description: 当前 offset
                      has_more:
                        type: boolean
                        description: 是否还有更多收款方可获取
              examples:
                Success Response:
                  value:
                    data:
                      - id: 9104911d-5df9-429e-8488-ad41abea1a4b
                        account_id: 9104911d-5df9-429e-8488-ad41abea1a4b
                        merchant_recipient_id: AAAA01
                        national_entity: INDIVIDUAL
                        first_name: John
                        last_name: Doe
                        email: john.doe@email.com
                        country: CO
                        created_at: '2024-01-15T10:30:00Z'
                        updated_at: '2024-01-15T10:30:00Z'
                    pagination:
                      total: 1
                      limit: 20
                      offset: 0
                      has_more: false
        '400':
          description: 查询参数无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unauthorized:
                  value:
                    code: INVALID_CREDENTIALS
                    messages:
                      - Invalid credentials
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Forbidden:
                  value:
                    code: AUTHORIZATION_REQUIRED
                    messages:
                      - The merchant has no authorization to use this API.
        '503':
          description: 收款方列表不可用
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    RecipientResponse:
      type: object
      properties:
        id:
          type: string
          description: 收款方的唯一标识符。
          example: 3aaa4d82-11e8-48ce-8ef5-04eee3a10802
        account_id:
          type: string
          description: 与此收款方关联的账户标识符。
          example: fe14c7c6-c75e-43b7-bdbe-4c87ad52c482
        merchant_recipient_id:
          type: string
          description: 由商户定义的收款方唯一标识符。
          example: MERCHANT_182acf1d-faeb-4ff0-94cd-7fab11b282f6
        national_entity:
          type: string
          description: 受益人的国家实体类型。
          example: INDIVIDUAL
        entity_type:
          type: string
          description: 受益人的组织类型。
          example: PRIVATE
        first_name:
          type: string
          description: 受益人的名字。
          example: Juan
        last_name:
          type: string
          description: 受益人的姓氏。
          example: Perez
        legal_name:
          type:
            - string
            - 'null'
          description: 受益人的法定名称。
          example: null
        email:
          type: string
          description: 受益人的电子邮件。
          example: juan.perez@example.com
        date_of_birth:
          type: string
          description: 受益人的出生日期。
          example: '1990-01-15'
        country:
          type: string
          description: 受益人所在国家。
          example: CO
        website:
          type: string
          description: 卖家的网站 URL。
          example: https://juanperez.com
        industry:
          type: string
          description: 卖家所属行业。
          example: Technology
        merchant_category_code:
          type: string
          description: 商户类别代码（MCC）（最多 235，最少 1）。
          example: '5734'
        document:
          type: object
          properties:
            document_number:
              type: string
              example: '1234567890'
            document_type:
              type: string
              example: CC
        phone:
          type: object
          properties:
            country_code:
              type: string
              example: '57'
            number:
              type: string
              example: '3001234567'
        address:
          type: object
          properties:
            address_line_1:
              type: string
              example: 'Carrera 7 # 32-16'
            address_line_2:
              type:
                - string
                - 'null'
              example: Oficina 201
            city:
              type: string
              example: Bogota
            country:
              type: string
              example: CO
            state:
              type: string
              example: Cundinamarca
            zip_code:
              type: string
              example: '110311'
            neighborhood:
              type: string
              example: Centro
        legal_representatives:
          type: array
          items:
            type: object
            properties:
              merchant_reference:
                type: string
                example: REP_001
              first_name:
                type: string
                example: Maria
              last_name:
                type: string
                example: Gonzalez
              email:
                type: string
                example: maria.gonzalez@example.com
              date_of_birth:
                type: string
                example: '1985-05-20'
              country:
                type: string
                example: CO
              nationality:
                type: string
                example: CO
              title:
                type: string
                example: CEO
              publicly_exposed_person:
                type: boolean
                example: false
              ultimate_beneficial_owner:
                type: boolean
                example: true
              document:
                type: object
                properties:
                  document_type:
                    type: string
                    example: CC
                  document_number:
                    type: string
                    example: '0987654321'
              phone:
                type: object
                properties:
                  country_code:
                    type: string
                    example: '57'
                  number:
                    type: string
                    example: '3109876543'
              address:
                type: object
                properties:
                  address_line_1:
                    type: string
                    example: 'Calle 26 # 13-19'
                  address_line_2:
                    type:
                      - string
                      - 'null'
                    example: null
                  country:
                    type: string
                    example: CO
                  state:
                    type: string
                    example: Cundinamarca
                  city:
                    type: string
                    example: Bogota
                  zip_code:
                    type: string
                    example: '110311'
        withdrawal_methods:
          type: object
          properties:
            bank:
              type: object
              properties:
                code:
                  type: string
                  example: '001'
                branch:
                  type: string
                  example: '004'
                branch_digit:
                  type:
                    - string
                    - 'null'
                  example: '123'
                account:
                  type: string
                  example: '1234567890'
                account_digit:
                  type:
                    - string
                    - 'null'
                  example: '123'
                account_type:
                  type: string
                  example: SAVINGS
                routing:
                  type: string
                  example: '021000021'
                country:
                  type: string
                  example: CO
                currency:
                  type: string
                  example: COP
        documentation:
          type: array
          items:
            type: object
            properties:
              file_name:
                type: string
                example: cc-front.pdf
              content_type:
                type: string
                example: application/pdf
              content_category:
                type: string
                example: IDENTIFICATION
              content:
                type: string
                example: JVBERi0xLjQKJ...
        onboardings:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                example: 84c42684-dbe5-4e0f-bd17-4d094e19762d
              type:
                type: string
                example: ONBOARD_ONTO_THE_PROVIDER
              workflow:
                type: string
                example: DIRECT
              status:
                type: string
                example: PENDING
              callback_url:
                type: string
                example: https://merchant.example.com/webhook/onboarding
              provider:
                type: object
                properties:
                  id:
                    type: string
                    example: ALELO
                  connection_id:
                    type: string
                    example: cc389b51-53a1-4a29-af40-c8cee26c3399
                  recipient_id:
                    type:
                      - string
                      - 'null'
                    example: null
                  redirect_url:
                    type:
                      - string
                      - 'null'
                    example: null
                  onboarding_url:
                    type:
                      - string
                      - 'null'
                    example: null
                  legal_entity:
                    type:
                      - string
                      - 'null'
                    example: null
                  balance_account_id:
                    type:
                      - string
                      - 'null'
                    example: null
                  legal_entity_id:
                    type:
                      - string
                      - 'null'
                    example: null
              documentation:
                type: array
                items:
                  type: object
                  properties:
                    file_name:
                      type: string
                      example: utility-bill.pdf
                    content_type:
                      type: string
                      example: application/pdf
                    content_category:
                      type: string
                      example: ADDRESS_PROOF
                    content:
                      type: string
                      example: JVBERi0xLjQKJ...
              legal_representatives:
                type: array
                items:
                  type: object
                example: []
              requirements:
                type: array
                items:
                  type: object
                  properties:
                    field:
                      type: string
                      example: document.cc
                    message:
                      type: string
                      example: Provide CC document image
                    status:
                      type: string
                      example: PENDING
              withdrawal_methods:
                type: object
                properties:
                  bank:
                    type: object
                    properties:
                      code:
                        type: string
                        example: '002'
                      branch:
                        type: string
                        example: '002'
                      branch_digit:
                        type:
                          - string
                          - 'null'
                        example: null
                      account:
                        type: string
                        example: '9876543210'
                      account_digit:
                        type:
                          - string
                          - 'null'
                        example: null
                      account_type:
                        type: string
                        example: SAVINGS
                      routing:
                        type: string
                        example: '021000022'
                      country:
                        type: string
                        example: CO
                      currency:
                        type: string
                        example: COP
              terms_of_service:
                type: object
                properties:
                  acceptance:
                    type: boolean
                    example: true
                  date:
                    type: string
                    example: '2025-07-21T20:43:54Z'
                  ip:
                    type: string
                    example: 129.21.111.11
              created_at:
                type: string
                format: date-time
                example: '2025-08-27T15:41:19.516982Z'
              updated_at:
                type: string
                format: date-time
                example: '2025-08-27T15:41:19.516989Z'
        created_at:
          type: string
          format: date-time
          description: 收款方创建日期（ISO 8601，最多 27，最少 27）。
          example: '2025-08-27T15:41:19.497413Z'
        updated_at:
          type: string
          format: date-time
          description: 收款方最近更新日期（ISO 8601，最多 27，最少 27）。
          example: '2025-08-27T15:41:19.497425Z'
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          example: INVALID_REQUEST
        messages:
          type: array
          items:
            type: string
            example: Invalid request
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: public-api-key
      x-default: <Your public-api-key>
    sec1:
      type: apiKey
      in: header
      name: private-secret-key
      x-default: <Your private-secret-key>

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.