Accrual event processed

This event occurs when an accrual event is successfully processed.

Type: object
Domain: deposit-product
Event: accrual_event_success
Version: 1

|
accumulator_id required

Title: Accumulator ID
Description: Accumulator ID
Type: string
Example:
02c1f997-e57a-488a-9ace-7731f5b7e25d

account_id required

Title: Account ID
Description: Account ID
Type: integer
Example:
123

program_id required

Title: Program ID
Description: Program ID
Type: integer
Example:
123

product_id required

Title: Product ID
Description: Product ID
Type: string
Example:
4aa5556f-8062-4705-9aca-7246c4d1f36d

accumulated_amount required

Title: Accumulated amount
Description: Accumulated credit amount
Type: number
Example:
10.14

estimated_settlement_date required

Title: Estimated settlement date
Description: Estimated settlement date
Type: string
Format: date-time
Example:
2024-10-15

status required

Title: Status
Description: Event status
Type: string
Example:
TO_CREDIT

entry required

Title: Entry
Type: object

accrual_date required

Title: Accrual date
Description: Accrual date
Type: string
Format: date-time
Example:
2024-10-15

event_correlation_id required

Title: Event correlation ID
Description: Correlation ID for the event
Type: string
Example:
8bbd82bc-9833-44c8-b729-2ec838529f78

amount required

Title: Amount
Description: Amount
Type: number
Example:
10.14

created_at required

Title: Created at
Description: Creation timestamp
Type: string
Format: date-time
Example:
2024-10-15T13:26:25Z

update_at required

Title: Updated at
Description: Updated timestamp
Type: string
Format: date-time
Example:
2024-10-15T13:30:25Z

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Accrual event processed",
    "description": "This event occurs when an accrual event is successfully processed.",
    "required": [
        "accumulator_id",
        "account_id",
        "program_id",
        "product_id",
        "accumulated_amount",
        "estimated_settlement_date",
        "status",
        "entry",
        "created_at",
        "update_at"
    ],
    "properties": {
        "accumulator_id": {
            "type": "string",
            "title": "Accumulator ID",
            "description": "Accumulator ID",
            "examples": [
                "02c1f997-e57a-488a-9ace-7731f5b7e25d"
            ]
        },
        "account_id": {
            "type": "integer",
            "title": "Account ID",
            "description": "Account ID",
            "examples": [
                123
            ]
        },
        "program_id": {
            "type": "integer",
            "title": "Program ID",
            "description": "Program ID",
            "examples": [
                123
            ]
        },
        "product_id": {
            "type": "string",
            "title": "Product ID",
            "description": "Product ID",
            "examples": [
                "4aa5556f-8062-4705-9aca-7246c4d1f36d"
            ]
        },
        "accumulated_amount": {
            "type": "number",
            "title": "Accumulated amount",
            "description": "Accumulated credit amount",
            "examples": [
                10.14
            ]
        },
        "estimated_settlement_date": {
            "type": "string",
            "format": "date-time",
            "title": "Estimated settlement date",
            "description": "Estimated settlement date",
            "examples": [
                "2024-10-15"
            ]
        },
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Event status",
            "examples": [
                "TO_CREDIT"
            ]
        },
        "entry": {
            "type": "object",
            "title": "Entry",
            "required": [
                "accrual_date",
                "event_correlation_id",
                "amount"
            ],
            "properties": {
                "accrual_date": {
                    "type": "string",
                    "format": "date-time",
                    "title": "Accrual date",
                    "description": "Accrual date",
                    "examples": [
                        "2024-10-15"
                    ]
                },
                "event_correlation_id": {
                    "type": "string",
                    "title": "Event correlation ID",
                    "description": "Correlation ID for the event",
                    "examples": [
                        "8bbd82bc-9833-44c8-b729-2ec838529f78"
                    ]
                },
                "amount": {
                    "type": "number",
                    "title": "Amount",
                    "description": "Amount",
                    "examples": [
                        10.14
                    ]
                }
            }
        },
        "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created at",
            "description": "Creation timestamp",
            "examples": [
                "2024-10-15T13:26:25Z"
            ]
        },
        "update_at": {
            "type": "string",
            "format": "date-time",
            "title": "Updated at",
            "description": "Updated timestamp",
            "examples": [
                "2024-10-15T13:30:25Z"
            ]
        }
    }
}
{
    "accumulator_id": "02c1f997-e57a-488a-9ace-7731f5b7e25d",
    "account_id": 123,
    "program_id": 123,
    "product_id": "4aa5556f-8062-4705-9aca-7246c4d1f36d",
    "accumulated_amount": 10.14,
    "estimated_settlement_date": "2024-10-15",
    "status": "TO_CREDIT",
    "entry": {
        "accrual_date": "2024-10-15",
        "event_correlation_id": "8bbd82bc-9833-44c8-b729-2ec838529f78",
        "amount": 10.14
    },
    "created_at": "2024-10-15T13:26:25Z",
    "update_at": "2024-10-15T13:30:25Z"
}