Introduction
What is the event model?
Each time an authorization request is made, whether for a sale, return, cancellation or reversal, the following events / messages will be post to the URL's registered to receive each of the messages.
Recomendations
We recommend handling the events contemplating that you are working with a model that is constantly evolving and new fields may appear in the different documents.
General information
The available events are shown below with the corresponding scheme detailing the information being sent.
Although each message has its own model, there is general information that must be taken into account when listening to events:
Field | Type | Description |
---|---|---|
tenant | string | Partner identificator |
date | date-time | Event date and time |
Available events
Identificator | Event | Description |
---|---|---|
TRANSACTION_COMPLETED | Transaction completed | The event is dispatched when the authorization has already been approved and confirmed. At this point there is no longer any possibility of a reversal. |
COMMISSION_CALCULATED | Commission calculated | The event is calculated based on the TRANSACTION_COMPLETED event and includes additional information related to financial costs and commissions. |