Example: Receiving Webhooks from Stripe

Stripe is one of the most common webhook providers. Here is the step-by-step guide to routing all your Stripe events through HookMux.

This guide assumes you have already created your destinations in HookMux. If not, please see the Getting Started guide first.

Step-by-Step Guide

  1. In HookMux: Navigate to your dashboard and go to the Webhooks page.
  2. Click Create Source.
  3. Give it a memorable name, like Stripe - Production or My SaaS App (Stripe).
  4. Then choose which HTTP Methods that do you want to serve. For the time being, only GETand POST are supported. More will be added in the future.
  5. Give your webhook a custom endpoint URL slug. Your URL slug must be unique, and if it happens that existing URL slug had already been taken, you will be warned. Leave empty if you want a randomly-generated URL slug.
  6. Click Save.
  7. Click the "View" button on the Source that you just created. This is where we will add the destination URLs, which are the target receivers of the webhook request.
  8. Click "Add Destination", and then fill in the Destination URL, and check either one or more of the "Allowed HTTP Methods".
  9. NOTE: When selecting "GET" request in a destination, the other destinations will have its "GET" allowance disabled, and only this destination will be able to recieve GET request.
  10. Click "Create Destination"
  11. On the Source detail page, copy the Ingest URL. It will look like this:
    https://core.hookmux.com/ingest/your-unique-slug
  12. In Stripe: Open your Stripe Dashboard in a new tab.
  13. Navigate to Developers > Webhooks.
  14. Click on the Add an endpoint button.
  15. Paste your HookMux Ingest URL into the Endpoint URL field.
  16. (Optional) Description: Add a description like "HookMux - Production Endpoint".
  17. (Optional) Listen to events: Select the specific events you want to receive (e.g., payment_intent.succeeded, customer.subscription.created).
  18. Click Add endpoint.

That's it! Stripe will now send all selected events to your HookMux Source URL, and HookMux will fan them out to all of your configured destinations.

Coming Soon: Signature Verification

To make this integration even more secure, we are releasing built-in support for Stripe's signature verification. Soon, you will be able to paste your Stripe "signing secret" directly into your HookMux Source settings. HookMux will then automatically verify every incoming request from Stripe, ensuring they are 100% legitimate before forwarding them to your destinations.