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

# 环境

> 了解 Dashboard 中的 Test Mode 和 Live Mode，以及如何在两者之间切换

本指南介绍 **Test Mode** 和 **Live Mode** 在 Yuno Dashboard 中的工作方式，以及如何在两者之间切换。有关每个环境的 API 基础 URL 和凭证，请参阅 [API 环境](https://docs.y.uno/reference/getting-started/api-environments.md)参考文档。

Yuno 的两个环境使用同一个账户。您可以通过顶部栏中的[上下文标签](https://docs.y.uno/zh-hans/docs/using-yuno/account-context.md)在 Test Mode 和 Live Mode 之间切换，使用相同的用户名和密码。

## 了解环境

Yuno 有两个不同的环境，各自用于特定目的：

* **Test Mode（Sandbox）**：注册后，您的组织以“Inactive”状态开始，并且只能访问 Test Mode。您可以使用它来探索 Dashboard、了解各项功能的工作方式并运行测试，而不会影响实际业务运营。Test Mode 非常适合安全地试用新的配置和集成。
* **Live Mode（生产环境）**：Live Mode 是发生真实客户交易的环境。要访问它，您必须提交激活请求。账户激活后，您可以在保持相同安全性和控制的同时运行生产流量。当您准备好将集成正式上线时，请使用 Live Mode。

## 切换到 Live Mode

1. **申请激活**：在 Dashboard 首页提交激活请求。您组织的状态将从“Inactive”变为“Under Verification”。验证期间 Test Mode 仍然可用。
2. **验证流程**：Yuno 通常会在几小时内完成验证。如果我们需要更多信息，会与您联系。
3. **授予访问权限**：验证完成后，您的账户将启用 Live Mode。

## 切换环境

在 Dashboard 中于 Sandbox 和生产环境之间切换非常简单：

* **一键切换**：打开顶部栏中的[上下文标签](https://docs.y.uno/zh-hans/docs/using-yuno/account-context.md)，然后选择 **Live** 或 **Test**。
* **单一登录**：一组凭证即可让您访问两个环境，无需单独的密码或账户。

## 相关文档

* [API 环境](https://docs.y.uno/reference/getting-started/api-environments.md)：每个环境的基础 URL、超时和 API 行为。
* [开发者凭证](https://docs.y.uno/zh-hans/docs/using-yuno/settings/developers-credentials.md)：在哪里找到 Test 和 Live 的 API 密钥。
* [账户上下文](https://docs.y.uno/zh-hans/docs/using-yuno/account-context.md)：承载环境以及每个页面所反映账户的标签。


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