Webhooks

Disputeanchor

Notification kindsanchor

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

  • braintree.WebhookNotification.Kind.DisputeAccepted
  • braintree.WebhookNotification.Kind.DisputeAutoAccepted
  • braintree.WebhookNotification.Kind.DisputeDisputed
  • braintree.WebhookNotification.Kind.DisputeExpired
  • braintree.WebhookNotification.Kind.DisputeLost
  • braintree.WebhookNotification.Kind.DisputeOpened
  • braintree.WebhookNotification.Kind.DisputeUnderReview
  • braintree.WebhookNotification.Kind.DisputeWon

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

Notification Type Description
dispute_accepted

A dispute is accepted.

dispute_auto_accepted

A dispute is automatically accepted.

dispute_disputed

A dispute is disputed.

dispute_expired

A dispute is expired.

dispute_lost

A dispute is lost.

dispute_opened

A dispute is opened.

dispute_under_review

A dispute is under internal review with PayPal.

dispute_won

A dispute is won.

Attributesanchor

kindenum

The kind of webhook notification.

timestampdate

The UTC time at which the webhook was triggered.

disputeobject

A Dispute object.

transaction_details

Deprecated. Please use transaction on the Dispute object instead.