Stripe Integration
Dispatch integrates with Stripe to receive webhook events for charges, payments, subscriptions, and more.
Connecting Stripe
You connect Stripe by adding a webhook endpoint in your Stripe Dashboard and pointing it at a Dispatch source. There's nothing to authorize.
In Dispatch
- Go to Sources → Add Source → Stripe
- On Connect Stripe webhooks, click Generate webhook URL
- Copy your webhook URL. Keep this screen open: you'll paste Stripe's signing secret here in a moment.
In your Stripe Dashboard
- Open the Stripe Dashboard and go to Developers → Webhooks → Add endpoint
- Paste your Dispatch webhook URL and select the events you want to receive
- Save the endpoint, then copy its Signing secret (it starts with
whsec_)
Paste your signing secret, then finish
- Back in Dispatch, paste the signing secret into the field under Paste your Stripe signing secret. Dispatch checks its format as you type and saves it as soon as you leave the field, so a test event sent from Stripe already verifies.
- Click Done, or press Enter in the field. Done is available once the complete signing secret is entered (it starts with
whsec_). If the secret can't be saved, the setup stays open and tells you why, so you can try again — unless you closed the dialog while it was saving, in which case the dialog closes and the unfinished source is removed.
Supported Stripe Events
The event type is extracted from the type field in the Stripe payload (e.g., payment_intent.succeeded).
| Category | Events |
|---|---|
| Charges | charge.succeeded, charge.failed, charge.refunded |
| Payment Intents | payment_intent.succeeded, payment_intent.payment_failed, payment_intent.created, payment_intent.canceled |
| Subscriptions | customer.subscription.created, customer.subscription.updated, customer.subscription.deleted |
| Invoices | invoice.paid, invoice.payment_failed, invoice.finalized |
| Customers | customer.created, customer.updated, customer.deleted |
| Checkout | checkout.session.completed, checkout.session.expired |
Stripe can send any event type — configure your Stripe webhook to send only the events you need.
Signature Verification
Stripe webhooks include a Stripe-Signature header. Dispatch verifies this automatically using your webhook's signing secret.
Stripe-Signature: t=1614556800,v1=...
Use the signing secret exactly as shown in your Stripe Dashboard — it begins with whsec_.
If the signing secret changes
If you roll the endpoint's signing secret in Stripe, or deliveries are rejected because the saved secret doesn't match, you don't need a new source:
- On the Sources page, open Edit Source on the Stripe source
- Paste the current signing secret from Stripe into Stripe signing secret
- Click Save
Deliveries verify against the new secret from then on, and your webhook URL stays the same.
Auto-Formatted Embeds
When no custom template is assigned, Dispatch auto-detects Stripe payloads and generates specialized embeds:
Charge Events
- Shows amount, currency, and status
- Includes customer email and payment method details
Payment Intent Events
- Shows amount, currency, and intent status
- Includes failure reason for failed payments
Subscription Events
- Shows plan name, interval, and customer
- Color-coded by action (green for created, blue for updated, red for canceled)
Invoice Events
- Shows amount due, due date, and customer
- Includes line item count
Removing a Stripe source
- In Dispatch, delete the source from the Sources page (see Deleting and Archiving)
- In your Stripe Dashboard, delete the webhook endpoint that points at the source's URL, so Stripe stops sending to it