# WS: Transaction Sync

### <mark style="color:green;">`WS`</mark> Sync Bank Account <a href="#get-token" id="get-token"></a>

```
ws://api.vietqr.org/vqr/socket?clientId={clientId}
```

<table><thead><tr><th width="176">Field</th><th width="84">Type</th><th>Description</th></tr></thead><tbody><tr><td>notificationType</td><td>String</td><td>Mã của notificationType ‘N05’: Mã code nhận biết BĐSD tới</td></tr><tr><td>transactionid</td><td>String</td><td>Mã định danh của giao dịch</td></tr><tr><td>referencenumber</td><td>String</td><td>Mã giao dịch</td></tr><tr><td>amount</td><td>String</td><td>Số tiền giao dịch</td></tr><tr><td>content</td><td>String</td><td>Nội dung chuyển tiền của giao dịch</td></tr><tr><td>bankaccount</td><td>String</td><td>TK ngân hàng</td></tr><tr><td>transType</td><td>String</td><td><p>C: Giao dịch đến</p><p>D: Giao dịch đi</p></td></tr><tr><td>orderId</td><td>String</td><td>Mã đơn hàng của giao dịch</td></tr><tr><td>terminalCode</td><td>String</td><td>Mã cửa hàng của giao dịch</td></tr><tr><td>serviceCode</td><td>String</td><td>Mã sản phẩm của giao dịch</td></tr><tr><td>subTerminalCode</td><td>String</td><td>Mã điểm bán của giao dịch</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://api.vietqr.vn/korea/vietqr-xin-chao/api-nang-cao/host-to-client/ws-transaction-sync.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.
