Asset status changed

This event occurs when an asset's status changes.

Type: object
Domain: assets
Event: asset_status_change
Version: 1

|
asset_id required

Title: Asset ID
Description: Unique asset identifier defined by client. This is part of the asset identifier on the Pismo platform. It can be used to make redemptions and cancellations.
Type: string
Example:
d0855c6b-b037-4dce-94c5-7a6ffc1800a3

issuer_id required

Title: Issuer id
Description: Cetip code of registrator of asset. This is part of the asset identifier on the Pismo platform. It needs to be in every API call. An organization can have multiple issuer IDs.
Type: string
Example:
12345678

status required

Title: Asset status
Description: Status of asset
Type: string
Must be one of the following:
ACTIVE
CANCELED
REDEEMED
COMPLETED
BLOCKED

updated_at required

Title: Updated date
Description: Date asset was last updated
Type: string
Format: date-time
Example:
2020-12-29T19:48:25

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Asset status changed",
    "description": "This event occurs when an asset's status changes.",
    "required": [
        "asset_id",
        "issuer_id",
        "status",
        "updated_at"
    ],
    "properties": {
        "asset_id": {
            "type": "string",
            "title": "Asset ID",
            "description": "Unique asset identifier defined by client. This is part of the asset identifier on the Pismo platform. It can be used to make redemptions and cancellations.",
            "examples": [
                "d0855c6b-b037-4dce-94c5-7a6ffc1800a3"
            ]
        },
        "issuer_id": {
            "type": "string",
            "title": "Issuer id",
            "description": "Cetip code of registrator of asset. This is part of the asset identifier on the Pismo platform. It needs to be in every API call. An organization can have multiple issuer IDs.",
            "examples": [
                "12345678"
            ]
        },
        "status": {
            "type": "string",
            "title": "Asset status",
            "description": "Status of asset",
            "enum": [
                "ACTIVE",
                "CANCELED",
                "REDEEMED",
                "COMPLETED",
                "BLOCKED"
            ]
        },
        "updated_at": {
            "type": "string",
            "title": "Updated date",
            "description": "Date asset was last updated",
            "format": "date-time",
            "examples": [
                "2020-12-29T19:48:25"
            ]
        }
    }
}
{
    "asset_id": "d0855c6b-b037-4dce-94c5-7a6ffc1800a3",
    "issuer_id": "12345678",
    "status": "ACTIVE",
    "updated_at": "2020-12-29T19:48:25"
}