> 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-va-register-webhook.md). Agents can also search and read this documentation through its [MCP server](https://docs.50spays.com/~gitbook/mcp).

# VA register webhook

A **webhook** (also known as a **callback**) is triggered when the registration status of a virtual account changes.

### Virtual Account Webhook Format

**Method**

<mark style="color:green;">`POST`</mark>

**Headers**

| Name         | Value                                                                                                                                          |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| Content-Type | `application/json`                                                                                                                             |
| x-signature  | <p>Digital Signature of the Request<br><a href="https://docs.50spays.com/ko/intro.md#cifrovaya-podpis">How is the signature generated?</a></p> |

**Body**

```json
{
    "type": "va_register",
    "payload": {
        "userId": "1232",
        "userName": "Jack",
        "userYYMMDD": "909343",
        "userAccount": {
            "accountHolder": "홍길동",
            "accountNumber": "55555555555",
            "accountBankName": "국민은행"
        },
        "vaAccount": {
            "accountHolder": "테스트이름",
            "accountNumber": "12345-415444",
            "accountBankName": "테스트은행"
        },
        "status": "success"
    },
}
```

**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                                                |
| userAccount                 | object <mark style="color:red;">**(required)**</mark> | User Account Info                                                                                    |
| userAccount.accountBankName | string <mark style="color:red;">**(required)**</mark> | User Account Bank Name. Sample:국민은행                                                                  |
| userAccount.accountNumber   | string <mark style="color:red;">**(required)**</mark> | User Account Number. Sample:12345154154                                                              |
| userAccount.accountHolder   | string <mark style="color:red;">**(required)**</mark> | User Account Holder. Sample:홍길동                                                                      |
| vaAccount                   | object                                                | Virtual Account Info                                                                                 |
| userAccount.accountBankName | string                                                | Virtual Account Bank Name                                                                            |
| userAccount.accountNumber   | string                                                | Virtual Account Number                                                                               |
| userAccount.accountHolder   | string                                                | Virtual Account Holder                                                                               |
| status                      | string <mark style="color:red;">**(required)**</mark> | <p>VA Registration Status<br><code>error, error\_mismatch\_account, in\_progress, success</code></p> |


---

# 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-va-register-webhook.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.
