> ## 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.

# 收款方对象

> 查看收款方对象的属性，包括 onboarding、银行详情和文件

此对象表示将接收部分[拆分支付](https://docs.y.uno/zh-hans/docs/payment-features/split-payments-marketplace.md)款项的收款方。它代表您的 marketplace 中的卖家账户。通过拆分，您可以将 marketplace 中一笔购买的款项直接分发到卖家账户，同时您的佣金进入您的 marketplace 账户。

## 属性

**id** `string`

收款方的唯一标识符（MAX 64 ; MIN 36）。

示例：9104911d-5df9-429e-8488-ad41abea1a4b.

**account\_id** `string`

账户的唯一标识符（MAX 64; MIN 36）。

示例：4323f8a0-7699-4a5b-8293-f4d712312eb3bd.

**merchant\_recipient\_id** `string`

marketplace 所有者为收款方设定的唯一标识符（MAX 255; MIN 3）。

示例：AAAA01.

**national\_entity** `string`

收款方的国家实体类别。可以是 INDIVIDUAL 或 ENTITY。

示例：INDIVIDUAL.

**entity\_type** `string`

收款方的国家实体类型。可以是 PUBLIC、GOVERNMENTAL、NON\_PROFIT 或 PRIVATE。

示例：PRIVATE.

**first\_name** `string`

收款方的名字（MAX 255; MIN 3）。

示例：John.

**last\_name** `string`

收款方的姓氏（MAX 255; MIN 3）。

示例：Doe.

**legal\_name** `string`

收款方的名称。（Max: 80）仅在国家实体为 ENTITY 时需要（MAX 64 ; MIN 36）。

示例：Arcos dorados S.A.

**email** `string`

收款方的 email（MAX 255; MIN 3）。

示例：[john.doe@email.com](mailto:john.doe@email.com).

**date\_of\_birth** `string`

收款方的出生日期，格式为 YYYY-MM-DD（MAX 10; MIN 10）。

示例：1990-02-28.

**country** `enum`

收款方的国家/地区（MAX 2; MIN 2; [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)）。

可能的枚举值：请查看[国家/地区代码列表](https://docs.y.uno/zh-hans/reference/country-reference.md)。

**website** `string`

收款方的网站 URL（MAX 255; MIN 3）。

示例：[https://www.my-site.com](https://www.my-site.com)

**industry** `string`

收款方所属的行业（MAX 235; MIN 1）。如需了解更多信息，请访问行业类别参考页面。

示例：VIRTUAL\_GOODS

**merchant\_category\_code** `string`

商户类别代码（MAX 235; MIN 1）。

示例：TTR

**document** `object`

指定收款方的证件对象，包括证件号码和类型。

**属性**

**document\_number** `string`

收款方的证件号码（MAX 40; MIN 3）。

示例：1093333333.

**document\_type** `enum`

收款方的证件类型（MAX 6, MIN 2）。

可能的枚举值：请查看[国家/地区参考](https://docs.y.uno/zh-hans/reference/country-reference.md)。

**phone** `object`

指定收款方的电话号码对象。

**属性**

**country\_code** `string`

收款方电话的国际区号（MAX 3; MIN 2）。

示例：57.

**number** `string`

收款方的电话号码，不含国际区号（MAX 32; MIN 1）。

示例：3132450765.

**address** `object`

指定收款方的账单地址对象。

**属性**

**address\_line\_1** `string`

收款方账单地址的第一行（MAX 255; MIN 3）。

示例：Calle 34 # 56 - 78.

**address\_line\_2** `string`

收款方账单地址的第二行（MAX 255; MIN 3）。

示例：Apartamento 502, Torre I.

**city** `string`

账单地址所在的城市（MAX 255; MIN 3）。

示例：Bogotá.

**country** `enum`

账单地址所在的国家/地区（MAX 2; MIN 2; [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)）。

可能的枚举值：请查看[国家/地区代码列表](https://docs.y.uno/zh-hans/reference/country-reference.md)。

**state** `string`

账单地址所在的州/省（MAX 255; MIN 3）。

示例：Cundinamarca.

**zip\_code** `string`

账单地址的邮政编码（MAX 11; MIN 4）。

示例：111111.

**withdrawal\_methods** `array of objects`

提现方式对象列表；每个条目包含一个银行对象

**属性**

**bank** `struct`

此提现方式的银行详情。

**属性**

**code** `string`

银行代码（MAX 3; MIN 3）。

示例：246

**branch** `string`

银行分行（MAX 3; MIN 3）。

示例：123

**branch\_digit** `string`

银行分行校验位（MAX 1; MIN 1）。

示例：5

**account** `string`

收款方的银行账号（MAX 250; MIN 3）。

示例：1093333333

**account\_digit** `string`

收款方的银行账户校验位（MAX 1; MIN 1）。

示例：7

**account\_type** `enum`

收款方的银行账户类型：`CHECKINGS` 或 `SAVINGS`。

示例：SAVINGS

**routing** `string`

收款方银行账户的路由号码。

示例：021000021

**country** `string`

银行账户所在的国家/地区（ISO 3166-1 alpha-2）。

示例：CO

**currency** `string`

银行账户的币种（ISO 4217）。

示例：COP

**documentation** `array of objects`

商户提供的文件对象数组。

**属性**

**file\_name** `string`

所发送文件的名称（MAX 255; MIN 3）。

示例：receipt.pdf

**content\_type** `enum`

商户所发送文件的类型。

示例：RECEIPT

**content\_category** `string`

商户所发送文件的类别（例如 INVOICE、ID\_PROOF）。

**content** `string`

以 base64 编码的文件内容（最大大小：1MB）。

示例：JVBERi0xLjQKJcfs…

**onboardings** `array of objects`

每个服务提供商连接的 onboarding 记录列表。

**属性**

**id** `string`

Onboarding 的唯一标识符。

示例：9104911d-5df9-429e-8488-ad41abea1a4b

**type** `enum`

Onboarding 的类型。表示之前已完成还是通过 Yuno 完成。

PREVIOUSLY\_ONBOARDED, ONBOARD\_ONTO\_THE\_PROVIDER

**workflow** `enum`

Onboarding 的工作流。

HOSTED\_BY\_PROVIDER, HOSTED\_BY\_YUNO, DIRECT

**status** `enum`

与商户关联的状态。

PENDING, SUCCEEDED, DECLINED, BLOCKED, CANCELLED, REJECTED, ERROR

**provider\_response\_code** `string`

服务提供商在 onboarding 期间返回的响应代码。

示例：00

**provider\_response\_message** `string`

与 onboarding 响应关联的服务提供商描述性消息。

示例：Approved

**provider\_raw\_response** `string`

指向服务提供商完整原始响应的引用。需要时，使用此标识符检索完整的 payload。

示例：64b3f8cba12e3c7d9f0a1234

**callback\_url** `string`

Onboarding 流程结束后用于重定向客户的 URL（如需要）。

示例：[https://www.google.com](https://www.google.com)

**provider** `object`

支付服务提供商连接的相关信息。

**属性**

**id** `string`

服务提供商标识符。

示例：ADYEN

**connection\_id** `string`

与该 onboarding 关联的特定 Yuno 连接 ID。

示例：322d48b6-f423-4438-8ffb-0b9b5059a2e9

**recipient\_id** `string`

服务提供商处收款方的唯一标识符。

示例：9104911d-5df9-429e-8488-ad41abea1a4b

**redirect\_url** `string`

Onboarding 完成后将最终用户重定向到的 URL。

示例：[https://www.example.com/callback](https://www.example.com/callback)

**onboarding\_url** `string`

用于重定向收款方以完成 onboarding 的 URL。

示例：[https://www.provider.com/onboarding](https://www.provider.com/onboarding)

**legal\_entity** `string`

与服务提供商关联的法律实体标识符。

**recipient\_additional\_id** `string`

有关收款方的附加信息。通常为法律实体 ID。

**balance\_account\_id** `string`

服务提供商处余额账户的唯一标识符。

**documentation** `array of objects`

商户提供的文件对象数组。

**属性**

**file\_name** `string`

所发送文件的名称（MAX 255; MIN 3）。

示例：receipt.pdf

**content\_type** `enum`

商户所发送文件的类型。

示例：RECEIPT

**content\_category** `string`

商户所发送文件的类别。

**content** `string`

以 base64 编码的文件内容（最大大小：1MB）。

示例：JVBERi0xLjQKJcfs…

**withdrawal\_methods** `array of objects`

提现方式对象列表；每个对象包含一个 `bank` 结构体。

**属性**

**bank** `struct`

此提现方式的银行详情。

**属性**

**code** `string`

银行代码（MAX 3; MIN 3）。

示例：246

**branch** `string`

银行分行（MAX 3; MIN 3）。

示例：123

**branch\_digit** `string`

银行分行校验位（MAX 3; MIN 3）。

示例：5

**account** `string`

收款方的银行账号（MAX 250; MIN 3）。

示例：1093333333

**account\_digit** `string`

收款方的银行账户校验位（MAX 250; MIN 1）。

示例：7

**account\_type** `enum`

收款方的银行账户类型：`CHECKINGS`、`SAVINGS`

示例：SAVINGS

**created\_at** `timestamp`

Onboarding 的创建日期（ISO 8601）。

示例：2022-05-09T20:46:54.786342Z

**updated\_at** `timestamp`

Onboarding 的最后更新日期（ISO 8601）。

示例：2022-07-09T20:43:54.786342Z

**created\_at** `timestamp`

收款方的创建日期和时间（MAX 27; MIN 27; [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)）。

示例：2022-05-09T20:46:54.786342Z.

**updated\_at** `timestamp`

收款方的最后更新日期和时间（MAX 27; MIN 27; [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)）。

示例：2022-05-09T20:46:54.786342Z.


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