发起批量转账(合作伙伴模式)
服务商可以通过该接口,批量向用户零钱进行转账操作。 官方文档 官方文档
js
wxpay.v3.partnerTransfer.batches.post({
sub_mchid,
sub_appid,
authorization_type,
out_batch_no,
batch_name,
batch_remark,
total_amount,
total_num,
transfer_detail_list,
sp_appid,
transfer_purpose,
transfer_scene,
}, { headers })
.then(
({
data: {
out_batch_no,
batch_id,
create_time,
},
}) => ({
out_batch_no,
batch_id,
create_time,
})
)