取消用户的签约计划(合作伙伴模式)
用于商户停止用户的签约计划,必须是该签约计划的创建方商户才能取消。 官方文档
js
wxpay.v3.payscore.signPlan.partner.userSignPlans.merchantSignPlanNo._merchant_sign_plan_no_.stop.post({
sub_mchid,
stop_reason,
}, { merchant_sign_plan_no })
.then(
({
data: {
sign_plan_id,
openid,
sub_openid,
service_id,
mchid,
sub_mchid,
appid,
sub_appid,
merchant_sign_plan_no,
merchant_callback_url,
plan_id,
going_detail_no,
sign_state,
cancel_sign_time,
cancel_sign_type,
cancel_reason,
plan_name,
plan_over_time,
total_origin_price,
deduction_quantity,
total_actual_price,
signed_detail_list,
sign_time,
},
}) => ({
sign_plan_id,
openid,
sub_openid,
service_id,
mchid,
sub_mchid,
appid,
sub_appid,
merchant_sign_plan_no,
merchant_callback_url,
plan_id,
going_detail_no,
sign_state,
cancel_sign_time,
cancel_sign_type,
cancel_reason,
plan_name,
plan_over_time,
total_origin_price,
deduction_quantity,
total_actual_price,
signed_detail_list,
sign_time,
})
)