Close a virtual account
Close 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.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Path Parameters
Virtual account id with the subaccount_ prefix.
Response
The closed virtual account.
A balance-bearing virtual account. Virtual accounts in eligible bank Accounts can source or receive API v2 transfers; Global USD virtual accounts are readable but cannot be used by the API v2 transfer endpoints.
Virtual account id with the subaccount_ prefix.
Parent Account id with the sa_group_ prefix.
primary, default open, closed Current ledger balance. Zero for a newly created virtual account.
Funds diverted to the Account's primary virtual account.
- Flat fee
- Take rate