Account status change failure

This event occurs when an account status change fails.
More information: Account status

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

|
account_id required

Title: Account ID
Description: Unique ID associated with the Pismo account.
Type: integer

error_message required

Title: Error Message
Description: Error message about the status change request
Type: string
Example:
Account status cannot be changed because it is in final status

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Account status change failure",
    "description": "This event occurs when an account status change fails. \n More information: <a href='https://developers.pismo.io/pismo-docs/docs/account-status' target='_blank'>Account status</a>",
    "required": [
        "account_id",
        "error_message"
    ],
    "properties": {
        "account_id": {
            "title": "Account ID",
            "description": "Unique ID associated with the Pismo account.",
            "type": "integer",
            "minimum": 1,
            "maximum": 99999999999
        },
        "error_message": {
            "type": "string",
            "title": "Error Message",
            "description": "Error message about the status change request",
            "examples": [
                "Account status cannot be changed because it is in final status"
            ]
        }
    }
}