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

# Enrollment Status

> Lists the possible statuses a payment method can have during the enrollment process

Yuno gives customers the possibility to enroll a payment method to use it for future purchases and have a seamless payment experience. That payment method enrollment can be used either in Yuno's [Full](https://docs.y.uno/docs/sdks/overview/understanding-flows.md) or [Lite](https://docs.y.uno/docs/sdks/overview/quickstart.md) payment implementation. It could have one of the following statuses.

## Workflow

![Enrollment workflow diagram showing payment method status transitions](https://mintcdn.com/yuno-3979e326/MTlogjS0_SlxtlJG/images/reference/enrollment-workflow/image1.png?fit=max\&auto=format\&n=MTlogjS0_SlxtlJG\&q=85\&s=e5d4eb809be79d5277c82dd34cef036e)

## Payment method status

| Status | Transaction Type | Description |
| :- | :- | :- |
| `CREATED` | Enrollment | Initial state at the time of creating a payment method. |
| `EXPIRED` | Enrollment | The payment method has been expired. |
| `REJECTED` | Enrollment | Yuno has rejected the payment method enrollment. |
| `READY_TO_ENROLL` | Enrollment | The payment method is available for enrollment. |
| `DECLINED` | Enrollment | The payment method has been declined. |
| `CANCELED` | Enrollment | The payment method has been canceled. |
| `ENROLL_IN_PROCESS` | Enrollment | The payment method enrollment is being processed. |
| `ENROLLED` | Enrollment | The payment method enrollment has been successful. |
| `UNENROLL_IN_PROCESS` | Enrollment | The payment method unenrollment is being processed. |
| `UNENROLLED` | Enrollment | The payment method has been unenrolled. |
| `ERROR` | Enrollment | There was an error in the enrollment of the payment method. |


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