申请二级商户充值
商户系统须通过调用此接口获取充值链接,随后发起充值流程 官方文档
js
wxpay.v3.platsolution.ecommerce.recharges.apply.post({
sub_mchid,
out_recharge_no,
recharge_scene,
account_type,
recharge_amount,
notify_url,
})
.then(
({
data: {
recharge_id,
out_recharge_no,
recharge_url,
},
}) => ({
recharge_id,
out_recharge_no,
recharge_url,
})
)