Update a virtual account
Rename an accessible virtual account or replace its commission. Omitted fields are left as they are. The primary virtual account of an Account and closed virtual accounts cannot be updated.
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.
Body
Fields to change on a virtual account. Omitted fields are left as they are. A virtual account has at most one commission, so commission replaces the current one; sending a different type switches it.
Response
The updated 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