# 8. Direct Debit Detail
# HTTP request info
# URL
{domain}/open-api/jt/direct/debit/detail
# Method
POST
# Content-Type
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 | Yes | string | mchOrderId, alphanumeric, max length 32 |
# Response parameters
paramter name | type | description |
---|---|---|
mchOrderId | string | mchOrderId, alphanumeric, max length 32 |
transactionId | string | Bluepay transaction ID |
channelCode | string | channel code |
notifyUrl | string | merchant payment notification URL |
remark | string | remark |
transactionStatus | string | transaction status (PENDING , COMPLETED , FAILED ) |
transactionCreateTime | string | payment create time |
transactionReturnTime | string | payment finish time |
createTime | string | transaction create time |
updateTime | string | transaction update time |
amount | long | amount (unit: cents) |
fee | integer | fee (unit: cents) |
totalAmount | long | totalAmount(amount, unit: cents) |
businessType | integer | businessType, 1、Direct Sale Store 2、Franchisees |
projectType | string | projectType, 'PPCASH','VIP' |
items | List | items detail |
# 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",
"channelCode": "BLUEPAY_DIRECT_DEBIT",
"notifyUrl": "https://example.com/",
"createTime": "2022-07-02 18:12:46",
"updateTime": null,
"remark": "test direct debit payment",
"transactionStatus": "PENDING",
"transactionCreateTime": "2022-11-28 16:35:01",
"transactionReturnTime": "2022-11-28 18:00:00",
"amount": 140000,
"fee": 2000,
"totalAmount": 142000,
"businessType": 1,
"projectType": "PPCASH",
"items": [
{
"subOrderId": "PCW00000000003249",
"customerName": "Customer Name",
"customerMobile": "60128888888",
"amount": 60000,
"email": "example@example.com",
"regionNo": "001",
"branchNo": "F604602",
"courierNo": "F6046024088",
"courierName": "Courier Name",
"courierMobile": "0912345678"
},
{
"subOrderId": "PCW00000000003250",
"customerName": "Customer Name",
"customerMobile": "60128888888",
"amount": 80000,
"email": "example@example.com",
"regionNo": "001",
"branchNo": "F604602",
"courierNo": "F6046024088",
"courierName": "Courier Name",
"courierMobile": "0912345678"
}
],
"warning": ""
}
}