通过商户退款单号查询退款(平台收付通)
提交退款申请后,通过调用该接口查询退款状态。 官方文档 官方文档
js
wxpay.v3.ecommerce.refunds.outRefundNo._out_refund_no_.get({
out_refund_no,
params,
})
.then(
({
data: {
refund_id,
out_refund_no,
transaction_id,
out_trade_no,
channel,
user_received_account,
success_time,
create_time,
status,
amount,
promotion_detail,
refund_account,
funds_account,
},
}) => ({
refund_id,
out_refund_no,
transaction_id,
out_trade_no,
channel,
user_received_account,
success_time,
create_time,
status,
amount,
promotion_detail,
refund_account,
funds_account,
})
)