通过商户协议号解除委托代扣签约协议
直连商户可通过本接口解约委托代扣签约协议。 官方文档
js
wxpay.v3.papay.sign.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,
contract_display_account,
contract_state,
contract_signed_time,
contract_expired_time,
openid,
contract_terminate_info,
out_user_code,
deduct_schedule,
},
}) => ({
mchid,
contract_id,
appid,
plan_id,
out_contract_code,
contract_display_account,
contract_state,
contract_signed_time,
contract_expired_time,
openid,
contract_terminate_info,
out_user_code,
deduct_schedule,
})
)