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.Kind.DisputeOpened
braintree.WebhookNotification.Kind.DisputeLost
braintree.WebhookNotification.Kind.DisputeWon
braintree.WebhookNotification.Kind.DisputeAccepted
braintree.WebhookNotification.Kind.DisputeExpired
braintree.WebhookNotification.Kind.DisputeDisputed
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. |
dispute_accepted |
A dispute is accepted. |
dispute_expired |
A dispute is expired. |
dispute_disputed |
A dispute is disputed. |
Attributes