Stripe Command Guide (si stripe)
si includes a first-class Stripe bridge with account context, CRUD helpers, reporting, raw endpoint access, and live-to-sandbox sync.
Related:
Environment Policy
- Supported CLI environments:
live,sandbox testis intentionally rejected as a standalone CLI mode
Context & Auth
Object CRUD
product,price,coupon,promotion_code,tax_rate,shipping_ratecustomer,payment_intent,subscription,invoice,refund,chargeaccount,organization,balance_transaction,payout,payment_method
si stripe raw.
Raw Endpoint Access
Reporting Presets
Live-to-Sandbox Sync
products,prices,coupons,promotion_codes,tax_rates,shipping_rates
plan: detects create/update/archive drift from live to sandboxapply: applies create/update/archive actions in sandbox--dry-run: computes actions without mutation
Error Visibility
On API failures,si stripe surfaces:
- HTTP status
- Stripe
type,code,decline_code,param,message request_id,doc_url,request_log_url- raw payload (with secret redaction)
Observability
- Bridge events are written as JSON lines to
~/.si/logs/stripe.logby default. - Override with
stripe.log_filein settings orSI_STRIPE_LOG_FILE. - Logged events include context (
account,environment), request path/method, status, request ID, and duration.
