> ## Documentation Index
> Fetch the complete documentation index at: https://docs.killb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Crear Cuenta de Ahorro

> Configura cuentas de ahorro custodiales en USD

## Prerrequisitos

* Usuario con nivel KYC L1+
* Email del usuario verificado
* Aceptación de términos y condiciones

## Creando Cuenta

```bash theme={null}
POST /api/v2/savings
```

```json theme={null}
{
  "userId": "user-id",
  "acceptedTermsAndConditions": true
}
```

## Ejemplo Completo

```javascript theme={null}
const onboardToSavings = async (userId) => {
  // Verificar nivel KYC del usuario
  const user = await getUser(userId);
  
  if (user.accessLevel === 'L0') {
    throw new Error('Usuario debe completar KYC básico primero');
  }
  
  // Crear cuenta de ahorro
  const savings = await fetch('/api/v2/savings', {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${token}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      userId: userId,
      acceptedTermsAndConditions: true
    })
  }).then(r => r.json());
  
  console.log('Cuenta de ahorro creada:', savings.id);
  
  // Obtener instrucciones de depósito
  const achInstructions = await fetch(
    `/api/v2/savings/${savings.id}/deposit-instructions/ACH`,
    {
      headers: {
        'Authorization': `Bearer ${token}`
      }
    }
  ).then(r => r.json());
  
  return {
    savingsAccountId: savings.id,
    depositInstructions: achInstructions
  };
};
```

## Próximos Pasos

<CardGroup cols={2}>
  <Card title="Financiar Cuenta" icon="money-bill-wave" href="/es/guides/savings/deposits">
    Deposita fondos en ahorros
  </Card>

  <Card title="Retirar" icon="hand-holding-dollar" href="/es/guides/savings/withdrawals">
    Retira de ahorros
  </Card>
</CardGroup>
