Webhooks
Fraud Protection
Notification kinds
The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The webhookNotification.getKind() for Fraud Protection webhooks will be one of the following:
WebhookNotification.Kind.TRANSACTIONREVIEWED
The following table describes the conditions that trigger each kind of webhook.
Notification Type | Description |
---|---|
transaction_reviewed | A transaction that was cited for Review in the Fraud Protection Dashboard has been accepted or rejected. If the transaction was rejected, a void or refund of the transaction amount has been requested. |
Attributes
getKind()
enumThe kind of webhook notification.
getTransactionId()
stringThe identifier of the transaction that was reviewed.
getDecision()
stringThe resulting risk decision of the transaction that was reviewed.
getReviewerEmail()
stringThe email of the user that reviewed the transction.
getReviewerNote()
stringAny notes left by the user that reviewed the transaction.
getReviewedTime()
dateThe UTC time at which the transaction was reviewed.
getTimestamp()
dateThe UTC time at which the webhook was triggered.
See our Fraud Protection guide for more information.