Setting up a Webhook For Stripe Connect


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

Please note: there are 2 types of webhooks based on how your marketplace chooses to pay for the Stripe Processing Fees, Platform and Direct. Please choose the correct webhook based on your marketplace.


PLATFORM

Step 1

Login into your Stripe Account at  https://dashboard.stripe.com/ and choose API

Step 2

Choose Webhooks

Step 3

Click on 'Add endpoint...' for Endpoints receiving events from Connect applications

Step 4

1. URL: add the URL for your marketplace and then add /webhooks/stripe_connect at the end. For example, https://example.com/webhooks/stripe_connect

2. Events to send: Production

3. Filter Event: Select types to send 

4. Check the box for account.updated

5. Choose 'Add endpoint' when finished and your webhook will be created.

Step 5

1. We also need to set up a webhook for YOUR account. So from Step 3 above, Click on 'Add endpoint...' for Endpoints receiving events from your account

Step 6

1. URL: add the URL for your marketplace and then add /webhooks/stripe_connect at the end. For example,  https://example.com/webhooks/stripe_connect

2. Events to send: Live Events

3. Filter Event: Select types to send 

4. Check the box for  transfer.updated

5. Choose 'Add endpoint' when finished and your webhook will be created.


Direct

Step 1

Login into your Stripe Account at  https://dashboard.stripe.com/ and choose API

Step 2

Choose Webhooks

Step 3

Click on 'Add endpoint...' for Endpoints receiving events from Connect applications

Step 4

1. URL: add the URL for your marketplace and then add /webhooks/stripe_connect at the end. For example,  https://example.com/webhooks/stripe_connect

2. Events to send: Production

3. Filter Event: Select types to send 

4. Check the box for  account.updated, transfer.created, transfer.failed, and transfer.paid

5. Choose 'Add endpoint' when finished and your webhook will be created.

Step 5

1. We also need to set up a webhook for YOUR account. So from Step 3 above, Click on 'Add endpoint...' for Endpoints receiving events from your account

Step 6

1. URL: add the URL for your marketplace and then add /webhooks/stripe_connect at the end. For example,  https://example.com/webhooks/stripe_connect

2. Events to send: Live Events

3. Filter Event: Select types to send 

4. Check the box for  transfer.updated

5. Choose 'Add endpoint' when finished and your webhook will be created.