Savings account product registered

New Savings Account product registration confirmed.

Type: object
Domain: savings-account-product
Event: registration_confirmed
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, it can be either internal or external to Pismo.
Type: integer
Example:
123

program_id required

Title: Program ID
Description: Program ID of the account performing the operation.
Type: integer
Example:
123

interest_plan_id required

Title: Interest Plan ID
Description: ID generated by the interest management flow
Type: string
Format: uuid
Example:
97f45710-4334-4639-aebf-1b929959f4c0

product_id required

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

amount required

Title: Amount
Description: Savings Account amount.
Type: number
Format: double
Example:
10.14

value_date required

Title: Value Date
Description: The date when the savings account amount starts accruing interest. Interest accrual starts one day after the deposit amount has remained in the account for 24 hours.
Type: string
Format: date
Example:
2024-10-15

maturity_date required

Title: Maturity Date
Description: Maturity date of the savings account. Displayed in RFC3339 format.
Type: string
Format: date
Example:
2030-10-15

status required

Title: Status
Description: Savings account status.
Type: string
Must be one of the following:
CONFIRMED
CONFIRMATION_ERROR

error_message

Title: Error message
Description: Detailed error message if the savings account product registration fails.
Type: string
Example:
Invalid account ID

created_at required

Title: Creation date time
Description: Savings account product creation date time.
Type: string
Format: date-time
Example:
2024-10-15T13:26:25Z

update_at required

Title: Update date time
Description: Savings account product update date time.
Type: string
Format: date-time
Example:
2024-10-15T13:30:25Z

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Savings account product registered",
    "description": "New Savings Account product registration confirmed.",
    "required": [
        "external_id",
        "account_id",
        "program_id",
        "interest_plan_id",
        "product_id",
        "amount",
        "value_date",
        "maturity_date",
        "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, it can be either internal or external to Pismo.",
            "examples": [
                123
            ]
        },
        "program_id": {
            "type": "integer",
            "title": "Program ID",
            "description": "Program ID of the account performing the operation.",
            "examples": [
                123
            ]
        },
        "interest_plan_id": {
            "type": "string",
            "format": "uuid",
            "title": "Interest Plan ID",
            "description": "ID generated by the interest management flow",
            "examples": [
                "97f45710-4334-4639-aebf-1b929959f4c0"
            ]
        },
        "product_id": {
            "type": "string",
            "format": "uuid",
            "title": "Product ID",
            "description": "Pismo product ID.",
            "examples": [
                "4aa5556f-8062-4705-9aca-7246c4d1f36d"
            ]
        },
        "amount": {
            "type": "number",
            "format": "double",
            "title": "Amount",
            "description": "Savings Account amount.",
            "examples": [
                10.14
            ]
        },
        "value_date": {
            "type": "string",
            "format": "date",
            "title": "Value Date",
            "description": "The date when the savings account amount starts accruing interest. Interest accrual starts one day after the deposit amount has remained in the account for 24 hours.",
            "examples": [
                "2024-10-15"
            ]
        },
        "maturity_date": {
            "type": "string",
            "format": "date",
            "title": "Maturity Date",
            "description": "Maturity date of the savings account. Displayed in RFC3339 format.",
            "examples": [
                "2030-10-15"
            ]
        },
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Savings account status.",
            "enum": [
                "CONFIRMED",
                "CONFIRMATION_ERROR"
            ]
        },
        "error_message": {
            "type": "string",
            "title": "Error message",
            "description": "Detailed error message if the savings account product registration fails.",
            "examples": [
                "Invalid account ID"
            ]
        },
        "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Creation date time",
            "description": "Savings account product creation date time.",
            "examples": [
                "2024-10-15T13:26:25Z"
            ]
        },
        "update_at": {
            "type": "string",
            "format": "date-time",
            "title": "Update date time",
            "description": "Savings account product update date time.",
            "examples": [
                "2024-10-15T13:30:25Z"
            ]
        }
    }
}
{
    "external_id": "02c1f997-e57a-488a-9ace-7731f5b7e25d",
    "account_id": 123,
    "program_id": 123,
    "interest_plan_id": "97f45710-4334-4639-aebf-1b929959f4c0",
    "product_id": "4aa5556f-8062-4705-9aca-7246c4d1f36d",
    "amount": 10.14,
    "value_date": "2024-10-15",
    "maturity_date": "2030-10-15",
    "status": "CONFIRMED",
    "error_message": "Invalid account ID",
    "created_at": "2024-10-15T13:26:25Z",
    "update_at": "2024-10-15T13:30:25Z"
}