停止支付分计划(合作伙伴模式)
商户通过此接口停止正在生效中的支付分计划,商户只能停止自己创建的支付分计划。 官方文档
js
wxpay.v3.payscore.plan.partner.payscorePlans.merchantPlanNo._merchant_plan_no_.stop.post({
sub_mchid,
}, { 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,
})
)