Setting up a Webhook for Braintree Marketplace

Purpose: This article will help you set up a Webhook for your Braintree Marketplace Payment Gateway. The reason we need to do this is so that your marketplace doesn't need to pull information from Braintree, they will push important information to your marketplace when important events occur. You can read more about Webhooks here:  https://developers.braintreepayments.com/guides/webhooks/overview

Step 1 - Log into your Braintree Account:  https://www.braintreegateway.com/login

Step 2 - Choose Settings > Webhooks
 Step 3 - Choose Create New Webhook
 Step 4 - In Destination URL you will add your domain followed by  /webhooks/braintree_marketplace. For example: 

https://example.com/webhooks/braintree_marketplace

Finally, check the boxes for Sub Merchant Account Approved and Sub Merchant Account Declined and then click on Create Webhook to finish the set up.