修改租借订单
前置条件:商户完结订单后,用户支付成功前。用户支付成功后不可使用该接口。 官方文档
js
wxpay.v2.wxv.changerentmoney.post({
version,
appid,
mch_id,
nonce_str,
sign_type,
out_order_no,
reason,
service_id,
total_amount,
rent_fee,
compensation_fee,
compensation_fee_desc,
}, { 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,
order_id,
},
}) => ({
return_code,
return_msg,
sign,
nonce_str,
result_code,
err_code,
err_code_des,
appid,
mch_id,
out_order_no,
service_id,
order_id,
})
)