Close a dedicated virtual account
close_virtual_accountClose a dedicated virtual account to stop it receiving money by supplying a reason. Dynamic accounts cannot be closed this way, and already closed accounts remain unchanged.
Instructions
Close a dedicated virtual account.
Close a dedicated virtual account so it stops receiving money for you. Dynamic accounts can’t be closed this way (400 invalid_operation): they close with their payment. Closing an already closed account returns it unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The virtual account id (`va_…`). | |
| reason | Yes | ||
| idempotency_key | No | Optional. A unique key for this request; retrying with the same key returns the original result instead of acting twice. One is generated if omitted. |