# Close a Virtual Account Closing active virtual accounts will be based on the specified payment type and currency. The endpoint closes all virtual accounts for a given payment type and currency. Once closed, the virtual account will no longer accept payments. Endpoint: DELETE /virtual-accounts Version: 1.0.0 Security: JWT ## Query parameters: - `payment_type` (string, required) The type of payments this virtual account accepts. 'local' for domestic payments within the same country, 'swift' for cross-border payments. Enum: "local", "swift" - `currency` (string, required) The currency of the virtual account to close in ISO 4217 format. Example: "USD" ## Response 200 fields (application/json): - `message` (string) Example: "Virtual account closed successfully" ## Response 400 fields (application/json): - `error` (string) Example: "Active account not found" ## Response 401 fields (application/json): - `error` (string) Example: "Unauthorized" - `message` (string) Example: "Invalid or missing authentication token"