# 1.3 QR Code 还款查询
# HTTP请求信息
# URL
{domain}/open-api/v2/jt/qrcode/payments
# 请求方式
POST
# Content-Type
application/json
# 请求体参数
参数名 | 必选 | 类型 | 长度限制 | 示例 | 说明 |
---|---|---|---|---|---|
appId | 是 | string | - | - | 应用APPID |
param | 是 | string | - | - | 参数体 |
sign | 是 | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | 签名 |
# param 参数
参数名 | 是否必填 | 类型 | 说明 |
---|---|---|---|
timestamp | 是 | long | 当前时间戳 |
mchOrderId | 否 | string | 商户订单号,字母+数字,最大长度32(商户订单号或子订单号选填一个) |
subOrderId | 否 | string | 子订单号,字母+数字,最大长度32(商户订单号或子订单号选填一个) |
startDate | 是 | string | 时间范围开始时间(yyyy-MM-dd) |
endDate | 是 | string | 时间范围结束时间(yyyy-MM-dd) |
# 响应参数
参数名 | 类型 | 说明 |
---|---|---|
code | int | 10000 |
message | string | Success |
data | List | 响应数据 |
# data 参数说明
参数名 | 类型 | 说明 |
---|---|---|
transactionId | string | Bluepay 流水号 |
channelCode | string | 渠道码 |
transactionCreateTime | string | 交易创建时间 |
transactionReturnTime | string | 交易完成时间 |
transactionStatus | string | 交易状态(PENDING ,COMPLETED , FAILED ) |
amount | integer | 金额,多单COD总金额,单位分 |
fee | integer | 手续费,单位分 |
totalAmount | integer | 总金额(二维码金额),单位分 |
mchOrderId | string | 商户订单号 |
subOrderId | string | 子订单号 |
businessType | integer | 业务类型, 1、直营店(不传默认为-直营店) 2、加盟店 |
projectType | string | 项目类型, PPCASH ,VIP ,HOME (不传默认为PPCASH ) |
remark | string | 备注 |
# 请求示例
# param 内容
{
"timestamp": 1676017834369,
"mchOrderId": "PC880001",
"startDate": "2022-11-01",
"endDate": "2022-11-28"
}
# 请求体
{
"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\"}"
}
# 响应示例
{
"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"
}
]
}