All ledger endpoints can be interacted with through interactive API Registry
Termination in the context of insurance refers to the formal and intentional ending of an insurance policy before its originally agreed expiration date. This can occur for a variety of reasons, such as customer requests, non-payment of premiums, significant claims, or regulatory changes. The process of termination ensures that both the insurer and the policyholder are clear on the final details of the coverage and any financial adjustments, such as premium refunds.
In the insurance industry, termination is an essential aspect of policy management. It enables insurers to maintain control over the policies they issue while ensuring that customers are treated fairly, especially when a policy ends before its scheduled expiration. Termination helps insurers:
- Manage financial risk by adjusting premiums based on the coverage provided.
- Maintain compliance with regulatory requirements regarding policy cancellation or early termination.
- Handle customer interactions effectively, ensuring smooth transitions for customers who no longer require coverage or wish to modify their policies.
Terminating a policy correctly is crucial for customer satisfaction, proper financial management, and regulatory compliance.
Each termination type offers flexibility to accommodate various business scenarios and ensures that policies are terminated fairly and in line with legal and financial considerations.
- Definition: Refund is calculated proportionally based on how long the policy was active.
- Use Case: When a customer ends a policy early and expects a fair refund.
- Definition: Refund amount is manually specified by the user.
- Use Case: Special agreements, total loss claims, or corrections.
- Definition: Entire policy is treated as if it never existed. All premiums and fees are refunded.
- Use Case: Policy issued by mistake or client decided against buying the policy.
- Definition: Policy ends starting from the next billing period.
- Use Case: Policyholder wants termination to align with the next installment.
- Mock server
https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/terminate
- Beta
https://ledger.app.beta.insly.training/api/v1/ledger/policies/{policyId}/terminate
- Demo
https://ledger.app.demo.insly.com/api/v1/ledger/policies/{policyId}/terminate
curl -i -X POST \
'https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/terminate' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-TENANT-ID: {$inputs.tenant}' \
-d '{
"policy": {
"terminationType": "full-rollback",
"terminationReason": "Optional reason"
},
"financials": {
"adminFeeSum": 0
}
}'{ "event_id": "123" }
The response will confirm whether the policy termination request has been successfully processed. A successful termination results in the policy being canceled and no longer active.
Termination Type: There are 4 termination types supported by the system, as mentioned in the flow description.
Adjustment Handling: Depending on the termination type, the system may adjust the premium for the period the policy was active.
This endpoint returns automatically calculated adjusted premium based on the number of unused days remaining in the coverage period
terminationSumis automatically calculated by the system and is read-only.terminationDateis required and determines the refund calculation period.- Additional fields like
adminFeeSummay optionally be shown for fee adjustments. - No manual override of the calculated refund is allowed in this mode.
- Mock server
https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/terminate/premiums
- Beta
https://ledger.app.beta.insly.training/api/v1/ledger/policies/{policyId}/terminate/premiums
- Demo
https://ledger.app.demo.insly.com/api/v1/ledger/policies/{policyId}/terminate/premiums
curl -i -X POST \
'https://ledger.docs.insly.com/_mock/apis/ledger/bundled/api/v1/ledger/policies/{policyId}/terminate/premiums' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-TENANT-ID: {$inputs.tenant}' \
-d '{
"policy": {
"terminationDate": "2025-09-04",
"terminationType": "pro-rata"
}
}'{ "policy": { "terminationSum": -498.53, "returnAmount": -59.82 } }
This endpoint provides a calculated terminationSum, representing how much of the original premium remains unused at the time of termination. This is useful for displaying or validating the financial implications of a termination.