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

# 注册状态

> 列出支付方式在注册过程中可能具有的状态

Yuno 允许客户注册支付方式，以便在今后的购买中使用，获得无缝的支付体验。注册的支付方式可以用于 Yuno 的 [Full](https://docs.y.uno/zh-hans/docs/sdks/overview/understanding-flows.md) 或 [Lite](https://docs.y.uno/zh-hans/docs/sdks/overview/quickstart.md) 支付实现。它可能具有以下状态之一。

## 工作流

![注册工作流图，展示支付方式的状态转换](https://mintcdn.com/yuno-3979e326/MTlogjS0_SlxtlJG/images/reference/enrollment-workflow/image1.png?fit=max\&auto=format\&n=MTlogjS0_SlxtlJG\&q=85\&s=e5d4eb809be79d5277c82dd34cef036e)

## 支付方式状态

| 状态 | 交易类型 | 描述 |
| :- | :- | :- |
| `CREATED` | 注册 | 创建支付方式时的初始状态。 |
| `EXPIRED` | 注册 | 支付方式已过期。 |
| `REJECTED` | 注册 | Yuno 已拒绝该支付方式的注册。 |
| `READY_TO_ENROLL` | 注册 | 支付方式可供注册。 |
| `DECLINED` | 注册 | 支付方式已被拒绝。 |
| `CANCELED` | 注册 | 支付方式已被取消。 |
| `ENROLL_IN_PROCESS` | 注册 | 支付方式注册正在处理中。 |
| `ENROLLED` | 注册 | 支付方式注册成功。 |
| `UNENROLL_IN_PROCESS` | 注册 | 支付方式取消注册正在处理中。 |
| `UNENROLLED` | 注册 | 支付方式已取消注册。 |
| `ERROR` | 注册 | 支付方式注册过程中发生错误。 |


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