---
description: "Request closure of one of your virtual accounts. Returns `202 Accepted` when closure has been requested or is already in progress, and `200 OK` when the virtual account is already closed."
title: "Close Virtual Account"
---

# Close Virtual Account

> Request closure of one of your virtual accounts. Returns `202 Accepted` when closure has been requested or is already in progress, and `200 OK` when the virtual account is already closed.

```http
POST /virtual-accounts/{VirtualAccountID}/close
```

- `https://api.sandbox.noah.com/v1/virtual-accounts/{VirtualAccountID}/close` — V1 Sandbox Server
- `https://api.noah.com/v1/virtual-accounts/{VirtualAccountID}/close` — V1 Production Server

## Authentication

- `X-Api-Key`: Your Noah API key. Required on all requests. See [API Keys](/api-concepts/authentication/api).
- `Api-Signature`: Digitally signed JWT used to verify request authenticity. Optional in sandbox when your API key has no associated signing public key; required in production for all requests. If sent, the signature is always validated. See [Request Signing](/api-concepts/authentication/signing).

## Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `VirtualAccountID` | string | Yes | Virtual account identifier to close. Virtual account identifier. (length 1-43; pattern `^[0-9A-Za-z]+$`) |

## Responses

### 200 — Virtual account is already closed.

#### `application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `VirtualAccountID` | string | Yes | Virtual account identifier. (length 1-43; pattern `^[0-9A-Za-z]+$`) |
| `Status` | string | Yes | Current status of the virtual account. `200 OK` responses return `Closed`; `202 Accepted` responses return `PendingClosure`. |

### 202 — Close request accepted. The virtual account is pending closure.

#### `application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `VirtualAccountID` | string | Yes | Virtual account identifier. (length 1-43; pattern `^[0-9A-Za-z]+$`) |
| `Status` | string | Yes | Current status of the virtual account. `200 OK` responses return `Closed`; `202 Accepted` responses return `PendingClosure`. |

### 400 — Bad request

### 401 — Client is not authorized to perform this action

### 500 — Internal server error

Error responses share one `Error` envelope across the whole API. See https://docs.noah.com/api-concepts/errors.md for its fields, the `Type` values, and the field-level validation details in `RequestExtension` and `DenyExtension`.

## See also

- Rendered reference: https://docs.noah.com/api-reference/close-virtual-account
- OpenAPI document: https://docs.noah.com/files/oas-schema.generated.json
