> ## 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 do Universal SDK

> Prévia de acesso antecipado do futuro Universal SDK

Boas-vindas à prévia de acesso antecipado do Yuno Universal SDK. Esta integração única vai substituir todas as versões anteriores do SDK (Seamless, Lite, Headless) por um fluxo unificado e altamente configurável.

## Visão geral

O Universal SDK foi criado para ser o "SDK único que governa todos". Ele se adapta dinamicamente à sua configuração de lojista no Dashboard.

### Principais benefícios

* **API unificada**: uma única chamada de método para todos os tipos de pagamento.
* **UI dinâmica**: configure tudo pelo Dashboard, sem mudanças no código.
* **Leve**: tamanho de bundle menor em comparação com manter vários SDKs legados.

## Vídeo de prévia

![Demonstração do Universal SDK](https://placehold.co/600x400?text=Universal+SDK+Demo+Video)
*Observação: demonstração em vídeo do novo fluxo unificado.*

## Exemplo de integração

```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 tela

![Checkout no celular](https://placehold.co/300x500?text=Mobile+Checkout)

![Meios de pagamento](https://placehold.co/300x500?text=Payment+Methods)

## Feedback

Como lojista piloto, seu feedback é fundamental. Compartilhe suas impressões no canal compartilhado do Slack.


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