Skip to content

保险商户预约保险自动续费

保险行业商户再进行委托代扣费前,需要提前在微信支付系统中预约保险自动续费,预约成功后方可在约定时间内扣费。 官方文档

js
wxpay
.
v3
.
papay
.
insurancePay
.
policyPeriods
.
contractId
.
_contract_id_
.
policyPeriodId
.
_policy_period_id_
.
schedule
.
post
({
appid
,
scheduled_amount
,
}, {
policy_period_id
,
contract_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
,
}) )

Released under the MIT License. (SITEMAP)