保险商户通过商户协议号解除保险自动续费协议
通过商户协议号解约协议, 商户可以通过该接口发起签约协议的解约。 前置条件 对应的签约协议是已生效状态的签约协议。 官方文档
js
wxpay.v3.papay.insuranceSign.contracts.planId._plan_id_.outContractCode._out_contract_code_.terminate.post({
contract_termination_remark,
}, { plan_id, out_contract_code, })
.then(
({
data: {
mchid,
contract_id,
appid,
plan_id,
out_contract_code,
insured_display_name,
contract_state,
contract_signed_time,
contract_expired_time,
contract_terminate_info,
openid,
out_user_code,
},
}) => ({
mchid,
contract_id,
appid,
plan_id,
out_contract_code,
insured_display_name,
contract_state,
contract_signed_time,
contract_expired_time,
contract_terminate_info,
openid,
out_user_code,
})
)