The notification kind, returned by calling
kind on the notification object, reveals what triggered the webhook. The
webhookNotification.getKind() for Grant API webhooks will be one of the following:
The following table describes the conditions that trigger each kind of webhook.
A payment instrument that was previously granted to another Braintree merchant has been updated. The
A payment instrument that was previously granted has been revoked by the grantor.
A value representing an existing customer’s payment method stored in your Vault. Use Customer: Find call to look up a single customer.
PaymentMethod object associated with the revoked granted payment method.
The merchant ID of the Braintree merchant that owns the payment instrument.
The merchant ID of the Braintree merchant that was granted the payment instrument.
An object containing the payment method nonce, which represents the updated payment instrument.
See the Grant API webhooks guide for additional attributes specific to each webhook kind.