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

# Saques de Poupança

> Saque da poupança para banco ou carteira cripto

## Criando Saque

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

```json theme={null}
{
  "source": {
    "savingsAccountId": "savings-id"
  },
  "destination": {
    "savingsAccountId": "savings-id",
    "externalAccountId": "bank-ou-wallet-id"
  },
  "amount": 1000,
  "comment": "Saque para banco"
}
```

## Exemplo

```javascript theme={null}
const withdraw = async (savingsAccountId, destinationAccountId, amount) => {
  const response = await fetch(
    'https://sandbox.killb.app/api/v2/savings/withdrawal',
    {
      method: 'POST',
      headers: {
        'Authorization': `Bearer ${token}`
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        source: {
          savingsAccountId: savingsAccountId
        },
        destination: {
          savingsAccountId: savingsAccountId,
          externalAccountId: destinationAccountId
        },
        amount: amount,
        comment: 'Saque do usuário'
      })
    }
  );
  
  return await response.json();
};
```

## Tempos de Processamento

* **Para Banco (ACH):** 1-3 dias úteis
* **Para Banco (Wire):** Mesmo dia
* **Para Cripto:** 5-30 minutos

## Próximos Passos

<Card title="Histórico de Transações" icon="clock-rotate-left" href="/api-reference/endpoint/savings-create">
  Veja a documentação da API de poupança
</Card>
