订单查询接口
POST
接口地址,见第二章:接口配置及参数说明
请求参数
Body 参数application/json
appid
string
商户id
method
string
接口方法
timestamp
number
时间戳
content
object
业务参数
out_no
string
商户自己订单号
order_no
string
平台订单号
sign
string
签名
示例
{
"appid": "9733732",
"method": "order.query",
"timestamp": "1698718472",
"content": "{\"order_no\":231031333000032}",
"sign": "4c36127ec37cdb43f24dbfad4669522f"
}
返回响应
🟢200通用响应
application/json
Body
code
integer
错误码
msg
string
错误说明
data
object
响应结果
order_no
string
订单号
out_no
string
商户自己的单号
status
string
订单状态
product_id
integer
产品编码
product_name
string
产品名称
account
string
充值账号
account_type
string
账号类型
num
integer
购买数量
price
number
购买单价
total
number
购买总金额
create_time
string
下单时间
finished_time
string
完成时间
terminal_no
string
业务流水
coupon_status
string
红包卡券核销状态
coupon_time
string
券时间
如果为已核销,此时间为核销时间;
如果为过期未使用,此时间为过期时间;
如果为删除,此时间为删除时间;
card_list
array [object {3}]
卡密列表
示例
{
"code": 0,
"msg": null,
"data": {
"order_no": "231031333000032",
"out_no": "202310310913448798",
"status": "success",
"product_id": 100000,
"product_name": "权益、话费等直充-成功测试\t",
"account": "15717141167",
"account_type": "mobile",
"num": 1,
"price": 1,
"total": 1,
"create_time": "2023-10-31 09:14:59",
"finished_time": "2023-10-31 09:15:38",
"terminal_no": "",
"card_list": []
}
}
修改于 2025-01-16 13:59:35