Sync TID(s)

POST

https://<vietqr-host>/<basepath>/api/tid/synchronize/v1

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

Partner can choose input merchantId or merchantName.

NameTypeRequiredDescription

terminals

List object

Yes

List JSON object of stores/point of sales.

merchantId

String

Yes

ID of merchant.

merchantName

String

Yes

Short name of the agent.

terminalCode

String

Yes

Store/point of sale code.

terminalName

String

Yes

Store/point of sale name.

terminalAddress

String

Yes

Store/point of sale address.

bankCode

String

Yes

Bank code apply to point of sale.

bankAccount

String

Yes

Bank account apply to point of sale.

checkSum

String

Yes

MD5 string of combination:

(password + bankCode + bankAccount)

Response

{
    "status": "SUCCESS",
    "data": [
        {
            "tid": "point_of_sale_ID",
            "terminalName": "point_of_sale_name",
            "terminalCode": "point_of_sale_code",
            "bankAccount": "bank_account_applicable_to_point_of_sale",
            "bankCode": "bank_code"
        }
    ]
}

Last updated