查询租借订单
前置条件:商户下单待受理后。 官方文档
js
wxpay.v2.wxv.queryrentbill.post({
version,
appid,
mch_id,
nonce_str,
sign_type,
out_order_no,
return_query_id,
service_id,
}, { security })
.then(
({
data: {
return_code,
return_msg,
sign,
nonce_str,
result_code,
err_code,
err_code_des,
appid,
mch_id,
out_order_no,
service_id,
state,
goods_name,
returned,
start_time,
service_location,
deposit_amount,
rent_unit,
rent_unit_fee,
rent_fee_desc,
real_end_time,
rent_fee,
compensation_fee,
compensation_fee_desc,
service_end_location,
order_id,
finish_ticket,
attach,
finish_transaction_id,
pay_type,
},
}) => ({
return_code,
return_msg,
sign,
nonce_str,
result_code,
err_code,
err_code_des,
appid,
mch_id,
out_order_no,
service_id,
state,
goods_name,
returned,
start_time,
service_location,
deposit_amount,
rent_unit,
rent_unit_fee,
rent_fee_desc,
real_end_time,
rent_fee,
compensation_fee,
compensation_fee_desc,
service_end_location,
order_id,
finish_ticket,
attach,
finish_transaction_id,
pay_type,
})
)