# API update KYC virtual account information

* This is the API used to update KYC virtual account information.

### Sequence Diagram

<figure><img src="/files/HZ1EAPJfu7PZBqAomWXY" alt=""><figcaption></figcaption></figure>

* API:
  * Path: *v2/col/merchantVirtualAccounts* OR *v2/col/virtual-accounts*
  * Method: *PUT*
  * Request: Content-Type: *application/json*

### **Request Parameter**

<table><thead><tr><th width="239">Parameter</th><th width="124">Data Type</th><th width="101">Required</th><th>Description</th></tr></thead><tbody><tr><td>virtualAccountRequestId</td><td>String</td><td>Y</td><td>The ID of seller/business is provided by merchant</td></tr><tr><td>accountName</td><td>String</td><td>N</td><td>The name of seller/business is provided by merchant</td></tr><tr><td>accountAddress</td><td>String</td><td>N</td><td><p>The address of account.</p><p>(Includes the district, province)</p></td></tr><tr><td>frontIdCard</td><td>String</td><td>N</td><td>The photo of the front of the ID card</td></tr><tr><td>backIdCard</td><td>String</td><td>N</td><td>The photo of the back of the ID card</td></tr><tr><td>profileImg</td><td>String</td><td>N</td><td>The portrait</td></tr><tr><td>businessRegistration</td><td>String</td><td>N</td><td>The file of the business license.</td></tr><tr><td>profileData</td><td>Object</td><td>N</td><td>Virtual account profile data. Refer: <a href="/pages/VXSwa5948yFoEf0czZQJ#profiledata">ProfileData</a></td></tr></tbody></table>

### **Response Data**

<table><thead><tr><th width="191">Parameter</th><th width="150.33333333333331">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>code</td><td>Number</td><td>Error code, refer to <a href="https://github.com/neopayvn/neox-gitbook-documents-v1/blob/main/collections/integration/virtual-accounts/error-codes.md">table of error codes</a>.</td></tr><tr><td>message</td><td>String</td><td>Error description.</td></tr><tr><td>data</td><td>Object</td><td>Refer to <a href="#updatevirtualaccountresponse">UpdateVirtualAccountsResponse</a></td></tr><tr><td>neoResponseId</td><td>String</td><td>The ID of NeoX response</td></tr></tbody></table>

#### UpdateVirtualAccountResponse

<table><thead><tr><th width="239">Parameter</th><th width="116.33333333333331">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>requestId</td><td>String</td><td>The ID of the request.</td></tr><tr><td>virtualAccountRequestId</td><td>String</td><td>The ID of seller/business is provided by merchant.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neox.vn/docs/collections/integration/virtual-accounts/api-update-kyc-virtual-account-information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
