The notification kind, returned by calling
kind on the notification object, reveals what triggered the webhook. The
$webhookNotification->kind for Sub-merchant Account webhooks will be one of the following:
The following table describes the conditions that trigger each kind of webhook.
A sub-merchant has been approved.
A sub-merchant has been declined.
See the sub-merchant onboarding guide for additional attributes available on a