---
title: "Update Virtual Account Status"
method: PATCH
path: "/virtual_accounts/{id}/status"
tags: ["Virtual Accounts"]
---

# Update Virtual Account Status

`PATCH /virtual_accounts/{id}/status`

## Request

- Base URL: `https://sandbox.au-0000.api.assemblypay.com`
- URL: `https://sandbox.au-0000.api.assemblypay.com/virtual_accounts/{id}/status`
- Auth: none declared

Update the status of a _Virtual Account_.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `status` 'closed'

## Response `202`

Accepted

- UpdateVaStatusResp
  - `id` string, uuid: Identifies the _Virtual Account_.
  - `message` string
  - `links` object
    - `self` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

---

[API](https://skmtc.dev/hellozai/apis/virtual-accounts-and-payids.md) - [All operations](https://skmtc.dev/hellozai/apis/virtual-accounts-and-payids/llms.txt) - [OpenAPI document](https://skmtc.dev/hellozai/apis/virtual-accounts-and-payids/revisions/2c9e638dc4f4?raw)
