> For the complete documentation index, see [llms.txt](https://doc.vietqr.vn/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.vietqr.vn/doc/giai-phap-va-ung-dung-vietqr/api-mqtt.md).

# API MQTT

Tài liệu đồng bộ mã điểm bán MQTT

1.Mục Đích

Hướng dẫn tích hợp tính năng tạo và sử dụng mã QR cho các giao dịch qua

VietQR, sử dụng giao thức MQTT để truyền tải thông tin giao dịch nhận thông

báo thay đổi số dư (BDSD) và kiểm tra trạng thái giao dịch.

2\. Giới Thiệu

VietQR cung cấp khả năng tạo mã QR cho các giao dịch thanh toán sử dụng

giao thức MQTT để truyền thông tin mã QR đến hệ thống khác.

VietQR cung cấp dịch vụ nhận thông báo biến động số dư (BĐSD) cho các thiết

bị hỗ trợ kết nối giao thức MQTT (IoT).

3\. Thiết Lập Kết Nối MQTT

3.2. Thông Số Kết Nối


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.vietqr.vn/doc/giai-phap-va-ung-dung-vietqr/api-mqtt.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.
