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.
Pré-requisitos
- Usuário com nível KYC L1+
- Email do usuário verificado
- Aceitação de termos e condições
Criando Conta
{
"userId": "user-id",
"acceptedTermsAndConditions": true
}
Exemplo Completo
const onboardToSavings = async (userId) => {
// Verificar nível KYC do usuário
const user = await getUser(userId);
if (user.accessLevel === 'L0') {
throw new Error('Usuário deve completar KYC básico primeiro');
}
// Criar conta poupança
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('Conta poupança criada:', savings.id);
// Obter instruções 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 Passos
Financiar Conta
Deposite fundos na poupança