Charge plan status changed

Event generated when a charge plan status changes

Type: object
Domain: lending
Event: charge_plan_status_change
Version: 1

|
org_id required

Title: The org identifier
Description: This field identifies the organization of the charge plan.
Type: string
Example:
89e56522-726a-453e-ba6d-796b03245128

name required

Title: The charge plan name
Description: This field identifies the name of the charge plan.
Type: string
Example:
Acquisition tax

code required

Title: The charge plan code
Description: This field identifies the code of the charge plan.
Type: string
Example:
TAC2022

previous_status required

Title: The charge plan previous status
Description: This field identifies the previous status of the charge plan.
Type: string
Example:
ENABLED
DISABLED

current_status required

Title: The charge plan current status
Description: This field identifies the current status of the charge plan.
Type: string
Example:
ENABLED
DISABLED

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "title": "Charge plan status changed",
    "description": "Event generated when a charge plan status changes",
    "required": [
        "org_id",
        "name",
        "code",
        "previous_status",
        "current_status"
    ],
    "properties": {
        "org_id": {
            "$id": "#/properties/org_id",
            "type": "string",
            "title": "The org identifier",
            "description": "This field identifies the organization of the charge plan.",
            "examples": [
                "89e56522-726a-453e-ba6d-796b03245128"
            ]
        },
        "name": {
            "$id": "#/properties/name",
            "type": "string",
            "title": "The charge plan name",
            "description": "This field identifies the name of the charge plan.",
            "examples": [
                "Acquisition tax"
            ]
        },
        "code": {
            "$id": "#/properties/code",
            "type": "string",
            "title": "The charge plan code",
            "description": "This field identifies the code of the charge plan.",
            "examples": [
                "TAC2022"
            ]
        },
        "previous_status": {
            "$id": "#/properties/previous_status",
            "type": "string",
            "title": "The charge plan previous status",
            "description": "This field identifies the previous status of the charge plan.",
            "examples": [
                "ENABLED",
                "DISABLED"
            ]
        },
        "current_status": {
            "$id": "#/properties/current_status",
            "type": "string",
            "title": "The charge plan current status",
            "description": "This field identifies the current status of the charge plan.",
            "examples": [
                "ENABLED",
                "DISABLED"
            ]
        }
    }
}
{
    "org_id": "89e56522-726a-453e-ba6d-796b03245128",
    "name": "Acquisition tax",
    "code": "TAC2022",
    "previous_status": "ENABLED",
    "current_status": "ENABLED"
}