查询速住订单
前置条件:商户下单待受理后。 官方文档
js
wxpay.v2.wxv.queryhotelbill.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,
room,
start_time,
end_time,
service_location,
deposit_amount,
room_rate,
room_rate_desc,
real_end_time,
checked_in,
other_fee,
other_fee_desc,
compensation_fee,
compensation_fee_desc,
overdue_fine,
overdue_fine_desc,
cancel_fee,
cancel_fee_desc,
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,
room,
start_time,
end_time,
service_location,
deposit_amount,
room_rate,
room_rate_desc,
real_end_time,
checked_in,
other_fee,
other_fee_desc,
compensation_fee,
compensation_fee_desc,
overdue_fine,
overdue_fine_desc,
cancel_fee,
cancel_fee_desc,
order_id,
finish_ticket,
attach,
finish_transaction_id,
pay_type,
})
)