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

# SDK iOS : migration vers la v2.12

> Mettez à niveau le SDK iOS de Yuno de la v2.11.x à la v2.12.0 dans votre application

# Migration vers le SDK iOS v2.12

La version 2.12.0 supprime le paramètre `cardFormType` de `Yuno.initialize()`. La configuration du type de formulaire de carte passe dans le Yuno Dashboard.

## Ce qui a changé

Le paramètre `cardFormType` de `Yuno.initialize()` a été supprimé. Le transmettre provoquera une **erreur de compilation** après la mise à niveau.

## Étapes

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

**Avant :**

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

**Après :**

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

### Configurer le type de formulaire de carte dans le Dashboard

Ouvrez **Dashboard → Checkout → Builder** et sélectionnez votre type de formulaire de carte :

* **One Step** : tous les champs de la carte sur un seul écran
* **Multi Step** : les champs de la carte répartis sur plusieurs écrans

Le paramètre du Dashboard s'applique à toutes les instances du SDK de votre compte.


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