# Delete a virtual account

`DELETE /service/@id/tinopay/bank-accounts/@bank/virtual-accounts/@va` · TinoPay, service owner's sign-in token

Delete a virtual account; returns `{id, deleted: true}`.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/service/@id/tinopay/bank-accounts/@bank/virtual-accounts/@va` |
| Method | `DELETE` |
| Authentication | the TinoPay service owner's sign-in token (`Authorization: Bearer <token>`); the `/v1` gateway does not expose TinoPay yet |
| Content-Type | — (no body) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | int | yes | TinoPay service ID |
| `bank` | path | string | yes | Bank account ID (`id` in the bank account list) |
| `va` | path | int | yes | Virtual account ID |

## Example request

```bash
curl -X DELETE "https://api.tino.vn/service/100001/tinopay/bank-accounts/9c1e6f2a-5b7d-4e1a-9f3c-2d8b6a4e0c11/virtual-accounts/51" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is the TinoPay service owner's sign-in token. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): no dedicated function yet, use `client.request("DELETE", "/service/@id/tinopay/bank-accounts/@bank/virtual-accounts/@va")`.

## Example response

```json
{
 "data": {
  "id": 51,
  "deleted": true
 }
}
```

Sample built from the TinoPay API v1 documentation (Tino relays TinoPay data as is); values are examples.
