请求补差回退(平台收付通)
订单发送退款的时候,可以对补贴成功的补差单发起回退。 官方文档
js
wxpay.v3.ecommerce.subsidies.return.post({
sub_mchid,
out_order_no,
transaction_id,
refund_id,
amount,
description,
})
.then(
({
data: {
sub_mchid,
transaction_id,
subsidy_refund_id,
refund_id,
out_order_no,
amount,
description,
result,
success_time,
},
}) => ({
sub_mchid,
transaction_id,
subsidy_refund_id,
refund_id,
out_order_no,
amount,
description,
result,
success_time,
})
)