Webhook Recipients
The transaction event webhook is usually sent to the following receivers:- Applications that manage your ledger balance: They must authorise and approve the transactions.
- Applications that send notifications to your cardholders’ devices.
- Data warehouse feeds
Supported Message Categories
- We send all authorisation message types via the Transaction Event Webhook.
-
In addition, we also send the
FINANCIALmessage category, which is similar to a clearing message of batch payments. A transaction event webhook ofFINANCIALmessage category includes the same contents as delivered in a clearing file copy.SupportingFINANCIALmessages sent via the transaction event webhook is an additional option because the same information is available in the clearing file copy, allowing you the flexibility to exclude this message category from Transaction Event Webhooks during configuration.
Supported Message Functions
ThemessageFunction does not indicate whether Enfuce requires any approval from the ledger. Instead, it describes the interaction and expected behaviour between the payment Scheme and Enfuce. When we forward the message to the ledger, we maintain the same messageFunction as received from the Scheme. The transaction event webhook supports the following message functions:
Request
Request
messageFunction = REQUEST, the Scheme requires a response from the processor indicating whether the payment is approved or declined.Advice
Advice
messageFunction = ADVICE, the Scheme message represents an event that has already occurred and therefore cannot be declined. However, the Scheme still requires an acknowledgement confirming that the message was received successfully.Notification
Notification
messageFunction= NOTIFICATION, the Scheme sends the message for informational purposes only and does not expect any response or acknowledgement. This message type is typically used for file-based messages, such as clearing messages.Difference between Authorisation Request API and Transaction Event Webhook
Here is a diagrammatic representation that illustrates how you must manage the same message category —INITIAL_AUTHORIZATION when received via two the different interfaces — Authorisation Request API and Transaction Event Webhook:
Example
Here is an example that explains how you differently manage the same authorisation message, when you receive it via Authorisation Request API versus Transaction Event Webhook: Message category:INITIAL_AUTHORIZATION
Webhook Contents
The Authorisation Request API endpoint includes rich information about a transaction. The following lists the minimum data you require to arrive at a decision:Ledger’s Actions
The following section explains the actions that you must take when you receive a message via the the Transaction Event Webhook interface for any of the followingmessageCategory along with their corresponding messageFunction:
ADJUSTMENT
ADJUSTMENT
Message Function | `ADVICE`
Message Function | `ADVICE`
This message is sent asynchronously to inform that a card transaction has been adjusted or partially reversed.
REVERSAL
REVERSAL
Message Function | `ADVICE`
Message Function | `ADVICE`
This message is sent asynchronously to inform that a card transaction has been fully reversed.
Actions:- Identify the associated authorisation message, based on the
transactionId, and reverse the amount that was previously put on hold.
BALANCE_ENQUIRY
BALANCE_ENQUIRY
Message Function | `REQUEST`
Message Function | `REQUEST`
This message is sent asynchronously to explain what occurred. The webhook is usually sent after an INITIAL_AUTHORISATION message is sent via the Authorisation Request API interface and the ledger has either approved or declined the request.
- No action required.
PIN_MANAGEMENT
PIN_MANAGEMENT
Message Function | `REQUEST`
Message Function | `REQUEST`
This message is sent asynchronously to explain what occurred. The webhook is usually sent after an INITIAL_AUTHORISATION message is sent via the Authorisation Request API interface and the ledger has either approved or declined the request.
- No action required.
PIN_MANAGEMENT_REVERSAL
PIN_MANAGEMENT_REVERSAL
Message Function | `ADVICE`
Message Function | `ADVICE`
This message is sent asynchronously to inform that a PIN management request has been reversed. If any fee was incurred for PIN related services, the transaction.approvedAmount must be greater than 0.

