Notification kinds

The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The $webhookNotification->kind for Dispute webhooks will be one of the following:

  • Braintree_WebhookNotification::DISPUTE_LOST
  • Braintree_WebhookNotification::DISPUTE_OPENED
  • Braintree_WebhookNotification::DISPUTE_WON

The following table describes the conditions that trigger each kind of webhook.

Notification Type Description

A dispute is opened.


A dispute is won.


A dispute is lost.


kind enum

The kind of webhook notification.

timestamp date

The UTC time at which the webhook was triggered.

dispute object

A Dispute object.


Deprecated. Please use transaction on the Dispute object instead.

Still have questions?

If you can’t find an answer, contact us