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.
Creating Withdrawal
POST /api/v2/savings/withdrawal
{
"source": {
"savingsAccountId": "savings-id"
},
"destination": {
"savingsAccountId": "savings-id",
"externalAccountId": "bank-or-wallet-id"
},
"amount": 1000,
"comment": "Withdrawal to bank"
}
Example
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: 'User withdrawal'
})
}
);
return await response.json();
};
Processing Times
- To Bank (ACH): 1-3 business days
- To Bank (Wire): Same day
- To Crypto: 5-30 minutes
Next Steps
Transaction History
View savings API documentation