Stripe API
by @stanestane
Use Stripe's live REST API for authenticated account inspection and operational lookup. Use when you need to connect to a Stripe account with a secret key, i...
clawhub install stripe-api-readonlyπ About This Skill
name: stripe-api description: Use Stripe's live REST API for authenticated account inspection and operational lookup. Use when you need to connect to a Stripe account with a secret key, inspect account details, list customers/products/prices/payments/subscriptions/invoices/refunds/disputes/payouts/webhook endpoints, or retrieve a specific Stripe object safely via read-only commands.
Stripe API
Use this skill for real Stripe API access.
Quick start
1. Set STRIPE_SECRET_KEY in the local shell environment.
2. Start with read-only inspection:
- python skills/stripe-api/scripts/stripe_api.py account
- python skills/stripe-api/scripts/stripe_api.py payment_intents --limit 10
- python skills/stripe-api/scripts/stripe_api.py customers --limit 10
3. Read references/objects-and-workflows.md when you need object guidance or a sensible inspection order.
Core workflow
1. Verify access
Run:
python skills/stripe-api/scripts/stripe_api.py account
If this fails with authentication errors, fix the environment variable first.
2. Inspect the account safely
Use read-only list commands first:
python skills/stripe-api/scripts/stripe_api.py products --limit 20
python skills/stripe-api/scripts/stripe_api.py prices --limit 20
python skills/stripe-api/scripts/stripe_api.py payment_intents --limit 20
python skills/stripe-api/scripts/stripe_api.py charges --limit 20
python skills/stripe-api/scripts/stripe_api.py invoices --limit 20
python skills/stripe-api/scripts/stripe_api.py subscriptions --limit 20
python skills/stripe-api/scripts/stripe_api.py payouts --limit 20
python skills/stripe-api/scripts/stripe_api.py disputes --limit 20
python skills/stripe-api/scripts/stripe_api.py webhook_endpoints --limit 20
3. Retrieve a known object directly
python skills/stripe-api/scripts/stripe_api.py get /customers/cus_123
python skills/stripe-api/scripts/stripe_api.py get /payment_intents/pi_123
4. Search customers
python skills/stripe-api/scripts/stripe_api.py search_customers "email:'alice@example.com'"
Safety rules
Resources
scripts/stripe_api.py β minimal authenticated Stripe API helper using only Python standard libraryreferences/objects-and-workflows.md β common Stripe objects, safe inspection order, and search examplesπ‘ Examples
1. Set STRIPE_SECRET_KEY in the local shell environment.
2. Start with read-only inspection:
- python skills/stripe-api/scripts/stripe_api.py account
- python skills/stripe-api/scripts/stripe_api.py payment_intents --limit 10
- python skills/stripe-api/scripts/stripe_api.py customers --limit 10
3. Read references/objects-and-workflows.md when you need object guidance or a sensible inspection order.