Comment on page
There are two ways to configure a webhook: by linking it to a workflow or entering it directly in the request when creating a transaction. Configuring workflow webhook can be done via the Trust platform by going to workflow builder and selected the desired workflow. Once there, navigate to settings menu and edit the webhook field.
For setting up the webhook endpoint when creating a transaction, it is necessary to send the property webhookUrl inside metadata on the request body.
It is relevant to notice that we will ignore the webhook configured on workflow if there is one on the transaction's metadata.
Webhook URL must be able to receive an HTTP POST request from CAF services.
By default, CAF will return notifications of transaction updates via webhooks to the end client URL that has been already set up in the configuration. You will receive a notification via webhook whenever a transaction finishes or enter on pending status.
If we cannot communicate with your webhook, we will make up to 5 attempts in a maximum of 26 hours. During the time between requests, changes may occur in the transaction status. In case notifications are delivered out of chronological order, the status may not be mostly updated. Therefore, the recommendation is to consider the date attribute and always refer to the most recent transaction version.
Last modified 3mo ago