davette@web:~/davette.ca/blog $ cat stripe-cli-live-account.md | less
Use Stripe CLI on a live account
posted 2025-07-01 · ~1 min read · 181 words
Stripe CLI is quite useful to trigger webhooks and do some debugging. It's mostly made for sandbox accounts or test environments. But you can also use it on a live account.
In our case, we were trying to retrigger an old event so it could be processed by a new webhook. It's currently not possible to do this through the Stripe dashboard, but you can use the CLI to do it.
Resend Old Event to a New Stripe Webhook
stripe events resend [EVENT_ID] \
--api-key [API_KEY] \
--live \
--webhook-endpoint=[WEBHOOK_ENDPOINT]
Replace the following variables:
[EVENT_ID]with the ID of the event you want to resend. It should start withevt_.[API_KEY]with your Stripe API key. It should start withsk_live_(you may be able to make it work with a Restricted API key, in that case it'll start withrk_live_).[WEBHOOK_ENDPOINT]with the ID of the webhook you want to use. It should start withwe_.
You can monitor if the event was correctly triggered by checking the webhook logs in the Stripe dashboard.
Thank you for reading! If you have any questions or feedback, please feel free to contact us at hi@davette.ca.
-- NORMAL --utf-8~/davette.ca/blog/stripe-cli-live-account.md181 words1:1All