Bank slip issuance status changed

This event occurs when a financial bank slip status changes on the Pismo platform. The bank slip issue endpoint generates this event.

Type: object
Domain: integrated-payments
Event: bankslip_issue_status_change
Version: 1

|
account_id required

Title: Account ID
Description: Pismo account ID
Type: integer
Example:
8675309

new_status required

Title: New bank slip status
Description: Bank slip's new status
Type: string
Must be one of the following:
CREATED
REGISTERED
CANCELLED
ERROR
Example:
REGISTERED

old_status required

Title: Old bank slip status
Description: Bank slip's old status
Type: string
Must be one of the following:
CREATED
REGISTERED
CANCELLED
ERROR
Example:
CREATED

due_date

Title: Due date
Description: Bank slip due date
Type: string
Format: date-time
Example:
2023-01-01T10:10:00Z

over_due_date

Title: Over due date
Description: Bank slip over due date
Type: string
Format: date-time
Example:
2023-01-01T10:10:00Z

update_datetime required

Title: Update datetime
Description: Bank slip update payment date time
Type: string
Format: date-time
Example:
2022-09-26T00:00:00Z

{
    "$schema": "http://json-schema.org/draft-07/schema",
    "type": "object",
    "title": "Bank slip issuance status changed",
    "description": "This event occurs when a financial bank slip status changes on the Pismo platform. The [bank slip issue](https://developers.pismo.io/pismo-docs/reference/post-integrated-payments-api-v1-bankslips-issue) endpoint generates this event.",
    "required": [
        "account_id",
        "new_status",
        "old_status",
        "update_datetime"
    ],
    "optional": [
        "due_date",
        "over_due_date"
    ],
    "properties": {
        "account_id": {
            "type": "integer",
            "title": "Account ID",
            "description": "Pismo account ID",
            "examples": [
                8675309
            ]
        },
        "new_status": {
            "type": "string",
            "title": "New bank slip status",
            "description": "Bank slip's new status",
            "enum": [
                "CREATED",
                "REGISTERED",
                "CANCELLED",
                "ERROR"
            ],
            "example": "REGISTERED"
        },
        "old_status": {
            "type": "string",
            "title": "Old bank slip status",
            "description": "Bank slip's old status",
            "enum": [
                "CREATED",
                "REGISTERED",
                "CANCELLED",
                "ERROR"
            ],
            "example": "CREATED"
        },
        "due_date": {
            "title": "Due date",
            "type": "string",
            "format": "date-time",
            "description": "Bank slip due date",
            "examples": [
                "2023-01-01T10:10:00Z"
            ]
        },
        "over_due_date": {
            "title": "Over due date",
            "type": "string",
            "format": "date-time",
            "description": "Bank slip over due date",
            "examples": [
                "2023-01-01T10:10:00Z"
            ]
        },
        "update_datetime": {
            "type": "string",
            "title": "Update datetime",
            "description": "Bank slip update payment date time",
            "format": "date-time",
            "examples": [
                "2022-09-26T00:00:00Z"
            ]
        }
    }
}
{
    "account_id": 8675309,
    "new_status": "REGISTERED",
    "old_status": "CREATED",
    "due_date": "2023-01-01T10:10:00Z",
    "over_due_date": "2023-01-01T10:10:00Z",
    "update_datetime": "2022-09-26T00:00:00Z"
}