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:

  • WebhookKind.DISPUTE_LOST
  • WebhookKind.DISPUTE_OPENED
  • WebhookKind.DISPUTE_WON

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

Notification Type Description
dispute_opened

A dispute is opened.

dispute_won

A dispute is won.

dispute_lost

A dispute is lost.

Attributes

Kind enum

The kind of webhook notification.

Timestamp date

The UTC time at which the webhook was triggered.

Dispute object

A Dispute object.

TransactionDetails

Deprecated. Please use transaction on the Dispute object instead.