Skip to content

发起异常退款(平台收付通)

提交退款申请后,查询退款确认状态为退款异常,可调用此接口发起异常退款处理。支持退款至用户、退款至交易商户银行账户两种处理方式。 官方文档

js
wxpay
.
v3
.
ecommerce
.
refunds
.
_refund_id_
.
applyAbnormalRefund
.
post
({
sub_mchid
,
individual_auth_id
,
out_refund_no
,
type
,
bank_type
,
bank_account
,
real_name
,
}, {
refund_id
,
headers
})
.
then
(
({
data
: {
refund_id
,
out_refund_no
,
transaction_id
,
out_trade_no
,
channel
,
user_received_account
,
success_time
,
create_time
,
status
,
funds_account
,
amount
,
promotion_detail
,
refund_account
,
}, }) => ({
refund_id
,
out_refund_no
,
transaction_id
,
out_trade_no
,
channel
,
user_received_account
,
success_time
,
create_time
,
status
,
funds_account
,
amount
,
promotion_detail
,
refund_account
,
}) )

Released under the MIT License. (SITEMAP)