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

# Android SDK：迁移到 v2.11

> 如何从 Android SDK v2.10.x 升级到 v2.11.0

# 迁移到 Android SDK v2.11

2.11.0 版本从 `YunoConfig` 中移除了 `cardFlow` 参数。卡片流程配置已移至 Yuno Dashboard。

## 变更内容

`YunoConfig` 上的 `cardFlow` 参数已被移除。升级后若继续传入该参数，将导致**编译错误**。

## 步骤

### 从 YunoConfig 中移除 `cardFlow`

**之前**：

```kotlin theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
val config = YunoConfig(
    apiKey = "your_api_key",
    cardFlow = CardFormType.ONE_STEP
)
```

**之后**：

```kotlin theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
val config = YunoConfig(
    apiKey = "your_api_key"
)
```

### 在 Dashboard 中配置卡片流程

打开 **Dashboard → Checkout → Builder**，然后选择您的卡片流程：

* **One Step**：所有卡片字段显示在同一屏幕上
* **Multi Step**：卡片字段分布在多个屏幕上

Dashboard 中的设置适用于您账户下的所有 SDK 实例。


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