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

# Piloto del SDK Universal

> Vista previa de acceso anticipado del próximo SDK Universal

Te damos la bienvenida a la vista previa de acceso anticipado del SDK Universal de Yuno. Esta integración única reemplazará todas las versiones anteriores del SDK (Seamless, Lite, Headless) con un flujo unificado y altamente configurable.

## Resumen

El SDK Universal está diseñado para ser el "One SDK to rule them all". Se adapta de forma dinámica a la configuración de tu comercio en el Dashboard.

### Beneficios principales

* **API unificada**: una sola llamada a un método para todos los tipos de pago.
* **Interfaz dinámica**: configura todo desde el Dashboard sin cambios de código.
* **Ligero**: tamaño de paquete reducido en comparación con mantener varios SDK heredados.

## Video de vista previa

![Demostración del SDK Universal](https://placehold.co/600x400?text=Universal+SDK+Demo+Video)
*Nota: demostración en video del nuevo flujo unificado.*

## Ejemplo de integración

```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);
  }
});
```

## Capturas de pantalla

![Checkout móvil](https://placehold.co/300x500?text=Mobile+Checkout)

![Métodos de pago](https://placehold.co/300x500?text=Payment+Methods)

## Comentarios

Como comercio piloto, tus comentarios son fundamentales. Comparte tus ideas en el canal de Slack compartido.


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