发起批量转账(微工卡)
服务商可以通过该接口,批量向用户选择的收款账户转账。 官方文档
js
wxpay.v3.payrollCard.transferBatches.post({
sub_mchid,
sub_appid,
authorization_type,
out_batch_no,
batch_name,
batch_remark,
total_amount,
total_num,
transfer_detail_list,
sp_appid,
employment_type,
employment_scene,
}, { headers, })
.then(
({
data: {
out_batch_no,
batch_id,
create_time,
},
}) => ({
out_batch_no,
batch_id,
create_time,
})
)