Check Point of Sale List

Used to retrieve the list of information for the stores/points of sale that have been synchronized.

POST API Get TID

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

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeRequiredDescription

page

Integer

Optional

The value of the page you want to display.

size

Integer

Optional

The maximum number of items to display on a page.

mid

String

Yes

The ID of the merchant.

Response

{
    "metadata": {
        "page": 1,
        "size": 20,
        "totalPage": 1,
        "totalElement": 1
    },
    "data": [
        {
            "bankAccount": "bank_account_for_the_point_of_sale",
            "bankCode": "bank_code",
            "terminalCode": "point_of_sale_code",
            "terminalName": "point_of_sale_name",
            "terminalAddress": "point_of_sale_address",
            "tid": "ID_of_the_point_of_sale"
        }
    ]
}

Sample

curl --location 'https://api.vietqr.org/vqr/api/tid/list-tid?page=page_cần_chọn&size=số_record_cần_hiển_thị_trong_1_lần&mid=id_của_đại_lý' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhdXRob3JpdGllcyI6WyJST0xFX1VTRVIiXSwidXNlciI6IlkzVnpkRzl0WlhJdGJtZDFlV1Z1TFhWelpYSXlORGt5IiwiaWF0IjoxNzIxMzc0ODQxLCJleHAiOjE3MjEzNzUxNDF9.q2VEtZfITLi-Odvf0PPSyG_BDCzYeTNR3E8KkfUWg9yMOgczZYjcAS7-UyQZe6_TZh874CHcjw6NvGc8Fd8i3g' \
--header 'Cookie: JSESSIONID=EB9099326C4526CAA29AD331FFE6B789' \
--data ''

Last updated