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

# Android SDK: migração para a v2.11

> Como atualizar do Android SDK v2.10.x para a v2.11.0

# Migração para o Android SDK v2.11

A versão 2.11.0 remove o parâmetro `cardFlow` de `YunoConfig`. A configuração do fluxo de cartão passa para o Dashboard da Yuno.

## O que mudou

O parâmetro `cardFlow` de `YunoConfig` foi removido. Passá-lo causará um **erro de compilação** depois da atualização.

## Etapas

### Remova `cardFlow` de YunoConfig

**Antes:**

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

**Depois:**

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

### Configure o fluxo de cartão no Dashboard

Abra **Dashboard → Checkout → Builder** e selecione o fluxo de cartão:

* **One Step**: todos os campos do cartão em uma única tela
* **Multi Step**: campos do cartão distribuídos em várias telas

A configuração do Dashboard se aplica a todas as instâncias do SDK da sua conta.


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