Portfolio Transfers
Create withdrawal
Changed onWithdraws funds from a portfolio back into a same-currency wallet you own. The portfolio must hold sufficient balance to cover the withdrawal amount.
post/earn/v1/withdrawals
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring required
Unique key to safely retry the request without performing the operation twice
Request body
Example request
{
"portfolioId": "550e8400-e29b-41d4-a716-446655440000",
"reference": "WTH-2024-001",
"beneficiary": {
"walletId": "a:25041872910033:pXk9RmF:1",
"amount": 1000
},
"counterparty": {
"walletId": "a:25041872910033:pXk9RmF:1",
"amount": 1000
}
}Response
Created
Example response
{
"id": "770e8400-e29b-41d4-a716-446655440000",
"reference": "WTH-2024-001",
"createdAt": "2026-08-21T14:02:30Z",
"updatedAt": "2026-08-21T14:02:33Z"
}Changes
- info
endpoint added
- info