Sub-merchant Account
Notification kinds
The notification kind, returned by calling kind on the notification object, reveals what triggered the webhook. The webhook_notification.kind for Sub-merchant Account webhooks will be one of the following:
Braintree::WebhookNotification::Kind::SubMerchantAccountApprovedBraintree::WebhookNotification::Kind::SubMerchantAccountDeclined
The following table describes the conditions that trigger each kind of webhook.
| Notification Type | Description | 
|---|---|
| sub_merchant_account_approved | A sub-merchant has been approved. | 
| sub_merchant_account_declined | A sub-merchant has been declined. | 
Attributes
kindenumThe kind of webhook notification.
timestampdateThe UTC date/time at which the webhook was triggered.
merchant_accountstringSee the sub-merchant onboarding guide for additional attributes available on a sub_merchant_account_declined webhook.