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

# Universal SDK 试点

> 即将推出的 Universal SDK 的抢先体验预览

欢迎体验 Yuno Universal SDK 的抢先预览版。这一单一集成将以统一且高度可配置的流程，取代所有之前的 SDK 版本（Seamless、Lite、Headless）。

## 概览

Universal SDK 的设计目标是成为“一个 SDK 统领全部”。它会根据您在 Dashboard 中的商户配置动态调整。

### 主要优势

* **统一 API**：一次方法调用即可处理所有支付类型。
* **动态 UI**：在 Dashboard 中配置一切，无需修改代码。
* **轻量**：与维护多个旧版 SDK 相比，打包体积更小。

## 预览视频

![Universal SDK 演示](https://placehold.co/600x400?text=Universal+SDK+Demo+Video)
*注：新的统一流程的视频演示。*

## 集成示例

```javascript theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
import { Yuno } from '@yuno/universal-sdk';

const yuno = new Yuno('YOUR_PUBLIC_KEY');

// The new unified checkout call
yuno.checkout({
  checkoutSession: 'SESSION_ID',
  element: '#payment-element',
  onResponse: (response) => {
    console.log('Payment result:', response);
  }
});
```

## 截图

![移动端 Checkout](https://placehold.co/300x500?text=Mobile+Checkout)

![支付方式](https://placehold.co/300x500?text=Payment+Methods)

## 反馈

作为试点商户，您的反馈至关重要。请在共享的 Slack 频道中分享您的想法。


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