# 3. QR Code Payment List

# HTTP request info

# URL

{domain}/open-api/qr/paymentList

# 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
startDate Yes string payment start date(yyyy-MM-dd)
endDate Yes string payment end date(yyyy-MM-dd)

# Response parameters

parameter name type description
transactionId string BluePay transaction ID
channelCode string channel code, refer to QR Channel List
transactionCreateTime string payment create time
transactionReturnTime string payment finish time
transactionAmount string amount, the unit is cent
transactionStatus string transaction status (PENDING,COMPLETED, FAILED)
remark string remark

# Request example

# Param content

{
    "timestamp": 1676017834369,
    "mchOrderId": "PC880001",
    "startDate": "2022-11-01",
    "endDate": "2022-11-28"
}

How to construct request body

# Request body

{
    "appId": "c9b002aef1d7496c9df078d937896605",
    "sign": "FJtf8Np0I5dNeshSCfbZhiFbvT3tyF7LWddqL8kFePUmOSlqmFmnkRkfQLchT3bOKOOBZtuFkw/KoYN1advPHEb3O6TzPZaaE9p++ZrGPbFmFzmoHMNj0V+seCegvSiwR04ohazWzwRtmQTgJp9CHsLFcvQ19WNU+BBV+UrUPwwGbCVvHe/BF2hOIHqKff8hTXkzuHBHp47hCNhQn6J7Ma98q4N2JhG7K7+Qn5NRPsH8Nj2BWxOvc+dYYxLsr0VklTfYJOj8OKaD4toRDM3+V+mhWJ6JFX3gq2tUbrSXN3awp2n2cOfuEpGyBeqq773igq9cWX0GgLwVlD0BCmrEVA==",
    "param": "{\"timestamp\":1676017834369,\"mchOrderId\":\"PC880001\",\"startDate\":\"2022-11-01\",\"endDate\":\"2022-11-28\"}"
}

# Response example

code collection

{
    "code": 10000,
    "message": "Success",
    "data": [
      {
        "transactionId": "C1051669624201385891",
        "channelCode": "THAI_DYNAMIC_QR",
        "transactionCreateTime": "2022-11-28 16:30:01",
        "transactionReturnTime": "2022-11-28 18:00:00",
        "transactionAmount": 1000,
        "transactionStatus": "COMPLETED",
        "remark": "example"
      }
    ]
}