Skip to main content

Webhook Events

Here, we present the current events that you may receive through your registered Webhook, as described in the previous section. These events include the following:

EventsDescription
TICKETA ticket event refers to any updates related to a created ticket (money) within your Account. Naturally, it may also involve a subAccount. This event can have multiple statuses, such as TICKET-CREATED, DEPOSIT-PROCESSING, among others.
Coming Soon!

Ticket

The Ticket Event always reflects an update related to any updates related to a created ticket within your account. In other words, for each type of transaction (as defined inside the quote field of a ticket), a ticket is generated.

Each ticket has a specific type, which determines the nature of the transaction, and during the lifecycle of that ticket, you’ll receive multiple status updates reflecting its current state.

These updates will be sent to your registered Webhook as the ticket progresses through its execution steps.

tickets fluxogram

Ticket Event's Status

Status NameDescription
TICKET-CREATEDThe ticket has been successfully created—this occurs when the transaction hits the endpoint.
DEPOSIT-PROCESSINGThe deposit phase has started and is currently being processed.
DEPOSIT-SUCCESSThe deposit was completed successfully.
DEPOSIT-FAILEDThe deposit attempt has failed.
DELIVERY-PROCESSINGThe delivery phase (e.g., transfer of tokens or funds) is now in progress.
DELIVERY-SUCCESSThe delivery was completed successfully.
DELIVERY-FAILEDThe delivery attempt has failed.
TICKET-COMPLETEThe entire ticket lifecycle has been completed, regardless of the outcome.
info

If a deposit is made to the Main Account without a previously created Ticket, a Ticket Event will still be triggered, starting with the status TICKET-CREATED

info

Any type of error will also return a REASON field, providing details about why the specific step could not be completed.

An additional note for when the Ticket represents a Pay Out—either via PIX or BrCode

When the Ticket represents a Pay Out via PIX or BrCode, the delivery status may fail. In such cases, a new status will be generated, followed by a refund of the original input amount.

ticket fluxogram when it is pay out pix or br code

Ticket Event's Status Pay Out Failure

Status NameDescription
DELIVERY-PROCESSINGThe delivery phase (e.g., transfer of tokens or funds) is now in progress.
DELIVERY-PARTIAL-FAILEDFailure to complete Pay Out delivery

Understanding the Data Returned in a Webhook

Ticket Events follow a standardized structure, where:

{
"type": "TYPE OF TICKET EVENT",
"ticket": "INFORMATION INSIDE A TICKET"
}