Maturity instruction processed

Processing of maturity instruction completed.

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

|
external_id required

Title: External ID
Description: External event ID, it can be either tracking_id or balance_id.
Type: string
Format: uuid
Example:
02c1f997-e57a-488a-9ace-7731f5b7e25d

account_id required

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

product_id required

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

principal_amount required

Title: Principal Amount
Description: Deposit amount.
Type: number
Format: double
Example:
1000.0

interest_amount required

Title: Interest Amount
Description: Interest amount.
Type: number
Format: double
Example:
10.0

status required

Title: Status
Description: Maturity instruction status.
Type: string
Must be one of the following:
COMPLETED
PROCESSING
ERROR

rollover

Title: Rollover
Description: Investment funds processed as ROLLOVER.
Type: object

external_id required

Title: External ID
Description: New UUID v4 for maturity instruction rollover.
Type: string
Format: uuid
Example:
02c1f997-e57a-488a-9ace-7731f5b7e25d

amount required

Title: Amount
Description: Deposit amount.
Type: number
Format: double
Example:
1000.0

payment

Title: Payment
Description: Amount to be paid. The total can be the principal amount, or principal amount + interest amount.
Type: object

tracking_id required

Title: Tracking ID
Description: Generated tracking ID for this transaction.
Type: string
Format: uuid
Example:
02c1f997-e57a-488a-9ace-7731f5b7e25d

amount required

Title: Amount
Description: Payment amount.
Type: number
Format: double
Example:
10.0

created_at required

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

update_at required

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

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Maturity instruction processed",
    "description": "Processing of maturity instruction completed.",
    "required": [
        "external_id",
        "account_id",
        "product_id",
        "principal_amount",
        "interest_amount",
        "status",
        "created_at",
        "update_at"
    ],
    "properties": {
        "external_id": {
            "type": "string",
            "format": "uuid",
            "title": "External ID",
            "description": "External event ID, it can be either `tracking_id` or `balance_id`.",
            "examples": [
                "02c1f997-e57a-488a-9ace-7731f5b7e25d"
            ]
        },
        "account_id": {
            "type": "integer",
            "title": "Account ID",
            "description": "Account ID.",
            "examples": [
                123
            ]
        },
        "product_id": {
            "type": "string",
            "format": "uuid",
            "title": "Product ID",
            "description": "Product ID.",
            "examples": [
                "4aa5556f-8062-4705-9aca-7246c4d1f36d"
            ]
        },
        "principal_amount": {
            "type": "number",
            "format": "double",
            "title": "Principal Amount",
            "description": "Deposit amount.",
            "examples": [
                1000.0
            ]
        },
        "interest_amount": {
            "type": "number",
            "format": "double",
            "title": "Interest Amount",
            "description": "Interest amount.",
            "examples": [
                10.0
            ]
        },
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Maturity instruction status.",
            "enum": [
                "COMPLETED",
                "PROCESSING",
                "ERROR"
            ]
        },
        "rollover": {
            "type": "object",
            "title": "Rollover",
            "description": "Investment funds processed as `ROLLOVER`.",
            "required": [
                "external_id",
                "amount"
            ],
            "properties": {
                "external_id": {
                    "type": "string",
                    "format": "uuid",
                    "title": "External ID",
                    "description": "New UUID v4 for maturity instruction rollover.",
                    "examples": [
                        "02c1f997-e57a-488a-9ace-7731f5b7e25d"
                    ]
                },
                "amount": {
                    "type": "number",
                    "format": "double",
                    "title": "Amount",
                    "description": "Deposit amount.",
                    "examples": [
                        1000.0
                    ]
                }
            }
        },
        "payment": {
            "type": "object",
            "title": "Payment",
            "description": "Amount to be paid. The total can be the principal amount, or principal amount + interest amount.",
            "required": [
                "tracking_id",
                "amount"
            ],
            "properties": {
                "tracking_id": {
                    "type": "string",
                    "format": "uuid",
                    "title": "Tracking ID",
                    "description": "Generated tracking ID for this transaction.",
                    "examples": [
                        "02c1f997-e57a-488a-9ace-7731f5b7e25d"
                    ]
                },
                "amount": {
                    "type": "number",
                    "format": "double",
                    "title": "Amount",
                    "description": "Payment amount.",
                    "examples": [
                        10.0
                    ]
                }
            }
        },
        "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Creation date time",
            "description": "Creation timestamp.",
            "examples": [
                "2024-10-15T13:26:25Z"
            ]
        },
        "update_at": {
            "type": "string",
            "format": "date-time",
            "title": "Update date time",
            "description": "Updated timestamp.",
            "examples": [
                "2024-10-15T13:30:25Z"
            ]
        }
    }
}
{
    "external_id": "02c1f997-e57a-488a-9ace-7731f5b7e25d",
    "account_id": 123,
    "product_id": "4aa5556f-8062-4705-9aca-7246c4d1f36d",
    "principal_amount": 1000.0,
    "interest_amount": 10.0,
    "status": "COMPLETED",
    "rollover": {
        "external_id": "02c1f997-e57a-488a-9ace-7731f5b7e25d",
        "amount": 1000.0
    },
    "payment": {
        "tracking_id": "02c1f997-e57a-488a-9ace-7731f5b7e25d",
        "amount": 10.0
    },
    "created_at": "2024-10-15T13:26:25Z",
    "update_at": "2024-10-15T13:30:25Z"
}