---
title: Virtual Account Static
slug: en/nicepay-api-non-snap-virtual-account-static
description: Information about Non-SNAP Advance API - Virtual Account Static available on NICEPAY system
image: https://archbee-image-uploads.s3.amazonaws.com/ZHvSjR5ZrsoxwKbJa3xmo/G4V57kwimki6yh1ZhTm7Q_nicepay-docs-logo.png
icon: {"faIcon":"fa-brands fa-accusoft"}
docTags: 
createdAt: 2022-11-18T06:24:12.000Z
---

# About API Virtual Account Static (Fix Open)

***

In the Static Virtual Account payment method (fix open), the Customer can use the same Virtual Account number continuously for multiple payments. Static VA integration uses for the VA Fix Open payment method.&#x20;

:::hint{type="info"}
- To find out more about Virtual Account payment information, you can read on [Virtual Account (VA)](docId\:zf1aK3Ppg5z1My1OeVy7a).
- To learn a general explanation of Virtual Account payment method, you can visit  [VA Payment Guide](docId\:ie9RxFmM-gpySjakMrbvL) page.
:::



# Merchant Registration

***

::::hint{type="info"}
:::Iframe{code="<!-- <p>paste iframe code here</p> -->Before using the NICEPAY system, the Merchants must initially register with the NICEPAY service. Please contact our NICEPAY sales team at <a style=&#x22;color:blue; text-decoration-line:underline&#x22; href=&#x22;mailto:cs@nicepay.co.id&#x22;>Marketing NICEPAY</a>." iframeHeight="0"}

:::
::::

| **Credential** | **Description**  |
| -------------- | ---------------- |
| iMid           | Merchant ID      |
| encodeKey      | Merchant API Key |

To support setup needs, please download the following file from the NICEPAY library.

:::CtaButton{label="NICEPAY.jar" externalHref="https://github.com/nicepay-dev/plugs-libs/tree/master/Java%20API%20V2" openInNewTab="true"}

:::



# NICEPAY API Registration

***

*NICEPAY API Registration* aims to enable Merchants to register the API system for payment in the Merchant system and integrate it with the system from NICEPAY. This step is done first so the system knows that the related Merchant has been officially registered and can be connected to services from NICEPAY.

| **API URL**        | `https://www.nicepay.co.id/nicepay/api/vacctCustomerRegist.do`   |
| ------------------ | ---------------------------------------------------------------- |
| **Request Method** | <font color="#3b9f0f">**POST**</font>****                        |
| **Merchant Token** | SHA256(`iMid`+`customerId`+`merchantKey`)                        |
| **Request Format** | <font color="#2166ae">`application/x-www-form-urlencoded`</font> |



## Request Parameter for Registration VA Static

***

The following is a list of parameters for submitting the registration for a static-type (fix open) Virtual Account payment method. This parameter is used through the API testing platform as one of the stages so that the Merchant's system can connect to services from NICEPAY.

| **Parameter**                                                | **Tipe** | **Size**                                    | **Description**      | **Example / Notes**                                              |
| ------------------------------------------------------------ | -------- | ------------------------------------------- | -------------------- | ---------------------------------------------------------------- |
| `iMid`<br /><font color="#2166ae">Required</font>            | AN       | 10                                          | Merchant ID          | FIXOPEN001                                                       |
| `customerId`<br /><font color="#2166ae">Required</font>&#xD; | N        | Max 8&#xD;<br />(Depend on Merchant Prefix) | Merchant Customer ID | 10021198                                                         |
| `customerNm`<br /><font color="#2166ae">Required</font>      | AN       | 20 - 30                                     | Customer Name        | Jack                                                             |
| `merchantToken`<br /><font color="#2166ae">Required</font>   | AN       | 255                                         | Merchant Token       | c31fec3c0e66c9d8703f9f8221f7c450950d7d26822abe037ce33c12f462c785 |



## Response Parameter for Registration VA Static

***

The following are the response parameters from the results of the request parameter to register the Virtual Account statistics payment method.

