> For the complete documentation index, see [llms.txt](https://docs.50spays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.50spays.com/ko/korea-va/krw-virtual-account-register.md). Agents can also search and read this documentation through its [MCP server](https://docs.50spays.com/~gitbook/mcp).

# KRW Virtual Account Register

### User virtual account registration for deposits and payouts

<mark style="color:green;">`POST`</mark> /api/merchant/common/krw/varegister

Method for creating KRW virtual account

**Body**

| Name            | Type                                                  | Description                                                          |
| --------------- | ----------------------------------------------------- | -------------------------------------------------------------------- |
| userId          | string <mark style="color:red;">**(required)**</mark> | Unique user identifier in the merchant's database                    |
| userName        | number <mark style="color:red;">**(required)**</mark> | User name                                                            |
| userYYMMDD      | string <mark style="color:red;">**(required)**</mark> | 6 digits before social security number. Sample:950420                |
| accountBankName | string <mark style="color:red;">**(required)**</mark> | User Account Bank Name. Sample:국민은행                                  |
| accountNumber   | object <mark style="color:red;">**(required)**</mark> | User Account Number. Sample:12345154154                              |
| accountHolder   | string <mark style="color:red;">**(required)**</mark> | User Account Holder. Sample:홍길동                                      |
| callbackUrl     | string <mark style="color:red;">**(required)**</mark> | Callback URL to which registration change notifications will be sent |

**Example body**

```json
{    
    "userId": "user_id_12",
    "userName": "Jack",
    "userYYMMDD": 909343,
    "accountBankName": "국민은행",
    "accountNumber": "55555555555",
    "accountHolder": "홍길동",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "ok": true
}
```

{% endtab %}

{% tab title="Errors 4xx/5xx" %}

```json
{
    "ok": false,
    "code": 402,
    "message": "human readable error message"
}
```

{% endtab %}

{% tab title="Error 407" %}

```json
{
    "ok": false,
    "code": 407,
    "message": "The user has already been registered"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.50spays.com/ko/korea-va/krw-virtual-account-register.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
