Account status created

This event occurs when a new account status is created.
More information: Account status

Type: object
Domain: account
Event: status_creation
Version: 1

|
status_id required

Title: Status ID
Description: Unique numeric status ID
Type: integer

allowed_operations required

Title: Allowed operations
Description: Allowed operations in this status
Type: string
Must be one of the following:
ALL_OPERATIONS
CREDIT_ONLY
DEBIT_ONLY
NO_OPERATIONS
Example:
ALL_OPERATIONS
CREDIT_ONLY
DEBIT_ONLY
NO_OPERATIONS

name required

Title: Status name
Description: Status name
Type: string
Max length: 200

description

Title: Status description
Description: Status description
Type: string or null
Max length: 200

is_final required

Title: Final flag
Description: Indicates whether this is a final status or not.
Type: boolean

creation_datetime required

Title: Creation timestamp
Description: Date and time of the status creation in UTC.
Type: string
Format: date-time
Example:
2022-01-01T10:10:00.000Z

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Account status created",
    "description": "This event occurs when a new account status is created. \n More information: <a href='https://developers.pismo.io/pismo-docs/docs/account-status' target='_blank'>Account status</a>",
    "required": [
        "status_id",
        "allowed_operations",
        "name",
        "is_final",
        "creation_datetime"
    ],
    "properties": {
        "status_id": {
            "type": "integer",
            "title": "Status ID",
            "description": "Unique numeric status ID"
        },
        "allowed_operations": {
            "type": "string",
            "title": "Allowed operations",
            "description": "Allowed operations in this status",
            "enum": [
                "ALL_OPERATIONS",
                "CREDIT_ONLY",
                "DEBIT_ONLY",
                "NO_OPERATIONS"
            ],
            "examples": [
                "ALL_OPERATIONS",
                "CREDIT_ONLY",
                "DEBIT_ONLY",
                "NO_OPERATIONS"
            ]
        },
        "name": {
            "type": "string",
            "title": "Status name",
            "description": "Status name",
            "maxLength": 200
        },
        "description": {
            "type": [
                "string",
                "null"
            ],
            "title": "Status description",
            "description": "Status description",
            "maxLength": 200
        },
        "is_final": {
            "type": "boolean",
            "title": "Final flag",
            "description": "Indicates whether this is a final status or not."
        },
        "creation_datetime": {
            "type": "string",
            "format": "date-time",
            "title": "Creation timestamp",
            "description": "Date and time of the status creation in UTC.",
            "examples": [
                "2022-01-01T10:10:00.000Z"
            ]
        }
    }
}