Notification kinds

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

  • Braintree::WebhookNotification::Kind::PaymentMethodRevokedByCustomer

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

Notification Type Description

A payment instrument that was previously enabled has been revoked by the customer.
Currently this webhook will only be sent when a customer cancels their PayPal billing agreement.


kind enum

The kind of webhook notification.

timestamp date

The UTC time at which the webhook was triggered.


Metadata referencing the revoked payment method.

token string

An alphanumeric value that references a specific payment method stored in your Vault.

customer_id string

A value representing an existing customer stored in your Vault. Use Customer: Find call to look up a single customer.


The PaymentMethod object associated with the revoked payment method.