Webhooks
Braintree Auth
Notification kinds
The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The webhookNotification.getKind() for Braintree Auth webhooks will be one of the following:
WebhookNotification.Kind.CONNECTEDMERCHANTSTATUSTRANSITIONED
WebhookNotification.Kind.CONNECTEDMERCHANTPAYPALSTATUSCHANGED
The following table describes the conditions that trigger each kind of webhook.
Notification Type | Description |
---|---|
connected_merchant_status_transitioned | A connected merchant's underwriting status has changed or they have submitted an application. |
connected_merchant_paypal_status_changed | A connected merchant's PayPal account has been successfully linked or unlinked to their Braintree gateway. |
Attributes
getKind()
enumThe kind of webhook notification.
getTimestamp()
dateThe UTC date/time at which the webhook was triggered.
getMerchantId()
stringThe ID of the connected merchant.
getOauthApplicationClientId()
stringThe OAuth application client ID.
See the Braintree Auth webhooks guide for additional attributes specific to each webhook kind.