Webhooks
Grant API
Notification kinds
WebhookNotification.Kind.GRANTORUPDATEDGRANTEDPAYMENTMETHOD
WebhookNotification.Kind.RECIPIENTUPDATEDGRANTEDPAYMENTMETHOD
WebhookNotification.Kind.GRANTEDPAYMENTMETHODREVOKED
The following table describes the conditions that trigger each kind of webhook.
Notification Type | Description |
---|---|
granted_payment_instrument_update | A payment instrument that was previously granted to another Braintree merchant has been updated. The |
granted_payment_instrument_revoked | A payment instrument that was previously granted has been revoked by the grantor. |
Attributes
getKind()
enumgetTimestamp()
dategetRevokedPaymentMethodMetadata()
Only present for granted payment instrument revoked webhooks.
getToken()
stringgetCustomerId()
stringCustomer: Find
call to look up a single customer.getRevokedPaymentMethod()
getGrantedPaymentInstrumentUpdate()
Only present for granted payment instrument updated webhooks.
getGrantOwnerMerchantId()
stringgetGrantRecipientMerchantId()
stringgetPaymentMethodNonce()
objectgetNonce()
stringgetConsumed()
booleangetUpdatedFields()
ArraySee the Grant API webhooks guide for additional attributes specific to each webhook kind.