# 2. QR Code Detail
# HTTP request info
# URL
{domain}/open-api/qr/detail
# Method
POST
# Content-Type
application/json
# Request parameters
parameter name | required | type | description |
---|---|---|---|
timestamp | Yes | long | current timestamp |
mchOrderId | Yes | string | merchant order ID, alphanumeric, max length 32 |
# Response parameters
parameter name | type | description |
---|---|---|
mchOrderId | string | merchant order ID, alphanumeric, max length 32 |
transactionId | string | QR Code transaction ID |
qrCodeContent | string | QR Code content |
channelCode | string | channel code, refer to QR Channel List |
notifyUrl | string | merchant payment notification URL |
remark | string | remark |
qrStatus | string | QR Code status (ACTIVE ,INACTIVE , CANCELLED ) |
transactionStatus | string | QR Code status (PENDING , COMPLETED , FAILED ) |
qrLink | string | customer payment guide URL |
createTime | string | transaction create time |
updateTime | string | transaction update time |
# Request example
# Param content
{
"timestamp": 1676017834369,
"mchOrderId": "PC880001"
}
# Request body
{
"appId": "c9b002aef1d7496c9df078d937896605",
"sign": "uK5sk3kM5vhSP3BJPwArK7239TTP1fwIp2CyZLE4c0JdsfwJTpTyU5l2oCj2XJssqc4MUHY7zWyU+HRPzVa/LvXnjxdHvtpJ5o0VHUz8EMDT4r3SgQLsp9GYodYOUpGmu/F+DH3I6XUGRASiownoEDA6f4C2QAahGFK+Tg+m5cGSW1aLlEOw6b7doAz4U8/oZS33qbd+T3NLwkKwsigBA3Y56fKNrO7gxIoPZpdni0QJjPgJTDwzp5fouUnTu8GRhcnXhL4OzWBHboTlkSl26y0X8yPavKwbH7++oxPW5JzfebEj2aKpV++0b5YWHeC+iCM/diXIwK6XEPdCm2G6iw==",
"param": "{\"timestamp\":1676017834369,\"mchOrderId\":\"PC880001\"}"
}
# Response example
{
"code": 10000,
"message": "Success",
"data": {
"mchOrderId": "PC880001",
"transactionId": "C1051669624201385891",
"qrCodeContent": "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACV0lEQVR4nO2cwY7CMAwF6Wr//5fZW1WJbOKx3QDSzBHatHpyzIsTfDyfz4fE+Hn3C3wTigVQLIBiARQL8Pv60XEcXaOfP7XnmPEf3+FrzG+/482vGFkAxQIoFmCQs64k/P0811y/HX7Y9Rpdb37FyAIoFmAxDU+6ZsrysuEF86cX/UR8whpZAMUCKBYgmrOKDJc78TXQh1QojSyAYgE2TcO4WU8UG7ZhZAEUC6BYgGjO6soaQ+sQZ1i0iD+xiJEFUCzAYhp2bQEkNiyWXn8+ZuPmxYmRBVAsgGIBjs0riXjdMuES7sbIAigWIDoNi/t9xVrC3DrEB4y7Dc86VFEsQGkhHQ/7+GWVOZ77AY17fSMLoFgAxQJEj0nGawBzirWEBMuEGM+SRhZAsQCZfcPKWjc3KeaGe/7openROtyCYgEUC5Ap/sWtQ+UA4x3rlWKWNLIAigXIFP+GVKzD8kHBmdLlNv7DyAIoFkCxAIuqw3ytMMwvxUMGibXLnMaDmUYWQLEAC+sQN9mViuBy8OGAc+swHyeHkQVQLIBiAQY5q7HC/0ouzXUdhIwnaK1DFcUCbDr5124sriQmV+5UhJEFUCzApi5HxeVxcBbnin8upG9BsQCKBdjU5WiYLNpdS7HlwfJ2IwugWIDdXY5yD7q16h/HyAIoFkCxAB/XXuX1ltyV/kf6zSgWYHezsSE52zFv3Bx3G578uwXFAigWYFOXo1v7uHf9w8KqQyeKBdjU5Wg4YHA747HaaOhqla516ESxAIoF2N3l6KsxsgCKBVAsgGIBFAugWIA/BQySrn6cOmYAAAAASUVORK5CYII=",
"channelCode": "THAI_DYNAMIC_QR",
"notifyUrl": "https://example.com/",
"remark": null,
"qrStatus": "ACTIVE",
"transactionStatus": "PENDING",
"qrLink": null,
"createTime": "2022-11-28 16:30:01",
"updateTime": "2022-11-28 16:30:08"
}
}