添加分账接收方
服务商发起添加分账接收方请求,建立分账接收方列表。后续可通过发起分账请求,将分账方商户结算后的资金,分到该分账接收方 官方文档
js
wxpay.v3.profitsharing.receivers.add.post({
sub_mchid,
appid,
sub_appid,
type,
account,
name,
relation_type,
custom_relation,
}, { headers, })
.then(
({
data: {
sub_mchid,
type,
account,
name,
relation_type,
custom_relation,
},
}) => ({
sub_mchid,
type,
account,
name,
relation_type,
custom_relation,
})
)