All apps/Stripe CLI

Stripe CLI

stripe

A command-line tool for Stripe.

Runs as stripe|macOS, Linux, Windows|docs.stripe.com

Command form

ai-draft · 2 tasks · 8 fields

Forward webhook events to a local server or trigger test events. Other subcommands and global flags are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui stripe

stripe listen

Listen for webhooks

Receive webhook events from Stripe and forward them locally.

Listen for webhooksExample values, fixed in this page — nothing here reaches a terminal
Basic
Forward to URL*
url
Event types
string
Print JSON
--print-json
TasksEach one presets the form for one job
Forward events to localhost
forward_toeventsprint_json
ParametersOnly these flags are editable in the form
Forward to URL
url
--forward-to-f
Forward Connect events to
url
--forward-connect-to-c
Event types
Comma-separated list of event types.
string
--events-e
Latest API version
boolean
--latest-l
Live mode
boolean
--live
Print JSON
boolean
--print-json-j
Skip certificate verification
boolean
--skip-verify

stripe trigger

Trigger a test event

Trigger a webhook event for local testing.

Trigger a test eventExample values, fixed in this page — nothing here reaches a terminal
Basic
Event*
string
TasksEach one presets the form for one job
Trigger event
event
ParametersOnly these flags are editable in the form
Event
string · positional 0
charge.succeededcheckout.session.completedcustomer.createdinvoice.paidpayment_intent.succeeded
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed stripe against its version. A form that does not match your version is not offered.