Close a virtual account
Changed onClose an accessible virtual account. Pending transfers from it are canceled, cards attached to it are closed, and its remaining balance is moved to the Account's primary virtual account shortly after the response, so the returned balance may still be non-zero. Inbound transfers addressed to a closed virtual account are returned. The primary virtual account cannot be closed, and closing cannot be reversed.
post/v2/virtual-accounts/{virtualAccountId}/close
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/virtual-accounts/{virtualAccountId}/close
- AuthAPI key in header X-API-Key
Path parameters
virtualAccountIdstring required
Virtual account id with the subaccount_ prefix.
Response
The closed virtual account.
Example response
{
"commission": {
"amount": {
"amount": 1250
}
}
}Changes
- info
endpoint added
- info