Accrual data changed

Event generated when accrual status has changed. It contains a list of accrual IDs grouped by a accrual_type, old_status and new_status

Type: object
Domain: balance
Event: accrual_data_change
Version: 1

|
accrual_type required

Title: The accrual type of this group
Type: string

old_status required

Title: The old status of this group
Type: string

new_status required

Title: The new status of this group
Type: string

interest_accrual_ids required

Type: array

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Accrual data changed",
    "description": "Event generated when accrual status has changed. It contains a list of accrual IDs grouped by a accrual_type, old_status and new_status",
    "required": [
        "accrual_type",
        "old_status",
        "new_status",
        "interest_accrual_ids"
    ],
    "properties": {
        "accrual_type": {
            "type": "string",
            "title": "The accrual type of this group",
            "pattern": "REFINANCING|OVERDUE|FINE|IOF"
        },
        "old_status": {
            "type": "string",
            "title": "The old status of this group",
            "pattern": "SETTLED|STOP_ACCRUAL|PENDING"
        },
        "new_status": {
            "type": "string",
            "title": "The new status of this group",
            "pattern": "SETTLED|STOP_ACCRUAL|PENDING"
        },
        "interest_accrual_ids": {
            "type": "array",
            "title": "Accrual Ids that changed",
            "minItems": 1,
            "items": {
                "type": "integer"
            },
            "examples": [
                [
                    1,
                    15,
                    325,
                    4568
                ]
            ]
        }
    }
}