English
cURL
curl --request POST \ --url https://sandbox.killb.app/api/v2/savings/withdrawal \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "source": { "savingsAccountId": "<string>" }, "destination": { "savingsAccountId": "<string>", "externalAccountId": "<string>" }, "amount": 123, "comment": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "CREATED", "amount": 123, "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "DEPOSIT", "source": { "currency": "<string>", "custodialAccountId": "<string>" }, "destination": { "currency": "<string>", "externalAccountId": "<string>" }, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
CREATED
PENDING
PROCESSING
CONFIRMED
REFUNDED
COMPLETED
CANCELED
EXPIRED
FAILED
ERROR
REJECTED
DEPOSIT
WITHDRAWAL