Install
openclaw skills install stripe-cli-skillStripe CLI operations for local development, webhook testing, fixture-based event simulation, API inspection, and sandbox resource management. Use when installing or verifying stripe CLI, logging in, forwarding webhook events (`stripe listen --forward-to`), triggering test events (`stripe trigger`), replaying/resending events, tailing request logs, or performing safe subscription/checkout debugging in Stripe sandbox environments.
openclaw skills install stripe-cli-skillUse this skill to run Stripe CLI workflows safely and reproducibly for local and staging environments.
Default posture: sandbox-first, least privilege, no secret leakage, no destructive live-mode actions.
# check install
stripe version
# authenticate (browser flow)
stripe login
# verify account context
stripe config --list
If using API key auth in CI/local automation:
export STRIPE_API_KEY=sk_test_...
stripe customers list --limit 3
Need to debug incoming webhooks locally?
stripe listen --forward-to ...references/workflows.md → Webhook Local LoopNeed test events quickly (checkout/subscription/invoice)?
stripe trigger ... or stripe fixtures ...references/workflows.md → Trigger & FixturesNeed inspect API behavior/errors?
stripe logs tail, stripe events list, stripe events resendreferences/commands.mdNeed plan change/proration diagnostics?
stripe subscriptions update ..., stripe invoices create_preview ...)sk_test_...) and sandbox account context.--skip-verify except when explicitly required in local-only environments.stripe config --liststripe whoami (if available)stripe trigger as stateful: it creates objects and side effects in sandbox.stripe listen --forward-to localhost:4242/webhook
Filter events when needed:
stripe listen \
--events checkout.session.completed,invoice.paid,invoice.payment_failed,customer.subscription.updated \
--forward-to localhost:4242/webhook
Load event configuration from dashboard webhook endpoint:
stripe listen --load-from-webhooks-api --forward-to localhost:4242
stripe trigger checkout.session.completed
stripe trigger invoice.paid
stripe trigger customer.subscription.updated
For complex scenarios, prefer fixtures:
stripe fixtures path/to/fixture.json
stripe logs tail
stripe events list --limit 10
stripe events resend evt_... --webhook-endpoint=we_...
stripe products create --name "Test Product" --latest
stripe products create --name "Pinned Version" --stripe-version 2026-01-28.clover
Before running commands that mutate state, verify:
If user asks for live-mode operation, require explicit confirmation and explain blast radius.
scripts/stripe-dev-listen.sh
stripe listen with safer defaults and event filters.scripts/stripe-sanitize.sh
references/workflows.md - production-grade Stripe CLI workflowsreferences/commands.md - high-value command cheatsheetreferences/security.md - security and compliance checklist for community use