Dispute
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.DISPUTEACCEPTEDWebhookKind.DISPUTEAUTOACCEPTEDWebhookKind.DISPUTEDISPUTEDWebhookKind.DISPUTEEXPIREDWebhookKind.DISPUTELOSTWebhookKind.DISPUTEOPENEDWebhookKind.DISPUTEUNDERREVIEWWebhookKind.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. |
Attributes
KindenumThe kind of webhook notification.
TimestampdateThe UTC time at which the webhook was triggered.
DisputeobjectA Dispute object.
TransactionDetails