---
title: "Master Wallet Update"
method: PATCH
path: "/v1/wallets/{walletId}/virtual-accounts/{id}"
tags: ["Virtual Accounts"]
---

# Master Wallet Update

`PATCH /v1/wallets/{walletId}/virtual-accounts/{id}`

This endpoint is used to update a virtual account status within a specific master wallet.

**Auto-Funding Behavior:**

- Active accounts: Payments received trigger automatic cNGN minting
- Inactive accounts: Payments are received but auto-funding is disabled

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| isActive | boolean | Yes | true to activate, false to deactivate |

## Request body

- object
  - `accountName` string
  - `accountNumber` string

## Response `200`

200

- object
  - `data` object
    - `accountName` string
    - `accountNumber` string
    - `address` unknown
    - `bankCode` string
    - `bankName` string
    - `createdAt` string
    - `currency` string
    - `customer` object
      - `createdAt` string
      - `email` string
      - `id` string
      - `name` string
      - `network` string
      - `phone` string
      - `status` string
      - `updatedAt` string
    - `id` string
    - `isActive` boolean
    - `reference` string
    - `status` string
    - `type` string
    - `updatedAt` string
    - `wallet` object
      - `address` string
      - `configurations` unknown
      - `createdAt` string
      - `derivationPath` string
      - `description` string
      - `id` string
      - `isActive` boolean
      - `name` string
      - `network` string
      - `status` string
      - `updatedAt` string
  - `message` string
  - `statusCode` number

---

[API](https://skmtc.net/blockradar/apis/blockradar-documentation.md) · [All operations](https://skmtc.net/blockradar/apis/blockradar-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockradar/blockradar-documentation/versions/97f95b4cfc0d/schema)
