Webhooks

Sub-merchant Account

Notification kindsAnchorIcon

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:

  • BraintreeWebhookNotification::SUBMERCHANTACCOUNTAPPROVED
  • BraintreeWebhookNotification::SUBMERCHANTACCOUNTDECLINED

The following table describes the conditions that trigger each kind of webhook.

Notification TypeDescription
sub_merchant_account_approved A sub-merchant has been approved.
sub_merchant_account_declined A sub-merchant has been declined.

AttributesAnchorIcon

kindenum
The kind of webhook notification.
timestampdate
The UTC date/time at which the webhook was triggered.
merchantAccountstring
A MerchantAccount object.


See the sub-merchant onboarding guide for additional attributes available on a sub_merchant_account_declined webhook.