Arrears Fully Paid Event
Event emitted when all arrears on a policy have been fully paid
Overview
The ArrearsFullyPaidEventV1 event is emitted when all arrears on a policy have been fully paid, resulting in the reset of the failed collection counter and the policy returning to good standing. This event indicates that the policy balance has reached zero or positive after a payment.
When is this event emitted?
This event is triggered when:
- A payment is received that clears all outstanding arrears on a policy
- The policy balance transitions from negative (in arrears) to zero or positive
- The failed collection counter is reset as a result of the payment
Why is this event important?
This event enables downstream systems to:
- Update the policy status to reflect good standing
- Reset any internal counters tracking failed collections
- Notify policyholders that their account is back in good standing
- Trigger reinstatement of any services that were limited due to arrears
- Update risk assessments and credit scoring systems
Key Fields
| Field | Description |
|---|---|
policyId |
The unique identifier of the policy that is now fully paid |
paymentAmount |
The amount of the payment that cleared the arrears |
newBalance |
The new policy balance after the payment (zero or positive) |
previousFailedCollectionCounter |
The failed collection counter value before it was reset |
paymentReference |
External reference for the payment that cleared the arrears |
Note: No Avro Schema
This event has a Java domain class (
ArrearsFullyPaidEvent) but no corresponding Avro.avscschema file in thesft-capstone-policy-avro-eventsmodule. It is an internal domain event not published to Kinesis. Schema fields above are derived from the Java domain class.
Schemas
JSON Schema
Event emitted when all arrears on a policy have been fully paid.
Unique identifier for the event (UUID as string)
Correlation identifier for the event (UUID as string)
Timestamp when the event was noticed (milliseconds since epoch)
Timestamp when the event took effect (milliseconds since epoch)
Type of the event.
Logical clock reading for event ordering
Unique identifier for the policy (UUID as string)
The amount of the payment that cleared the arrears
The new policy balance after the payment
The failed collection counter value before it was reset
External reference for the payment that cleared the arrears