Skip to content

创建支付分计划

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

js
wxpay
.
v3
.
payscore
.
plan
.
payscorePlans
.
post
({
service_id
,
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
,
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
,
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)