Skip to content

请求分账

微信订单支付成功后,服务商代特约商户发起分账请求,将结算后的资金分到分账接收方 官方文档

js
wxpay
.
v3
.
profitsharing
.
orders
.
post
({
sub_mchid
,
appid
,
sub_appid
,
transaction_id
,
out_order_no
,
receivers
,
unfreeze_unsplit
,
}, {
headers
, })
.
then
(
({
data
: {
sub_mchid
,
transaction_id
,
out_order_no
,
order_id
,
state
,
receivers
,
}, }) => ({
sub_mchid
,
transaction_id
,
out_order_no
,
order_id
,
state
,
receivers
,
}) )

Released under the MIT License. (SITEMAP)