| **Parameter**                                              | **Type**        | **Size**                                              | **Description**                                              | **Example / Notes**                                                                                  |
| ---------------------------------------------------------- | --------------- | ----------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
| `resultCd`<br /><font color="#2166ae">Required</font>      | N               | 4                                                     | Result Code: [Result Code](docId:9eC3yH9CQqpb6cRWauWWO)      | 0000                                                                                                 |
| `resultMsg`<br /><font color="#2166ae">Required</font>     | AN              | 255                                                   | Result Message: [Error Code](docId\:FsX1GESJKxOp0T9rvUHp_)   | SUCCESS                                                                                              |
| `customerID`<br /><font color="#2166ae">Required</font>    | N               | Max 8&#xD;<br />(Depend on&#xD;<br />Merchant Prefix) | Merchant Customer ID                                         | 10021198                                                                                             |
| `customerNm`                                               | AN              | 20 - 30                                               | Merchant Customer Name                                       | Jack                                                                                                 |
| `vacctInfoList`<br /><font color="#2166ae">Required</font> | Array of object |                                                       | Bank Virtual Account List                                    | \[&#xD;<br />\{&#xD;<br />"bankCd": "BDIN",&#xD;<br />"vacctNo": "7917019110021198"&#xD;<br />},...] |



## Sample JSON Registration Virtual Account Static

***

:::CodeblockTabs
Form-urlencoded Request

```none
iMid: "FIXOPEN001"
customerId: "10021198"
customerNm: "Jack"
merchantToken: "c31fec3c0e66c9d8703f9f8221f7c450950d7d26822abe037ce33c12f462c785"
```

JSON Response

```json
{
    "resultCd": "0000",
    "resultMsg": "SUCCESS",
    "customerId": "10021198",
    "customerNm": "Jack",
    "vacctInfoList": [
        {
            "bankCd": "BDIN",
            "vacctNo": "7917019110021198"
        },
        {
            "bankCd": "BNIA",
            "vacctNo": "11695109010021198"
        },
        {
            "bankCd": "BMRI",
            "vacctNo": "8804910910021198"
        },
        {
            "bankCd": "BNIN",
            "vacctNo": "1111111310021198"
        },
        {
            "bankCd": "IBBK",
            "vacctNo": "1111112010021198"
        },
        {
            "bankCd": "HNBN",
            "vacctNo": "765430000000000010021198"
        },
        {
            "bankCd": "BBBA",
            "vacctNo": "1111111910021198"
        },
        {
            "bankCd": "CENA",
            "vacctNo": "7007216110021198"
        },
        {
            "bankCd": "YUDB",
            "vacctNo": "9044444450010021198"
        }
    ]
}
```

Java Request

```java
// VA Registration //
// VA Registration Mandatory Field
nicePay.setCustomerID("10021198");
nicePay.setCustomerName("Jack");
nicePay.setMerchantToken(nicePay.makeToken(nicePay.getCustomerID()));

// Request VA Registration
nicePay.vaRegist();

// Response String //
System.out.println("Final Response String : " + nicePay.getResponseString());

String resultCd = nicePay.Get("resultCd");
String resultMsg = nicePay.Get("resultMsg");
String customerId = nicePay.Get("customerId");
String vacctInfoList = nicePay.Get("VacctInfoList");
```
:::

### Vacct Info List

| **Parameter**                                        | **Type** | **Size** | **Description**                            | **Example/Notes** |
| ---------------------------------------------------- | -------- | -------- | ------------------------------------------ | ----------------- |
| `bankCd`<br /><font color="#2166ae">Required</font>  | AN       | 4        | [Bank Code](docId\:HlxvgrXVxWD90n8ohNKm0)  | BDIN              |
| `vacctNo`<br /><font color="#2166ae">Required</font> | N        | 16       | Virtual Account Number                     | 7917019110021198  |

### Sample JSON Vacct Account

:::CodeblockTabs
JSON Vacct Account Response

```json
{
    "vacctInfoList": [
        {
            "bankCd": "BDIN",
            "vacctNo": "7917019110021198"
        },
        {
            "bankCd": "BNIA",
            "vacctNo": "11695109010021198"
        },
        {
            "bankCd": "BMRI",
            "vacctNo": "8804910910021198"
        },
        {
            "bankCd": "BNIN",
            "vacctNo": "1111111310021198"
        },
        {
            "bankCd": "IBBK",
            "vacctNo": "1111112010021198"
        },
        {
            "bankCd": "HNBN",
            "vacctNo": "765430000000000010021198"
        },
        {
            "bankCd": "BBBA",
            "vacctNo": "1111111910021198"
        },
        {
            "bankCd": "CENA",
            "vacctNo": "7007216110021198"
        },
        {
            "bankCd": "YUDB",
            "vacctNo": "9044444450010021198"
        }
    ]
}
```
:::



# NICEPAY Virtual Account Inquiry

***

*NICEPAY Virtual Account Inquiry* aims to obtain Customer information and also Virtual Account numbers to proceed with monitoring for further development purposes.

:::hint{type="info"}
The settings for NICEPAY Virtual Account Inquiry aim to collect information on a list of Virtual Accounts registered from any Bank based on `merFixId` .
:::

| **Target Url**       | `https://www.nicepay.co.id/nicepay/api/vacctCustomerInquiry.do`  |
| -------------------- | ---------------------------------------------------------------- |
| **Method**           | ****<font color="#3b9f0f">**POST, GET**</font>****               |
| **Description**&#xD; | To perform VA checking on `customerId`                           |
| **Merchant Token**   | SHA256(`iMid`+`customerId`+`merchantKey`)                        |
| **Request Format**   | <font color="#2166ae">`application/x-www-form-urlencoded`</font> |



## Request Parameter for Virtual Account Inquiry

***

The following is a list of parameters for requesting a Virtual Account inquiry. This parameter is used through the API testing platform as one of the steps so that the Merchant's system can connect to the system from NICEPAY.&#x20;

| **Parameter**                                                | **Type** | **Size**                                    | **Description**      | **Example / Notes**                                              |
| ------------------------------------------------------------ | -------- | ------------------------------------------- | -------------------- | ---------------------------------------------------------------- |
| `iMid`<br /><font color="#2166ae">Required</font>            | AN       | 10                                          | Merchant ID          | FIXOPEN001                                                       |
| `customerId`<br /><font color="#2166ae">Required</font>&#xD; | N        | Max 8&#xD;<br />(Depend on Merchant Prefix) | Merchant Customer ID | 10021198                                                         |
| `merchantToken`<br /><font color="#2166ae">Required</font>   | AN       | 255                                         | Merchant Token       | c31fec3c0e66c9d8703f9f8221f7c450950d7d26822abe037ce33c12f462c785 |



## Response Parameter for Inquiry

***

The following is the response parameters from the results of the request parameter to register the Virtual Account Static payment method .

| **Parameter**                                              | **Type**        | **Size**                                              | **Description**                                             | **Example / Notes**                                                                                                                                                                                                                                     |
| ---------------------------------------------------------- | --------------- | ----------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `resultCd`<br /><font color="#2166ae">Required</font>      | N               | 4                                                     | Result Code: [Result Code](docId:9eC3yH9CQqpb6cRWauWWO)     | 0000                                                                                                                                                                                                                                                    |
| `resultMsg`<br /><font color="#2166ae">Required</font>     | AN              | 255                                                   | Result Message: [Error Code](docId\:FsX1GESJKxOp0T9rvUHp_)  | SUCCESS                                                                                                                                                                                                                                                 |
| `customerID`<br /><font color="#2166ae">Required</font>    | N               | Max 8&#xD;<br />(Depend on&#xD;<br />Merchant Prefix) | Merchant Customer ID                                        | 10021198                                                                                                                                                                                                                                                |
| `customerNm`<br /><font color="#2166ae">Required</font>    | AN              | 20 - 30                                               | Merchant Customer Name                                      | Jack                                                                                                                                                                                                                                                    |
| `vacctInfoList`<br /><font color="#2166ae">Required</font> | Array of object |                                                       | Bank Virtual Account List                                   | \[<br />        \{<br />            "bankCd": "BDIN",<br />            "vacctNo": "7917019110021198"<br />        },<br />        \{<br />            "bankCd": "BNIA",<br />            "vacctNo": "11695109010021198"<br />        },<br />...<br />] |



## Sample JSON NICEPAY Virtual Account Inquiry

***

:::CodeblockTabs
Form-Urlencode Request

```none
iMid: "FIXOPEN001"
customerId: "10021198"
merchantToken: "c31fec3c0e66c9d8703f9f8221f7c450950d7d26822abe037ce33c12f462c785"
```

JSON Response

```json
{
    "resultCd": "0000",
    "resultMsg": "SUCCESS",
    "customerId": "10021198",
    "customerNm": "Jack",
    "vacctInfoList": [
        {
            "bankCd": "BDIN",
            "vacctNo": "7917019110021198"
        },
        {
            "bankCd": "BNIA",
            "vacctNo": "11695109010021198"
        },
        {
            "bankCd": "BMRI",
            "vacctNo": "8804910910021198"
        },
        {
            "bankCd": "BNIN",
            "vacctNo": "1111111310021198"
        },
        {
            "bankCd": "IBBK",
            "vacctNo": "1111112010021198"
        },
        {
            "bankCd": "HNBN",
            "vacctNo": "765430000000000010021198"
        },
        {
            "bankCd": "BBBA",
            "vacctNo": "1111111910021198"
        },
        {
            "bankCd": "CENA",
            "vacctNo": "7007216110021198"
        },
        {
            "bankCd": "YUDB",
            "vacctNo": "9044444450010021198"
        }
    ]
}
```

Java Request

```java
1. // VA Inquiry //
2. // VA Inquiry Mandatory Field
3. nicePay.setCustomerID("12345");
4. nicePay.setMerchantToken(nicePay.makeToken(nicePay.getCustomerID())); 
5.
6. // Request VA Inquiry
7. nicePay.vaInquiry();
8. // Response String //
9. System.out.println("Final Response String : " + nicePay.getResponseString()); 
10.
11. String resultCd = nicePay.Get("resultCd");
12. String resultMsg = nicePay.Get("resultMsg");
13. String customerId = nicePay.Get("customerId");
14. String vacctInfoList = nicePay.Get("VacctInfoList");
```
:::

### Vacct Info List

| **Parameter**                                        | **Type** | **Size** | **Description**                            | **Example / Notes** |
| ---------------------------------------------------- | -------- | -------- | ------------------------------------------ | ------------------- |
| `bankCd`<br /><font color="#2166ae">Required</font>  | AN       | 4        | [Bank Code](docId\:HlxvgrXVxWD90n8ohNKm0)  | BDIN                |
| `vacctNo`<br /><font color="#2166ae">Required</font> | N        | 16       | Virtual Account Number                     | 7917019110021198    |

### Sample JSON Vacct Account

:::CodeblockTabs
JSON Vacct Account

```json
{
    "vacctInfoList": [
        {
            "bankCd": "BDIN",
            "vacctNo": "7917019110021198"
        },
        {
            "bankCd": "BNIA",
            "vacctNo": "11695109010021198"
        },
        {
            "bankCd": "BMRI",
            "vacctNo": "8804910910021198"
        },
        {
            "bankCd": "BNIN",
            "vacctNo": "1111111310021198"
        },
        {
            "bankCd": "IBBK",
            "vacctNo": "1111112010021198"
        },
        {
            "bankCd": "HNBN",
            "vacctNo": "765430000000000010021198"
        },
        {
            "bankCd": "BBBA",
            "vacctNo": "1111111910021198"
        },
        {
            "bankCd": "CENA",
            "vacctNo": "7007216110021198"
        },
        {
            "bankCd": "YUDB",
            "vacctNo": "9044444450010021198"
        }
    ]
}
```
:::



# NICEPAY Virtual Account Deposit

***

*NICEPAY Virtual Account Deposit* in the system aims to check the status of a fixed open Virtual Account and to display how much `amt` (amount) is paid with a certain `tXid` (transaction ID) and at a certain time.

| **Target Url**     | `https://www.nicepay.co.id/nicepay/api/vacctInquiry.do`          |
| ------------------ | ---------------------------------------------------------------- |
| **Method**         | ****<font color="#3b9f0f">**POST**</font>****                    |
| **Description**    | API Check Status For VA Fixopen&#xD;                             |
| **Merchant Token** | SHA256(`iMid`+`customerId`+`merchantKey`)                        |
| **Request Format** | <font color="#2166ae">`application/x-www-form-urlencoded`</font> |



## Request Parameter for Virtual Account Check Status

***

The following is a list of parameters for requesting a Virtual Account check deposit status. This parameter uses through the API testing platform as one of the steps so that the Merchant's system can connect to the system from NICEPAY.

| **Parameter**                                              | **Type** | **Size** | **Description**                                 | **Example / Notes**                                              |
| ---------------------------------------------------------- | -------- | -------- | ----------------------------------------------- | ---------------------------------------------------------------- |
| `iMid`<br /><font color="#2166ae">Required</font>          | AN       | 10       | Merchant ID                                     | FIXOPEN001                                                       |
| `vacctNo`<br /><font color="#2166ae">Required</font>       | N        | 16       | Virtual Account Number                          | 8804910910021197                                                 |
| `merchantToken`<br /><font color="#2166ae">Required</font> | AN       | 255      | Merchant Token                                  | 20221215                                                         |
| `startDt`<br /><font color="#2166ae">Required</font>       | N        | 8        | Request Start Date &#xD;<br />(`YYYYMMDD`)&#xD; | 20221222                                                         |
| `endDt`<br /><font color="#2166ae">Required</font>         | N        | 8        | Request Start Date &#xD;<br />(`YYYYMMDD`)&#xD; | 75d137e8823108e47d04dadc3290cb36dc305d573323123f410c6f61acf1db63 |



## Response Parameter for Virtual Account Check Status

***

The following are the response parameters from the request parameter result for the Virtual Account check status.

| **Parameter**                                            | **Type**        | **Size** | **Description**                                             | **Example / Notes**                                                                                                                                                                                                                                                 |
| -------------------------------------------------------- | --------------- | -------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `resultCd`<br /><font color="#2166ae">Required</font>    | N               | 4        | [Result Code](docId:9eC3yH9CQqpb6cRWauWWO)                  | SUCCESS                                                                                                                                                                                                                                                             |
| `resultMsg`<br /><font color="#2166ae">Required</font>   | AN              | 255      | Result Message: [Error Code](docId\:FsX1GESJKxOp0T9rvUHp_)  | SUCCESS                                                                                                                                                                                                                                                             |
| `vacctNo`<br /><font color="#2166ae">Required</font>     | N               | 16       | Virtual Account Number                                      | 8804910910021197                                                                                                                                                                                                                                                    |
| `depositInfo`<br /><font color="#2166ae">Required</font> | Array of object |          | Bank Virtual Account List                                   | \[&#xD;<br />\{&#xD;<br />"bankCd": "BMRI",&#xD;<br />"date": "20221220",&#xD;<br />"time": "100733",&#xD;<br />"amt": "1600000",&#xD;<br />"tXid": "FIXOPEN00102202212201007334066",&#xD;<br />"status": "0",&#xD;<br />"referenceNo": "10021197"&#xD;<br />},...] |



## Sample JSON Virtual Account Deposit

***

:::CodeblockTabs
Form-Urlencode Request

```none
iMid: "FIXOPEN001"
vacctNo: "8804910910021197"
startDt: "20221215"
endDt: "20221222"
merchantToken: "75d137e8823108e47d04dadc3290cb36dc305d573323123f410c6f61acf1db63"
```

JSON Response

```json
{
    "resultCd": "0000",
    "resultMsg": "SUCCESS",
    "vacctNo": "8804910910021197",
    "depositInfo": [
        {
            "bankCd": "BMRI",
            "date": "20221220",
            "time": "100733",
            "amt": "1600000",
            "tXid": "FIXOPEN00102202212201007334066",
            "status": "0",
            "referenceNo": "10021197"
        },
        {
            "bankCd": "BMRI",
            "date": "20221220",
            "time": "101001",
            "amt": "160000",
            "tXid": "FIXOPEN00102202212201010014071",
            "status": "0",
            "referenceNo": "10021197"
        }
    ]
}
```

Java Request

```java
// VA Check Status Deposit//
nicepay.setiMid("FIXOPEN001");
nicepay.setVacctNo("8804910910021197");
nicepay.setMerchantToken(nicepay.getToken());
nicepay.setStartDt("20221215");
nicepay.setEndDt("20221231");

// Request VA Check Status Deposit//
nicepay.vaCheckStatusDeposit();
// Response VA Check Status Deposit//
System.out.println("Response :" + nicepay.getResponse();

String resultCd = nicepay.get("resultCd");
String resultMsg = nicepay.get("resultMsg");
String vacctNo = nicepay.get("vacctNo");
String depositInfo = nicepay.get("depositInfo");
```
:::



# NICEPAY Virtual Account Update

***

*NICEPAY Virtual Account Update* on the system aims to update the Merchant's Virtual Account profile information. Merchants can make modifications to the Virtual Account to update or delete via `updateType` .

| **Target Url**     | `https://www.nicepay.co.id/nicepay/api/vacctCustomerUpdate.do`   |
| ------------------ | ---------------------------------------------------------------- |
| **Method**         | ****<font color="#3b9f0f">**POST**</font>****                    |
| **Description**    | merficAcctNm API For Virtual Account Update&#xD;                 |
| **Merchant Token** | SHA256(`iMid`+`customerId`+`merchantKey`)                        |
| **Request format** | <font color="#2166ae">`application/x-www-form-urlencoded`</font> |



## Request Parameter for Virtual Account Update

***

The following is a list of parameters for requesting updates from transactions made on static-type (fix open) Virtual Account payment methods. This parameter uses in the API testing platform as one of the stages so that the Merchant's system can connect to the services from NICEPAY.

| **Parameter**                                              | **Type** | **Size**                               | **Description**                                      | **Example / Notes**                                              |
| ---------------------------------------------------------- | -------- | -------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------------------- |
| `iMid`<br /><font color="#2166ae">Required</font>          | AN       | 10                                     | Merchant ID                                          | FIXOPEN001                                                       |
| `customerId`<br /><font color="#2166ae">Required</font>    | N        | Max 8 (Depend on&#xD; Merchant Prefix) | Customer ID                                          | 10021197                                                         |
| `merchantToken`<br /><font color="#2166ae">Required</font> | AN       | 255                                    | Merchant Token                                       | c92a4372a8417d96407becec2c3221033358c16e1c29b5ccf7fe0cec211ecbf4 |
| `customerNm`<br /><font color="#2166ae">Required</font>    | AN       | 20 - 30                                | Customer Name&#xD;                                   | Howard                                                           |
| `updateType`<br /><font color="#2166ae">Required</font>    | N        | 2                                      | `1`: Create &#xD;<br />`2`: Update <br />`3`: Delete | 2                                                                |



## Response Parameter for Virtual Account Update

***

The following is the response parameters from the results of the request parameters for the Virtual Account update.

| **Parameter**                                              | **Type**        | **Size**                                    | **Description**                                             | **Example / Notes**                                                                                  |
| ---------------------------------------------------------- | --------------- | ------------------------------------------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `resultCd`<br /><font color="#2166ae">Required</font>      | N               | 4                                           | [Result Code](docId:9eC3yH9CQqpb6cRWauWWO)                  | 0000                                                                                                 |
| `resultMsg`<br /><font color="#2166ae">Required</font>     | AN              | 255                                         | Result Message: [Error Code](docId\:FsX1GESJKxOp0T9rvUHp_)  | SUCCESS                                                                                              |
| `customerNm`<br /><font color="#2166ae">Required</font>    | A               | 20 - 30                                     | Merchant Customer Name                                      | Howard                                                                                               |
| `customerId`<br /><font color="#2166ae">Required</font>    | N               | Max 8&#xD;<br />(Depend on Merchant Prefix) | Merchant Customer ID                                        | 10021197                                                                                             |
| `vacctInfoList`<br /><font color="#2166ae">Required</font> | Array of Object |                                             | Bank Virtual Account&#xD; List                              | \[&#xD;<br />\{&#xD;<br />"bankCd": "BDIN",&#xD;<br />"vacctNo": "7917019110021197"&#xD;<br />},...] |



## Sample Response VA Update

***

:::CodeblockTabs
Form-Urlencode Request

```none
iMid: "FIXOPEN001"
customerId: "10021197"
customerNm: "Howard"
merchantToken: "c92a4372a8417d96407becec2c3221033358c16e1c29b5ccf7fe0cec211ecbf4"
updateType: "2"
```

JSON Response

```json
{
    "resultCd": "0000",
    "resultMsg": "SUCCESS",
    "customerId": "10021197",
    "customerNm": "Howard",
    "vacctInfoList": [
        {
            "bankCd": "BDIN",
            "vacctNo": "7917019110021197"
        },
        {
            "bankCd": "BNIA",
            "vacctNo": "11695109010021197"
        },
        {
            "bankCd": "BMRI",
            "vacctNo": "8804910910021197"
        },
        {
            "bankCd": "BNIN",
            "vacctNo": "1111111310021197"
        },
        {
            "bankCd": "IBBK",
            "vacctNo": "1111112010021197"
        },
        {
            "bankCd": "HNBN",
            "vacctNo": "765430000000000010021197"
        },
        {
            "bankCd": "BBBA",
            "vacctNo": "1111111910021197"
        },
        {
            "bankCd": "CENA",
            "vacctNo": "7007216110021197"
        },
        {
            "bankCd": "YUDB",
            "vacctNo": "9044444450010021197"
        }
    ]
}
```

Java Request

```json
// VA Update///
nicepay.setiMid("FIXOPEN001");
nicepay.setCustomerId("10021197");
nicepay.setMerchantToken(nicepay.getToken());
nicepay.setCustomerNm("Howard");
nicepay.setUpdateType("2");

// Request VA Update//
nicepay.vaUpdate();
// Response VA Update//
System.out.println("Response :" + nicepay.getResponse();

String resultCd = nicepay.get("resultCd");
String resultMsg = nicepay.get("resultMsg");
String customerNm = nicepay.get("customerNm");
String customerId = nicepay.get("customerId");
String vacctInfoList = nicepay.get("depositInfo");
```
:::



# See Also

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
Visit the [Status Inquiry - API Checkout](docId\:RhH7PmISd6IHN99yWVJHm) page to find out API to check status inquiry specific for Checkout.
:::

:::VerticalSplitItem
Visit the [Cancel - API Checkout](docId\:CmiiEW1Oy21QP7qDEcUl-) page to find out API to cancel transaction specific for Checkout.
:::
::::

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
Visit the [Status Inquiry - API Virtual Account](docId\:hQ-6VN1CCHZdrYlM7ZWSQ) page to find out the API Virtual Account to check status inquiry on API specific for Payment.
:::

:::VerticalSplitItem
Visit the [Cancel - API Virtual Account](docId\:fRRDZ06DoDDqfeIZlWklq) page to find out API Virtual Account to cancel the transaction on API specific for Payment.
:::
::::

