> ## 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 Android : migration vers la v2.11

> Comment passer du SDK Android v2.10.x à la v2.11.0

# Migration vers le SDK Android v2.11

La version 2.11.0 supprime le paramètre `cardFlow` de `YunoConfig`. La configuration du flux de carte passe dans le Yuno Dashboard.

## Ce qui a changé

Le paramètre `cardFlow` de `YunoConfig` a été supprimé. Le transmettre provoquera une **erreur de compilation** après la mise à niveau.

## Étapes

### Supprimer `cardFlow` de YunoConfig

**Avant :**

```kotlin theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
val config = YunoConfig(
    apiKey = "your_api_key",
    cardFlow = CardFormType.ONE_STEP
)
```

**Après :**

```kotlin theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
val config = YunoConfig(
    apiKey = "your_api_key"
)
```

### Configurer le flux de carte dans le Dashboard

Ouvrez **Dashboard → Checkout → Builder** et sélectionnez votre flux 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.