Update a virtual account
Changed onRename 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.
patch/v2/virtual-accounts/{virtualAccountId}
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/virtual-accounts/{virtualAccountId}
- AuthAPI key in header X-API-Key
Path parameters
virtualAccountIdstring required
Virtual account id with the subaccount_ prefix.
Request body
Example request
{
"name": "Payroll (2026)",
"commission": {
"amount": {
"amount": 1250
}
}
}Response
The updated virtual account.
Example response
{
"commission": {
"amount": {
"amount": 1250
}
}
}Changes
- info
endpoint added
- info