Skip to content

发起转账

商户可通过此接口申请创建商家转账订单。 官方文档

js
wxpay
.
v3
.
ecommerce
.
mchTransfer
.
transferBills
.
post
({
sub_mchid
,
appid
,
out_bill_no
,
transfer_scene_id
,
openid
,
user_name
,
transfer_amount
,
transfer_remark
,
notify_url
,
}) .
then
(
({
data
: {
sub_mchid
,
out_bill_no
,
transfer_bill_no
,
create_time
,
state
,
fail_reason
,
package_info
,
}, }) => ({
sub_mchid
,
out_bill_no
,
transfer_bill_no
,
create_time
,
state
,
fail_reason
,
package_info
,
}) )

Released under the MIT License. (SITEMAP)