Set up the Stripe webhook
On this page
A Stripe webhook makes Deskwoot save every charge, refund and subscription change, and every new customer, the moment it happens. This guide walks you through every click, with screenshots from the actual Stripe Dashboard.
What the webhook changes
- Without a webhook, the Details tab of a conversation still reads payments and subscriptions live from Stripe whenever the conversation opens, and Stripe customers are imported as contacts once a day. Nothing is saved in Deskwoot between those reads, and a brand new Stripe customer only becomes a contact with the next daily import.
- With a webhook, Stripe pushes events to Deskwoot the moment they happen on your account, and Deskwoot saves each charge, refund and subscription change right away.
Step 1: Copy your webhook URL from Deskwoot

- In Deskwoot, open Settings > Integrations > Stripe.
- In the box Customer events in real time, find your personal Webhook URL under Step 1. Webhook URL. It looks like
https://deskwoot.com/api/webhooks/stripe-customer/<your-integration-id>. - Click Copy next to it.
Step 2: Open the Stripe Webhooks page
- Log in to dashboard.stripe.com.
- In the bottom left corner, click Developers (1.).
- In the menu that opens, click Webhooks (2.).
Step 3: Create a destination and select the 8 events
- On the Webhooks page, click the button to create a new event destination. The wizard Create an event destination opens.
- Leave Event destination scope on Your account (1.).
- Leave Payload style on Snapshot and the API version on the Stripe default.
- Under Events, switch to the All events tab (2.).
- In the search field (3.) find and check each of these 8 events:
charge.succeededcharge.refundedcustomer.createdcustomer.updatedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedinvoice.paid
- Click Continue (4.).
Step 4: Choose the destination type
- Pick Webhook endpoint (it is usually selected already).
- Click Continue.
Step 5: Configure the destination
- Type
Deskwootas the Destination name. - Paste the Webhook URL you copied in Step 1 into the Endpoint URL field. The description is optional.
- Click Create destination.
Step 6: Reveal and copy the signing secret
Stripe now shows your new destination with the Active badge. On the right, under Destination details, find the Signing secret box:
- Click the eye icon to reveal the secret.
- Copy the value that starts with
whsec_.
Step 7: Paste the secret back into Deskwoot
- Back in Deskwoot, open Settings > Integrations > Stripe.
- Paste the
whsec_value into the field under Step 2. Webhook signing secret. - Click Save.
The status of the Customer events in real time box switches from "Not set up" to "Set up".
Step 8: Send a test event
- Back on the destination's page in Stripe, click Send test events at the top right.
- Send a
charge.succeededevent.
Within a few seconds the Event deliveries tab shows it with a 200 response. You're done.
From now on Stripe sends new charges, refunds, subscription changes and new customers to Deskwoot the moment they happen, and Deskwoot saves them right away instead of waiting for the daily contact import.
Troubleshooting
- The test webhook returns a 4xx error. Open Deskwoot under Settings > Integrations > Stripe and confirm the signing secret matches exactly what Stripe showed you, with no leading or trailing spaces. The secret must match for signature verification to succeed.
- The endpoint shows a 412 Precondition Failed. Deskwoot has the integration but no signing secret saved yet. Paste the
whsec_value into the Webhook signing secret field and save. - Events arrive but customers still do not appear in Deskwoot. Most likely the events you selected do not include
charge.succeededorcustomer.created. Open the destination in Stripe, click Edit destination, and confirm the full event list above is selected.
Frequently asked questions
Do I need the webhook?
What does a 412 Precondition Failed mean?
Was this guide helpful?
Keep reading
- Track parcels with Ship24See the carrier's live parcel status next to the conversation and in Fynn's answers, through Ship24. It works with Shopify and WooCommerce orders on the Business and Enterprise plans.Read guide
- Connect WhatsApp BusinessConnect your WhatsApp Business number through Meta's official WhatsApp Cloud API, which is free to set up, and answer WhatsApp chats in Deskwoot.Read guide
- Connect WooCommerceSee each customer's WooCommerce orders in the conversation, and refund, cancel or mark them shipped without leaving Deskwoot.Read guide