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
| Parameter | Description |
|---|---|
| BaseObject | The entity paying the insurance fee (Self or Target). |
| S1 | Insurance ID (Insurance.json Id). |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Self pays the recurring fee for life insurance | Self | PayInsuranceFee | Insurance_Life |
| Target pays the recurring fee for life insurance | Target | PayInsuranceFee | Insurance_Life |
| Self pays the overdue fee for vehicle insurance | Self | PayInsuranceFee | Insurance_Vehicle |
| Target pays the recurring fee for health insurance | Target | PayInsuranceFee | Insurance_Health |
Back to Command FinderSearch and filter all 399 Script Execution documents