# API update KYC virtual account information

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

### Sequence Diagram

<figure><img src="https://github.com/neopayvn/neox-gitbook-documents-v2/blob/main/collections/.gitbook/assets/Picture1%20(8).png" alt=""><figcaption></figcaption></figure>

* API:
  * Path: *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></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-v2/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>
