Skip to content

受理扣款

商户调用「预约扣费」接口预约成功后,可调用本接口发起委托代扣扣款。系统受理扣款请求后,异步进行扣款,并通过商户指定的回调地址通知扣费结果。 官方文档

js
wxpay
.
v3
.
papay
.
pay
.
partner
.
transactions
.
apply
.
post
({
sp_appid
,
sub_mchid
,
sub_appid
,
out_trade_no
,
description
,
transaction_notify_url
,
contract_id
,
amount
,
goods_tag
,
attach
,
}) .
then
(
({
data
: {
out_trade_no
,
amount
,
}, }) => ({
out_trade_no
,
amount
,
}) )

Released under the MIT License. (SITEMAP)