zulip/zerver/webhooks/stripe/doc.md

955 B

Get Zulip notifications for Stripe events!

  1. {!create-stream.md!}

  2. {!create-an-incoming-webhook.md!}

  3. {!generate-integration-url.md!}

  4. On your Stripe Dashboard, click on Developers on the left sidebar. Click on Webhooks, and click on + Add endpoint.

  5. Set URL to be called to the URL constructed above. Select the event types you would like to be notified about, and click Add endpoint.

  6. [Optional] In Zulip, add a linkification filter with Pattern (?P<id>cus_[0-9a-zA-Z]+) and URL template https://dashboard.stripe.com/customers/{id}.

Zulip currently supports Stripe events for Charges, Customers, Discounts, Sources, Subscriptions, Files, Invoices and Invoice items.

{% if 'http:' in external_url_scheme %}

!!! tip ""

Note that Stripe will only accept HTTPS webhooks!

{% endif %}

{!congrats.md!}