POST System/GetBillDetail
根据支付凭证即订单编号获取订单详情,获取的同时会进行一次订单状态的底层同步操作,需要传递access_token
请求信息
请求URI参数
无
请求数据参数
查询条件
PayQueryInfo| 名称 | 说明 | 类型 | 扩展说明 |
|---|---|---|---|
| store_no |
门店编码. |
字符串 |
必填 字符长度: 必须在 1 和 32 之间 |
| order_no |
商户单据号,支付时传入的订单号 |
字符串 |
必填 字符长度: 必须在 1 和 32 之间 |
请求数据格式
application/json, text/json
例子:
{
"store_no": "sample string 1",
"order_no": "sample string 2"
}
响应数据
资源说明
查询结果
ResultInfoOfBillDetailResultInfo| 名称 | 说明 | 类型 | 扩展说明 |
|---|---|---|---|
| code | ResultCode |
无 |
|
| msg | 字符串 |
无 |
|
| data | BillDetailResultInfo |
无 |
响应数据格式
application/json, text/json
例子:
{
"code": "SUCCESS",
"msg": "sample string 1",
"data": {
"order_time": "sample string 1",
"order_no": "sample string 2",
"transaction_status": "CREATE",
"error": "sample string 3",
"merchant_name": "sample string 4",
"store_no": "sample string 5",
"store_name": "sample string 6",
"pay_type": "WECHATPAY_NATIVE",
"operator": "sample string 7",
"total_amount": "sample string 8",
"cash_amount": "sample string 9",
"settlement_amount": "sample string 10",
"coupon_amount": "sample string 11",
"refund_amount": "sample string 12",
"transaction_no": "sample string 13",
"transaction_time": "sample string 14",
"transaction_msg": "sample string 15",
"refund_reason": "sample string 16",
"buyer": "sample string 17",
"merchant_fee_amount": "sample string 18",
"agent_fee_amount": "sample string 19"
}
}