Instantpay execution status changed
Internal-only endpoint. This event is triggered by scheduled executions actions in instantpay services. For example, when execute scheduled PIX.
Type: object
Domain: instantpay-scheduler
Event: execution_status_change
Version: 1
id required
Title: Execution ID
Description: Execution incremental identifier.
Type: integer
Example:
1
domain required
Title: Domain
Description: Scheduler domain identifier.
Type: string
account_id
Title: Account ID
Description: Unique ID associated with the Pismo account.
Type: integer
scheduler_id required
Title: Scheduler ID
Description: Scheduler identifier.
Type: string
Example:
BBA99AF1-0843-451E-A8C9-2EF5D20C5276
status required
Title: Status
Description: Status of execution
Type: string
Must be one of the following:
PENDING
DELIVERED
PROCESSING
SUCCESS
FAIL
CANCELLED
Example:
SUCCESS
execution_datetime required
Title: Start date
Description: Date of execution
Type: string
Format: date-time
Example:
2024-12-12T11:00:00.000Z
created_at required
Title: Created at
Description: Date of criate execution
Type: string
Format: date-time
Example:
2024-12-12T11:00:00.000Z
updated_at required
Title: Updated at
Description: Date of update execution
Type: string
Format: date-time
Example:
2024-12-12T11:00:00.000Z
error
Title: Error
Description: If the event was caused by a scheduling processing failure, you will receive more details here.
Type: objectmessage required
Title: Message
Description: Error message
Type: stringcode required
Title: Code
Description: Error code
Type: string
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"title": "Instantpay execution status changed",
"description": "Internal-only endpoint. This event is triggered by scheduled executions actions in instantpay services. For example, when execute scheduled PIX.",
"examples": [
{
"domain": "instantpay-scheduler",
"event_type": "execution_status_change",
"schema_version": 1,
"org_id": "4ea21a59-7f4f-4087-aab6-a9a96733084a",
"cid": "cid",
"timestamp": "2023-10-25T18:29:19Z",
"data": {
"id": 1,
"domain": "pix-out-scheduled",
"account_id": 123456,
"scheduler_id": "51a7e875-35a5-4c81-aa77-51bdf3090835",
"execution_datetime": "2024-10-13T00:00:00Z",
"status": "PENDING",
"created_at": "2024-10-17T12:49:50Z",
"updated_at": "2024-10-17T12:49:50Z",
"error": {
"message": "",
"code": ""
}
}
}
],
"properties": {
"id": {
"type": "integer",
"title": "Execution ID",
"description": "Execution incremental identifier.",
"examples": [
1
]
},
"domain": {
"type": "string",
"title": "Domain",
"description": "Scheduler domain identifier."
},
"account_id": {
"type": "integer",
"title": "Account ID",
"description": "Unique ID associated with the Pismo account."
},
"scheduler_id": {
"type": "string",
"title": "Scheduler ID",
"description": "Scheduler identifier.",
"examples": [
"BBA99AF1-0843-451E-A8C9-2EF5D20C5276"
]
},
"status": {
"type": "string",
"title": "Status",
"description": "Status of execution",
"enum": [
"PENDING",
"DELIVERED",
"PROCESSING",
"SUCCESS",
"FAIL",
"CANCELLED"
],
"examples": [
"SUCCESS"
]
},
"execution_datetime": {
"type": "string",
"title": "Start date",
"description": "Date of execution",
"format": "date-time",
"examples": [
"2024-12-12T11:00:00.000Z"
]
},
"created_at": {
"type": "string",
"title": "Created at",
"description": "Date of criate execution",
"format": "date-time",
"examples": [
"2024-12-12T11:00:00.000Z"
]
},
"updated_at": {
"type": "string",
"title": "Updated at",
"description": "Date of update execution",
"format": "date-time",
"examples": [
"2024-12-12T11:00:00.000Z"
]
},
"error": {
"title": "Error",
"type": "object",
"description": "If the event was caused by a scheduling processing failure, you will receive more details here.",
"properties": {
"message": {
"type": "string",
"title": "Message",
"description": "Error message"
},
"code": {
"type": "string",
"title": "Code",
"description": "Error code"
}
},
"required": [
"message",
"code"
]
}
},
"required": [
"id",
"domain",
"scheduler_id",
"execution_datetime",
"status",
"created_at",
"updated_at"
]
}
Updated 1 day ago