Skip to main content

Execute_PayInsuranceFee

Description

Pays the recurring fee (including overdue fees) for the specified insurance and sends a success or failure message. If the entity is not enrolled or the insurance has not been billed yet, a warning log is printed and nothing happens. If the balance is insufficient, a failure message is sent; otherwise the fee is paid and a success message is sent.

Parameters

ParameterDescription
BaseObjectThe entity paying the insurance fee (Self or Target).
S1Insurance ID (Insurance.json Id).

Examples

DescriptionBaseObjectCommandS1
Self pays the recurring fee for life insuranceSelfPayInsuranceFeeInsurance_Life
Target pays the recurring fee for life insuranceTargetPayInsuranceFeeInsurance_Life
Self pays the overdue fee for vehicle insuranceSelfPayInsuranceFeeInsurance_Vehicle
Target pays the recurring fee for health insuranceTargetPayInsuranceFeeInsurance_Health