# 1.3 QR Code Payment List
# URL
{domain}/open-api/v2/jt/qrcode/payments
# Method
- POST
# Request Header
| Parameter name | Required | Type of data | Description |
|---|---|---|---|
| Content-Type | Y | string | application/json |
# Request Param
| Parameter name | Required | Type of data | Length | Example | Description |
|---|---|---|---|---|---|
| appId | Y | string | - | - | Application ID |
| param | Y | string | - | - | Parameter Body |
| sign | Y | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | Sign |
# param
| paramter name | required | type | description |
|---|---|---|---|
| timestamp | Yes | long | current timestamp |
| mchOrderId | No | string | mchOrderId, alphanumeric, max length 32(Select one for mchOrderId and subOrderId) |
| subOrderId | No | string | subOrderId, alphanumeric, max length 32(Select one for mchOrderId and subOrderId) |
| startDate | Yes | string | payment start date(yyyy-MM-dd) |
| endDate | Yes | string | payment end date(yyyy-MM-dd) |
# Response parameters
| paramter name | type | description |
|---|---|---|
| code | int | 10000 |
| message | string | Success |
| data | List | response data |
# data parameters
| paramter name | type | description |
|---|---|---|
| transactionId | string | Bluepay transaction ID |
| channelCode | string | channel code |
| transactionCreateTime | string | payment create time |
| transactionReturnTime | string | payment finish time |
| transactionStatus | string | transaction status (PENDING,COMPLETED, FAILED) |
| amount | integer | amount (unit: cents) |
| fee | integer | fee (unit: cents) |
| totalAmount | integer | totalAmount(qrCode amount, unit: cents) |
| mchOrderId | string | mchOrderId |
| subOrderId | string | subOrderId |
| businessType | integer | businessType, 1、Direct Sale Store 2、Franchisees |
| projectType | string | projectType, 'PPCASH','VIP','HOME' |
| remark | string | remark |
# Request example
# Param content
{
"timestamp": 1676017834369,
"mchOrderId": "PC880001",
"startDate": "2022-11-01",
"endDate": "2022-11-28"
}
# 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": 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": "PENDING",
"remark": "example",
"amount": 10000,
"fee": 2000,
"totalAmount": 12000,
"mchOrderId": "PCW000000000046071",
"subOrderId": "PCW0000000012378",
"businessType": 1,
"projectType": "PPCASH"
},
{
"transactionId": "C3081669664281875598",
"channelCode": "THAI_DYNAMIC_QR",
"transactionCreateTime": "2022-11-28 16:35:01",
"transactionReturnTime": "2022-11-28 18:00:00",
"transactionAmount": 1000,
"transactionStatus": "COMPLETED",
"remark": "example",
"amount": 10000,
"fee": 2000,
"totalAmount": 12000,
"mchOrderId": "PCW000000000046075",
"subOrderId": "PCW0000000012378",
"businessType": 1,
"projectType": "PPCASH"
}
]
}