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

# API 概览

> 介绍 Yuno REST API 的结构，并提供身份验证、SDK、webhooks 和参考章节的链接

Yuno API 遵循 RESTful 原则。它使用标准 HTTP 协议，以 JSON payload 返回 HTTP 请求的响应。根据 endpoint 的不同，操作使用 GET、POST、PUT、PATCH 和 DELETE 方法。

> [!NOTE]
>
> **幂等键**
>
> 创建支付请求和取消或退款请求需要 `X-Idempotency-Key` 标头。请发送唯一值（例如 UUID），以便安全地重试。请参阅[幂等性](https://docs.y.uno/zh-hans/reference/getting-started/authentication.md#idempotency)。

> [!NOTE]
>
> **选择您的集成方式**
>
> 开始集成之前，请[选择您要使用的集成类型](https://docs.y.uno/zh-hans/docs/sdks/overview/choose-integration.md)。

## 设置与集成

以下选项列出了您在构建 Yuno 集成时需要考虑的重要信息。

> [card] [身份验证](https://docs.y.uno/zh-hans/reference/getting-started/authentication.md)
>
> 了解 Yuno API 使用的身份验证系统。

> [card] [环境](https://docs.y.uno/zh-hans/reference/getting-started/api-environments.md)
>
> 查看现有的测试环境和生产环境。

> [card] [Endpoint 概览](https://docs.y.uno/zh-hans/reference/getting-started/endpoint-overview.md)
>
> 按资源浏览所有可用的 API endpoint。

> [card] [HTTP 响应码](https://docs.y.uno/zh-hans/reference/getting-started/response-codes.md)
>
> 了解 API 响应码和错误处理。

> [card] [SDKs](https://docs.y.uno/docs/yuno-sdk/introduction)
>
> 浏览完整的 Yuno SDK 列表。

> [card] [Webhooks](https://docs.y.uno/zh-hans/docs/webhooks/configure-webhooks.md)
>
> 接收有关您的操作的自动通知。

> [card] [参考](https://docs.y.uno/zh-hans/reference/reference-lists.md)
>
> 了解 Yuno API 使用的重要数据。

## API 服务

Yuno 提供多种可通过其 API 使用的功能。以下是文档中所有可用 API 服务的链接。

> [card] [客户](https://docs.y.uno/zh-hans/reference/customers/the-customer-object.md)

> [card] [注册](https://docs.y.uno/zh-hans/reference/customer-sessions-enrollment/enrollment-workflow.md)

> [card] [结账会话](https://docs.y.uno/zh-hans/reference/checkout-sessions/the-checkout-session-object.md)

> [card] [支付方式（Checkout）](https://docs.y.uno/zh-hans/reference/payment-methods-checkout/the-payment-method-object-checkout.md)

> [card] [支付方式（直接工作流）](https://docs.y.uno/zh-hans/reference/payment-methods-direct-workflow/the-payment-method-object-api.md)

> [card] [支付](https://docs.y.uno/zh-hans/reference/payments/manage-payments.md)

> [card] [支付链接](https://docs.y.uno/zh-hans/reference/payment-links/status-payment-links.md)

> [card] [订阅](https://docs.y.uno/zh-hans/reference/subscriptions/status-subscriptions.md)

> [card] [Payouts](https://docs.y.uno/zh-hans/reference/payouts/payout-workflow.md)

> [card] [Marketplace 收款方](https://docs.y.uno/zh-hans/reference/recipients-for-marketplace/the-recipient-object.md)

> [card] [报告](https://docs.y.uno/zh-hans/reference/reports/report-status.md)

> [card] [分期付款](https://docs.y.uno/zh-hans/reference/installments/create-installments-plan.md)

> [card] [AI Caller](https://docs.y.uno/zh-hans/reference/ai-caller/declined-payment-calls.md)

> [card] [通讯营销活动](https://docs.y.uno/zh-hans/reference/communications-campaigns/index.md)

> [card] [汇率](https://docs.y.uno/zh-hans/reference/conversion-rate/currency-conversion.md)

> [card] [银行连接](https://docs.y.uno/zh-hans/reference/banking-connectivity/index.md)

## 辅助资料

为了简化集成过程，Yuno 提供了辅助资料，方便您直接在自己的计算机上测试 Yuno API。您还可以使用示例项目运行一个开箱即用的 Web 应用。

> [card] [SDK 集成示例](https://docs.y.uno/zh-hans/docs/sdks/overview/quickstart.md)
>
> 浏览 Yuno SDK 的 Web 实现。

> [card] [Postman](https://docs.y.uno/zh-hans/reference/getting-started/postman-collections.md)
>
> 试用 Yuno API。


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