Webhooks
Fraud Protection
Notification kinds
The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The $webhookNotification->kind for Fraud Protection webhooks will be one of the following:
BraintreeWebhookNotification::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
kind
enumThe kind of webhook notification.
transactionId
stringThe identifier of the transaction that was reviewed.
decision
stringThe resulting risk decision of the transaction that was reviewed.
reviewerEmail
stringThe email of the user that reviewed the transction.
reviewerNote
stringAny notes left by the user that reviewed the transaction.
reviewedTime
dateThe UTC time at which the transaction was reviewed.
timestamp
dateThe UTC time at which the webhook was triggered.
See our Fraud Protection guide for more information.