Skip to content

请求分账回退

如果订单已经分账,在退款时,可以先调此接口,将已分账的资金从分账接收方的账户回退给分账方,再发起退款 官方文档

js
wxpay
.
v3
.
profitsharing
.
returnOrders
.
post
({
sub_mchid
,
order_id
,
out_order_no
,
out_return_no
,
return_mchid
,
amount
,
description
,
}) .
then
(
({
data
: {
sub_mchid
,
order_id
,
out_order_no
,
out_return_no
,
return_id
,
return_mchid
,
amount
,
description
,
result
,
fail_reason
,
create_time
,
finish_time
,
}, }) => ({
sub_mchid
,
order_id
,
out_order_no
,
out_return_no
,
return_id
,
return_mchid
,
amount
,
description
,
result
,
fail_reason
,
create_time
,
finish_time
,
}) )

Released under the MIT License. (SITEMAP)