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

# 卖家对象

> 卖家对象属性的详细参考。

卖家对象表示一个特许经营卖家映射，其中包含按服务提供商区分的商户凭证。

## 属性

| 字段 | 类型 | 描述 |
| :- | :- | :- |
| `seller_id` | string (UUID) | Yuno 为该卖家生成的唯一标识符。 |
| `account_code` | string (UUID) | 创建该卖家时所在的账户。 |
| `merchant_seller_id` | string | 商户为该特许经营门店自定义的标识符（MAX 255; MIN 1）。 |
| `name` | string | 卖家的显示名称（MAX 255）。 |
| `email` | string | 卖家的 email 地址。 |
| `phone` | object | 卖家的电话。包含 `code` 和 `number`。 |
| `phone.code` | string | 电话国际区号（例如 `"55"`）。 |
| `phone.number` | string | 电话号码（例如 `"11999999999"`）。 |
| `document` | object | 卖家的法定证件。包含 `type` 和 `number`。 |
| `document.type` | string | 证件类型（例如 `CNPJ`、`CPF`、`RUT`、`NIT`）。 |
| `document.number` | string | 证件号码（例如 `"12345678000199"`）。 |
| `address` | object | 卖家的地址。 |
| `address.line_1` | string | 街道名称。 |
| `address.line_2` | string | 门牌号。 |
| `address.city` | string | 城市名称。 |
| `address.state` | string | 州或省代码。 |
| `address.country` | string | 国家/地区代码（ISO 3166-1 alpha-2）。 |
| `address.zip_code` | string | 邮政编码。 |
| `country` | string | 卖家所在的国家/地区（ISO 3166-1 alpha-2，MAX 2）。 |
| `website` | string | 卖家的网站 URL。 |
| `industry` | string | 卖家的行业或业务垂直领域（MAX 255）。 |
| `merchant_category_code` | string | 商户类别代码（Merchant Category Code，MCC）（MAX 4）。 |
| `payment_methods` | array | 包含服务提供商专属详情的支付方式配置。 |
| `created_at` | timestamp | 创建时间戳（ISO 8601）。 |
| `updated_at` | timestamp | 最后更新时间戳（ISO 8601）。 |

### 卖家对象示例

```json theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "seller_id": "f7a1b2c3-d4e5-6789-abcd-ef0123456789",
  "account_code": "11111111-2222-3333-4444-555555555555",
  "merchant_seller_id": "FRANCHISE_STORE_001",
  "name": "Franchise Store São Paulo",
  "email": "store001@franchise.com",
  "phone": { "code": "55", "number": "11999999999" },
  "document": { "type": "CNPJ", "number": "12345678000199" },
  "address": {
    "line_1": "Av Paulista",
    "line_2": "1000",
    "city": "São Paulo",
    "state": "SP",
    "country": "BR",
    "zip_code": "01310-100"
  },
  "country": "BR",
  "website": "https://store001.franchise.com",
  "industry": "QSR",
  "merchant_category_code": "5812",
  "payment_methods": [
    {
      "payment_method_type": "CARD",
      "detail": {
        "card": {
          "provider": {
            "id": "CIELO",
            "merchant_id": "CIELO_CC_12345"
          }
        }
      }
    },
    {
      "payment_method_type": "APPLE_PAY",
      "detail": {
        "wallet": {
          "provider": {
            "id": "APPLE_PAY",
            "merchant_id": "APPLE_PAY_12345",
            "payment_processing_key": "<base64-encoded .pem content>",
            "payment_processing_certificate": "<base64-encoded .pem content>",
            "merchant_identity_key": "<base64-encoded .pem content>",
            "merchant_identity_certificate": "<base64-encoded .pem content>",
            "merchant_identity_password": "password123"
          }
        }
      }
    }
  ],
  "created_at": "2026-03-13T10:00:00Z",
  "updated_at": "2026-03-13T10:00:00Z"
}
```


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