For the complete documentation index, see llms.txt. This page is also available as Markdown.

Kiểm tra danh sách đại lý

Dùng để lấy danh sách thông tin các đại lý đã đồng bộ thuộc tổng đại lý.

GET API Get MID

https://<vietqr-host>/<basepath>/api/mid/list-mid

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token> Bạn nhận được khi gọi API Get Token của VietQR

Request Param

Name
Type
Required
Description

page

Integer

Optional

Giá trị trang muốn hiển thị (default = 1)

size

Integer

Optional

Giá trị số item tối đa hiển thị của page (default = 20)

Response

{
    "metadata": {
        "page": 1,
        "size": 20,
        "totalPage": 1,
        "totalElement": 1
    },
    "data": [
        {
            "merchantIdentify": "MST/CCCD/ĐKKD",
            "mid": "ID_của_đại_lý",
            "merchantName": "tên_rút_gọn_đại_lý",
            "merchantFullName": "tên_đại_lý",
            "merchantAddress": "địa_chỉ_đại_lý",
            "contactEmail": "email_liên_hệ",
            "contactPhone": "điện_thoại_liên_hệ"
        }
    ]
}

Code mẫu


Các câu hỏi thường gặp

Last updated