English
cURL
curl --request POST \ --url https://sandbox.killb.app/api/v2/virtual-accounts/{id}/withdrawals \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": 100, "accountId": "4d23aa52-1b40-4584-a8ea-58aba6099c5c" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "virtualAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "amount": 123, "currency": "<string>", "network": "<string>", "address": "<string>", "status": "PENDING", "metadata": {}, "active": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "transferId": "<string>", "transferProof": "<string>" }
The access token received from the authorization server in the OAuth 2.0 flow.
Amount to withdraw
100
Destination account ID
"4d23aa52-1b40-4584-a8ea-58aba6099c5c"
PENDING
PROCESSING
COMPLETED
FAILED
REJECTED