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

# 支付

> Payments API 概述，涵盖 endpoint、状态处理和集成工作流。

Payments API 让您可以通过 Yuno 创建和管理支付。您可以在此找到有关请求和响应格式、可用 endpoint、常用对象以及示例 payload 的详细信息。使用本参考了解工作流、状态处理，以及如何将支付无缝集成到您的应用中。要对支付进行退款，请参阅[支付退款](https://docs.y.uno/zh-hans/docs/direct-integration-use-cases/refund-payments.md)和[支付退款](https://docs.y.uno/zh-hans/reference/payments/refund-payment.md) API。

> [card] [状态和响应代码](https://docs.y.uno/zh-hans/reference/payments/status-and-response-codes/payment.md)

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

> [card] [支付对象](https://docs.y.uno/zh-hans/reference/payments/the-payment-object.md)

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


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