Webhooks

Webhooks send notifications to a configured URL when a transaction changes status. A webhook is created with the destination URL, the events to subscribe to and, optionally, the transaction types to filter on.

If a transaction was created with a notifyUrl, notifications for that transaction are sent to the notifyUrl instead of the webhook URL.

Each notification is a POST request with the transaction as JSON body, in the same format as Get Transaction.

AttributeDescriptionFormat
idUnique identifier of the webhook.UUID
urlURL that receives the notifications.String
typesEvents the webhook is subscribed to.Array of events, see below
transactionTypesTransaction types the webhook is limited to.Array e.g. PAYOUT, TRANSFER
tenantIdIdentifier of the tenant.UUID
merchantIdIdentifier of the merchant.UUID

Events

EventSent when
TRANSACTION_INITIATEDThe transaction was created.
TRANSACTION_PROCESSINGThe transaction is being processed.
TRANSACTION_COMPLETEDThe transaction completed successfully.
TRANSACTION_FAILEDThe transaction failed.
TRANSACTION_WAITING_FOR_CANCELLATIONA cancellation was requested and is pending.

Delivery

A notification is delivered successfully when the receiving endpoint responds with 200 OK or 204 No Content. Any other response marks the delivery as FAILED, and it is retried automatically. After the maximum number of attempts, the delivery is marked as CANCELLED. The delivery status of each notification is available through List Webhook Entries.