Notification kinds
The notification kind, returned by calling kind
on the notification object, reveals what triggered the webhook. The webhookNotification.Kind
for Payment Method webhooks will be one of the following:
WebhookKind.PAYMENT_METHOD_REVOKED_BY_CUSTOMER
The following table describes the conditions that trigger each kind of webhook.
Notification Type | Description |
---|---|
payment_method_revoked_by_customer |
A payment instrument that was previously enabled has been revoked by the customer. |
Attributes
CustomerId
string
A value representing an existing customer stored in your Vault. Use Customer: Find call to look up a single customer.