Savings account product created

Type: object
Domain: savings-account-product
Event: creation
Version: 1

|
product_id required

Title: Product Identifier
Description: Product identifier in the pismo platform. UUID v4 format
Type: string
Example:
2c336e9d-d04f-4fd0-8f6e-25808f48d70c

name required

Title: Product Name
Description: Name given to the product by the customer
Type: string
Example:
My product

interest_plan_id

Title: Interest Plan Identifier
Description: Interest plan identifier in the pismo platform. UUID v4 format
Type: string
Example:
b935acaf-886c-4817-8f7c-c2cc3ce4d509

processing_codes required

Title: Processing Codes
Description: Processing codes used for accounting
Type: object

interest_processing_code required

Title: Interest Processing Code
Description: Processing code for interest processing
Type: string
Example:
202526

withholding_tax_processing_code

Title: Withholding Tax Processing Code
Description: Processing code for withholding tax processing
Type: string
Example:
202530

status required

Title: Status
Description: Savings Account product status. A new product's status will always be "CREATED"
Type: string
Example:
CREATED

created_at required

Title: Creation Datetime
Description: Savings Account product creation datetime. Represented as a RFC3339 timestamp
Type: string
Example:
2024-01-23T13:26:25Z

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Savings account product created",
    "required": [
        "product_id",
        "name",
        "processing_codes",
        "status",
        "created_at"
    ],
    "properties": {
        "product_id": {
            "type": "string",
            "title": "Product Identifier",
            "description": "Product identifier in the pismo platform. UUID v4 format",
            "examples": [
                "2c336e9d-d04f-4fd0-8f6e-25808f48d70c"
            ]
        },
        "name": {
            "type": "string",
            "title": "Product Name",
            "description": "Name given to the product by the customer",
            "examples": [
                "My product"
            ]
        },
        "interest_plan_id": {
            "type": "string",
            "title": "Interest Plan Identifier",
            "description": "Interest plan identifier in the pismo platform. UUID v4 format",
            "examples": [
                "b935acaf-886c-4817-8f7c-c2cc3ce4d509"
            ]
        },
        "processing_codes": {
            "$ref": "#/definitions/processing_codes"
        },
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Savings Account product status. A new product's status will always be \"CREATED\"",
            "examples": [
                "CREATED"
            ]
        },
        "created_at": {
            "type": "string",
            "title": "Creation Datetime",
            "description": "Savings Account product creation datetime. Represented as a RFC3339 timestamp",
            "examples": [
                "2024-01-23T13:26:25Z"
            ]
        }
    },
    "definitions": {
        "processing_codes": {
            "type": "object",
            "title": "Processing Codes",
            "description": "Processing codes used for accounting",
            "properties": {
                "interest_processing_code": {
                    "type": "string",
                    "title": "Interest Processing Code",
                    "description": "Processing code for interest processing",
                    "examples": [
                        "202526"
                    ]
                },
                "withholding_tax_processing_code": {
                    "type": "string",
                    "title": "Withholding Tax Processing Code",
                    "description": "Processing code for withholding tax processing",
                    "examples": [
                        "202530"
                    ]
                }
            },
            "required": [
                "interest_processing_code"
            ]
        }
    }
}
{
    "product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
    "name": "My product",
    "interest_plan_id": "b935acaf-886c-4817-8f7c-c2cc3ce4d509",
    "processing_codes": {
        "interest_processing_code": "202526",
        "withholding_tax_processing_code": "202530"
    },
    "status": "CREATED",
    "created_at": "2024-01-23T13:26:25Z"
}