Stripe Manager
Provides full access to Stripe billing operations: customer lookup, subscription management, payment history, and refund processing.
What it does
- Execute the
stripe-manager.shscript with the requested operation - Return Stripe data or confirm write operations
Requirements
curljq- Stripe API key in
~/.openclaw/workspace/.stripe-key
Authentication
The skill reads credentials automatically:
STRIPE_KEY=$(cat ~/.openclaw/workspace/.stripe-key)
Operations
List all customers
bash stripe-manager.sh customers list
Get a specific customer
bash stripe-manager.sh customers get <customer_id>
List all active subscriptions
bash stripe-manager.sh subscriptions list
Cancel a subscription
bash stripe-manager.sh subscriptions cancel <subscription_id>
List recent charges (last 20)
bash stripe-manager.sh charges list
Issue a refund
Full refund:
bash stripe-manager.sh refunds create <charge_id>
Partial refund (amount in cents):
bash stripe-manager.sh refunds create <charge_id> <amount_in_cents>
Export all customers as JSON (for backup or reporting)
bash stripe-manager.sh customers export
List all invoices for a customer
bash stripe-manager.sh invoices list <customer_id>
Usage Examples
Check how many active subscribers we have
List all Stripe customers and their plans
Cancel the subscription for customer cus_xxx
Issue a full refund for charge ch_xxx
Export the customer list for my records