You can choose to be notified whenever certain events are triggered on Stripe by adding a webhook to your Stripe account. First, create a stream where the events are to be sent.
Next, on your {{ settings_html|safe }}, create a Stripe bot.
Add a webhook to your Stripe account by going to "Your account"->"Account
settings"->"Webhooks"->"Add Endpoint" and adding the following URL,
replacing the bot email address (with the @
sign escaped to %40
),
bot API key, Zulip stream, and Zulip topic with the appropriate values:
e.g.
{{ external_uri_scheme }}stripe-bot%40example.com:api_key@{{ external_api_path_subdomain }}/v1/external/stripe?stream=sales%26topic=Stripe
{% if 'http:' in external_uri_scheme %} Note that Stripe will only accept https webhooks! {% endif %}
To set up different topics for different events, create separate webhooks for those events, customizing the URL stream and topic for each.
Congratulations!
You will now receive notifications for the events you have chosen. Zulip currently supports the following events: