The notification kind, returned by calling
kind on the notification object, reveals what triggered the webhook. The
webhookNotification.getKind() for Transaction webhooks will be one of the following:
The following table describes the conditions that trigger each kind of webhook.
Settlement for the transaction was declined.
May be triggered after the
Transaction successfully settled.
The associated transaction.