Skip to content

受理单次预约商家转账

商户可调用接口预先指定转账的单次计划,预创建预约记录并获取微信预约记录单号和跳转信息(package_info),再携带该(package_info)参数,通过微信SDK拉起微信支付客户端的用户确认页面。 官方文档

js
wxpay
.
v3
.
platsolution
.
mchTransfer
.
reservation
.
apply
.
post
({
sub_mchid
,
sp_appid
,
sub_appid
,
out_reservation_no
,
transfer_scene_id
,
estimated_date
,
estimated_max_amount
,
exact_amount
,
openid
,
user_real_name
,
reserve_remark
,
notify_url
,
scene_report_data
,
}, {
headers
})
.
then
(
({
data
: {
sub_mchid
,
out_reservation_no
,
reservation_id
,
accept_time
,
state
,
package_info
,
}, }) => ({
sub_mchid
,
out_reservation_no
,
reservation_id
,
accept_time
,
state
,
package_info
,
}) )

Released under the MIT License. (SITEMAP)