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

# iOS SDK: Migración a v2.12

> Actualiza el Yuno iOS SDK de v2.11.x a v2.12.0 en tu app

# Migración a iOS SDK v2.12

La versión 2.12.0 elimina el parámetro `cardFormType` de `Yuno.initialize()`. La configuración del tipo de formulario de tarjeta se traslada al Yuno Dashboard.

## Qué cambió

Se eliminó el parámetro `cardFormType` de `Yuno.initialize()`. Si lo pasas después de actualizar, se producirá un **error de compilación**.

## Pasos

### Elimina `cardFormType` de Yuno.initialize()

**Antes:**

```swift theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
Yuno.initialize(apiKey: "your_api_key", cardFormType: .oneStep)
```

**Después:**

```swift theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
Yuno.initialize(apiKey: "your_api_key")
// Configure in Dashboard → Checkout → Builder
```

### Configura el tipo de formulario de tarjeta en el Dashboard

Abre **Dashboard → Checkout → Builder** y selecciona el tipo de formulario de tarjeta:

* **One Step**: todos los campos de la tarjeta en una sola pantalla
* **Multi Step**: los campos de la tarjeta repartidos en varias pantallas

La configuración del Dashboard se aplica a todas las instancias del SDK de tu cuenta.


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