保险商户查询保险自动续费协议
商户可通过本接口查询已经签订的保险自动续费协议。 前置条件:用户签约成功,商户已经成功获取过保险保险自动续费协议。 官方文档
js
wxpay.v3.papay.insuranceSign.contracts.planId._plan_id_.outContractCode._out_contract_code_.get({
out_contract_code,
plan_id,
})
.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,
})
)