Skip to content

创建支付分计划(合作伙伴模式)

商户可以基于有按计划确认权限的服务,通过此接口创建支付分计划。 官方文档

js
wxpay
.
v3
.
payscore
.
plan
.
partner
.
payscorePlans
.
post
({
service_id
,
appid
,
sub_mchid
,
sub_appid
,
plan_name
,
plan_duration
,
deduction_quantity
,
total_original_price
,
total_actual_price
,
plan_detail_list
,
merchant_plan_no
,
}) .
then
(
({
data
: {
plan_id
,
service_id
,
mchid
,
sub_mchid
,
appid
,
sub_appid
,
merchant_plan_no
,
plan_name
,
plan_duration
,
plan_state
,
total_original_price
,
deduction_quantity
,
total_actual_price
,
plan_detail_list
,
stop_mchid
,
stop_time
,
}, }) => ({
plan_id
,
service_id
,
mchid
,
sub_mchid
,
appid
,
sub_appid
,
merchant_plan_no
,
plan_name
,
plan_duration
,
plan_state
,
total_original_price
,
deduction_quantity
,
total_actual_price
,
plan_detail_list
,
stop_mchid
,
stop_time
,
}) )

Released under the MIT License. (SITEMAP)