Deposit product registration confirmed

New deposit product registration confirmed.

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

|
external_id required

Title: External ID
Description: External event identifier, 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: Deposit amount.
Type: number
Format: double
Example:
10.14

value_date required

Title: Value Date
Description: The date when the deposit 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 deposit. Displayed in RFC3339 format.
Type: string
Format: date
Example:
2030-10-15

status required

Title: Status
Description: Status of the deposit product.
Type: string
Must be one of the following:
CONFIRMED
CONFIRMATION_ERROR

error_message

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

created_at required

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

update_at required

Title: Update date time
Description: Deposit 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": "Deposit product registration confirmed",
    "description": "New deposit 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 identifier, 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": "Deposit amount.",
            "examples": [
                10.14
            ]
        },
        "value_date": {
            "type": "string",
            "format": "date",
            "title": "Value Date",
            "description": "The date when the deposit 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 deposit. Displayed in RFC3339 format.",
            "examples": [
                "2030-10-15"
            ]
        },
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Status of the deposit product.",
            "enum": [
                "CONFIRMED",
                "CONFIRMATION_ERROR"
            ]
        },
        "error_message": {
            "type": "string",
            "title": "Error message",
            "description": "Detailed error message if the deposit product registration fails.",
            "examples": [
                "Invalid account ID"
            ]
        },
        "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Creation date time",
            "description": "Deposit product creation date time.",
            "examples": [
                "2024-10-15T13:26:25Z"
            ]
        },
        "update_at": {
            "type": "string",
            "format": "date-time",
            "title": "Update date time",
            "description": "Deposit 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"
}