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

# 检索服务提供商的说明覆盖

> 返回为某个服务提供商存储的自定义连接说明，即编辑器在保存前加载的针对性读取。

返回您为此服务提供商存储的自定义连接说明，即编辑器在保存前加载的针对性读取。

没有覆盖的服务提供商会返回 `404`。如果无论是否存在覆盖都想获取叠加层，请使用从不返回 404 的[检索服务提供商叠加层](https://docs.y.uno/zh-hans/reference/organizations/whitelabel/retrieve-provider.md)。

> [!NOTE]
>
> 您未覆盖的字段是**不存在的**：既不是 `null`，也不是空列表。不存在表示“保留 Yuno 目录中的值”；存在但为空表示“将其替换为空”。

### 路径参数

**provider\_id** `string` *required*

Yuno 目录中的服务提供商 id，采用 UPPER\_SNAKE\_CASE。不区分大小写：会被标准化为大写。

### 响应

**provider\_id** `string`

Yuno 目录中的服务提供商 id，已标准化为大写。

**instructions** `object[]`

替换目录中连接步骤的连接步骤。每个步骤接受 `step`、`text`、`text_link`、`link`、`type`、`has_sub_instructions`、`sub_instructions_type` 和 `sub_instructions`（最多嵌套 3 层）。`text` 和 `text_link` 可以是纯字符串，也可以是语言映射，例如 `{"EN": "...", "ES": "..."}`。

**setup\_instructions** `object[]`

替换目录中设置步骤的分组设置步骤。每个分组接受 `title`、`order`、`instructions_type` 和 `instructions`（步骤结构相同）。

**more\_info\_url** `string`

替换目录中文档链接的文档链接。始终为 https。

**name** `string`

替换目录中显示名称的显示名称。只有 Yuno 自有的服务提供商才能带有此字段。

**created\_at** `string`

ISO 8601 时间戳：首次写入该覆盖的时间。

**updated\_at** `string`

ISO 8601 时间戳：最后一次写入该覆盖的时间。

**created\_by** `string`

创建该覆盖的 dashboard 用户。通过此 API 写入的覆盖带有全零哨兵值，表示“通过 API 写入”，而不是由 Dashboard 中的某个人写入。

**updated\_by** `string`

最后更新该覆盖的 dashboard 用户，哨兵值规则与 `created_by` 相同。

```bash cURL theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
curl -X GET 'https://api.y.uno/v1/whitelabel/providers/STRIPE/instructions' \
  -H 'public-api-key: <YOUR_PUBLIC_KEY>' \
  -H 'private-secret-key: <YOUR_SECRET_KEY>'
```

```json 200 OK theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "provider_id": "STRIPE",
  "more_info_url": "https://docs.example.com/stripe",
  "instructions": [
    {
      "step": 1,
      "text": { "EN": "Open your Stripe dashboard.", "ES": "Abre tu panel de Stripe." },
      "type": "TEXT"
    },
    {
      "step": 2,
      "text": "Copy the secret API key and paste it below.",
      "text_link": "Where do I find my key?",
      "link": "https://docs.example.com/stripe#api-keys",
      "type": "LINK"
    }
  ],
  "setup_instructions": [
    {
      "title": "Before you start",
      "order": 1,
      "instructions_type": "TEXT",
      "instructions": [
        { "step": 1, "text": "Make sure your Stripe account is activated." }
      ]
    }
  ],
  "created_at": "2026-09-02T13:54:13Z",
  "updated_at": "2026-09-02T13:54:13Z",
  "created_by": "00000000-0000-0000-0000-000000000000",
  "updated_by": "00000000-0000-0000-0000-000000000000"
}
```

```json 404 — no override theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "title": "Not Found",
  "status": 404,
  "detail": "No instruction override for provider STRIPE"
}
```

```json 400 Bad Request theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "code": "VALIDATION_ERROR",
  "messages": ["provider_id is invalid"]
}
```

### 错误

| HTTP | 信封结构 | 触发时机 |
| - | - | - |
| `400` | `VALIDATION_ERROR` | `provider_id` 不是有效的目录 id。 |
| `401` | `NOT_AUTHENTICATED` | API 密钥缺失或无效。 |
| `404` | problem+json | 此服务提供商没有说明覆盖。 |


## OpenAPI

````yaml openapi/zh-hans/organizations/whitelabel/retrieve-provider-instructions.json GET /whitelabel/providers/{provider_id}/instructions
openapi: 3.1.0
info:
  title: White-label Providers API - Retrieve Instructions
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /whitelabel/providers/{provider_id}/instructions:
    get:
      summary: 检索服务提供商的说明覆盖
      description: >-
        返回您为该服务提供商存储的自定义连接说明，这是编辑器在保存前加载的针对性读取。没有覆盖的服务提供商会返回
        `404`；如果无论是否存在覆盖都想获取叠加层，请使用从不返回 404 的 `GET
        /v1/whitelabel/providers/{provider_id}`。


        您未覆盖的字段会缺省，既不是 null，也不是空列表：缺省表示“沿用 Yuno 目录中的值”，存在但为空表示“用空内容替换它”。
      operationId: retrieve-whitelabel-provider-instructions
      parameters:
        - name: provider_id
          in: path
          required: true
          description: UPPER_SNAKE_CASE 格式的 Yuno 目录服务提供商 ID。不区分大小写；会被规范化为大写。
          schema:
            type: string
            example: STRIPE
      responses:
        '200':
          description: 已存储的覆盖。
          content:
            application/json:
              schema:
                type: object
                properties:
                  provider_id:
                    type: string
                    description: Yuno 目录服务提供商 ID，UPPER_SNAKE_CASE 格式。
                    example: STRIPE
                  instructions:
                    type: array
                    description: 替代目录连接步骤的连接步骤。
                    items:
                      type: object
                      additionalProperties: true
                      description: >-
                        一个说明步骤。接受
                        `step`、`text`、`text_link`、`link`、`type`、`has_sub_instructions`、`sub_instructions_type`
                        和 `sub_instructions`（最多嵌套 3 层）。`text` 和 `text_link`
                        可以是纯字符串，也可以是语言映射，例如 `{"EN": "...", "ES": "..."}`。每个
                        `link` 都必须是 https。
                  setup_instructions:
                    type: array
                    description: 替代目录设置步骤的分组设置步骤。
                    items:
                      type: object
                      additionalProperties: true
                      description: >-
                        一个设置分组。接受 `title`、`order`、`instructions_type` 和
                        `instructions`（步骤结构相同）。
                  more_info_url:
                    type: string
                    format: uri
                    description: 被覆盖时替代目录文档链接的文档链接。始终为 https。
                    example: https://docs.example.com/stripe
                  name:
                    type: string
                    description: 被覆盖时替代目录名称的显示名称。只有 Yuno 自有的服务提供商才能设置。
                    example: Acme Risk
                  created_at:
                    type: string
                    format: date-time
                    readOnly: true
                    description: 覆盖首次写入的时间。
                    example: '2026-09-02T13:54:13Z'
                  updated_at:
                    type: string
                    format: date-time
                    readOnly: true
                    description: 覆盖最近一次写入的时间。
                    example: '2026-09-02T13:54:13Z'
                  created_by:
                    type: string
                    format: uuid
                    readOnly: true
                    description: >-
                      创建它的 Dashboard 用户。通过此 API 写入的覆盖带有全零哨兵值
                      `00000000-0000-0000-0000-000000000000`，表示“通过 API 写入”，而不是由
                      Dashboard 中的某个人写入。
                    example: 00000000-0000-0000-0000-000000000000
                  updated_by:
                    type: string
                    format: uuid
                    readOnly: true
                    description: 最近一次更新它的 Dashboard 用户，哨兵值规则与 `created_by` 相同。
                    example: 00000000-0000-0000-0000-000000000000
        '400':
          description: provider_id 无效。
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: VALIDATION_ERROR
                  messages:
                    type: array
                    items:
                      type: string
                    example:
                      - provider_id is invalid
        '401':
          description: 未授权：API 密钥无效或缺失。
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: NOT_AUTHENTICATED
                  messages:
                    type: array
                    items:
                      type: string
                    example:
                      - Not authenticated
        '404':
          description: 该服务提供商没有说明覆盖。
          content:
            application/json:
              schema:
                type: object
                properties:
                  title:
                    type: string
                    example: Not Found
                  status:
                    type: integer
                    example: 404
                  detail:
                    type: string
                    example: No instruction override for provider STRIPE
components:
  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.