营销补差回退
商户通过该接口可回退补差款 官方文档
js
wxpay.v3.marketing.busifavor.subsidy.returnReceipts.post({
stock_id,
coupon_code,
transaction_id,
refund_id,
payer_merchant,
payee_merchant,
amount,
description,
out_subsidy_return_no,
})
.then(
({
data: {
subsidy_return_receipt_id,
stock_id,
coupon_code,
transaction_id,
refund_id,
payer_merchant,
payee_merchant,
amount,
description,
status,
fail_reason,
return_done_time,
subsidy_receipt_id,
out_subsidy_return_no,
return_create_time,
},
}) => ({
subsidy_return_receipt_id,
stock_id,
coupon_code,
transaction_id,
refund_id,
payer_merchant,
payee_merchant,
amount,
description,
status,
fail_reason,
return_done_time,
subsidy_receipt_id,
out_subsidy_return_no,
return_create_time,
})
)