查询订单
js
wxpay.v3.vehicle.transactions.outTradeNo._out_trade_no_.get({
out_trade_no,
params,
})
.then(
({
data: {
appid,
sub_appid,
sp_mchid,
sub_mchid,
description,
create_time,
out_trade_no,
transaction_id,
trade_state,
trade_state_description,
success_time,
bank_type,
user_repaid,
attach,
trade_scene,
parking_info,
payer,
amount,
promotion_detail,
},
}) => ({
appid,
sub_appid,
sp_mchid,
sub_mchid,
description,
create_time,
out_trade_no,
transaction_id,
trade_state,
trade_state_description,
success_time,
bank_type,
user_repaid,
attach,
trade_scene,
parking_info,
payer,
amount,
promotion_detail,
})
)