请求补差(平台收付通)
服务商下单的时候带上补差标识,微信订单支付成功并结算完成后,发起分账前,调用该口进行补差。 官方文档
js
wxpay.v3.ecommerce.subsidies.create.post({
sub_mchid,
transaction_id,
amount,
description,
refund_id,
})
.then(
({
data: {
sub_mchid,
transaction_id,
subsidy_id,
description,
amount,
result,
success_time,
},
}) => ({
sub_mchid,
transaction_id,
subsidy_id,
description,
amount,
result,
success_time,
})
)