No, you cannot. We currently do not have a feature that allows a Virtual Account to be cancelled. However, you can update the Virtual Account's Expiration Date to inactivity.
As an Example, the expiration date can be updated as below:
{
"expiration_date": "2021-09-27T17:00:00.000Z",
"expected_amount": 150000
}
Please see our API reference documents for more details:
https://developers.xendit.co/api-reference/#update-virtual-account