# 1.2 Get QrCode Detail

# request URL
  • /api/v2/qrcode/detail
# request method
  • GET
# request params
parameter name Is it mandatory type of data description
appId mandatory string application APPID
mchOrderId optional string Merchant's mchOrderId
subOrderId optional string Merchant order id
sign mandatory string sign
# Successful Response example
{
	"code":1000,
	"message":"success",
	"data":{
      "mchOrderId": "E34302809202827219113",
      "qrcodeId": "QR1007656756764275140",
      "qrcodeContent": "00020101021228770011ph.ppmi.p2m0111OPDVPHM1XXX031632948137239463980416329481372394639805030015204601653036085406500.005802PH5921Paycools John Cyril B6015City Of Mandalu62310010ph.allbank05062110000803***88310012ph.ppmi.qrph0111OPDVPHM1XXX6304E56C",
      "channelCode": "QRPH_HYBRID_QR",
      "callbackUrl": "https://www.paycools.com.ph",
      "createTime": "2022-07-02 18:12:46",
      "updateTime": "2022-07-02 18:14:05",
      "remark": "test static qrcode",
      "status": "ACTIVE",
      "qrLink": "https://a.api-dev.paycools.com/1L9zOb5",
      "amount": 10000, // Unit: cent
      "fee": 2000, // Unit: cent
      "totalAmount": 12000, // Unit: cent
      "businessType": 1,
      "warning": " ",
      "items": [
            {
                "subOrderId": "123456e",
                "amount": 50000,
                "totalAmount": 50757,
                "fee": 757,
                "channelCode": "QRPH_HYBRID_QR",
                "customerName": "Customer Name",
                "customerMobile": "09123456789",
                "email": "pay@paycools.com",
                "regionNo": "001",
                "branchNo": "F604602",
                "courierNo": "F6046024088",
                "courierName": "Courier Name",
                "courierMobile": "09123456789"
            },
            {
                "subOrderId": "1234567f",
                "amount": 80000,
                "totalAmount": 81243,
                "fee": 1243,
                "channelCode": "QRPH_HYBRID_QR",
                "customerName": "Customer Name2",
                "customerMobile": "091234567896",
                "email": "pay@paycools.com",
                "regionNo": "0012",
                "branchNo": "F6046022",
                "courierNo": "F60460240882",
                "courierName": "Courier Name2",
                "courierMobile": "091234567892"
            }
        ]
	}
}
# failed response example. code see reference (opens new window)
{
    "code":1002,
    "message":"merchant white ip forbidden",
}