保险商户查询保险自动续费预约
商户调用「预约保险自动续费」接口,因系统原因未能明确预约结果时,可使用本接口查询预结果。 官方文档
js
wxpay.v3.papay.insurancePay.policyPeriods.contractId._contract_id_.policyPeriodId._policy_period_id_.get({
contract_id,
policy_period_id,
})
.then(
({
data: {
policy_period_id,
policy_period_state,
deduct_start_date,
deduct_end_date,
scheduled_amount,
deduct_amount,
deduct_date,
},
}) => ({
policy_period_id,
policy_period_state,
deduct_start_date,
deduct_end_date,
scheduled_amount,
deduct_amount,
deduct_date,
})
)