skills/stripe/SKILL.md
Manage Stripe payments, customers, subscriptions, invoices and products via REST API
npx skillsauth add alanalvestech/hitank stripeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Connect to Stripe to manage payments, customers, subscriptions, invoices and products. Pure Ruby, zero gems — stdlib only.
scripts/
├── auth.rb # Bearer token auth + stripe_request helper (required by all scripts)
├── check_setup.rb # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate an API key
├── customers.rb # List customers
├── customer.rb # Get customer details
├── create_customer.rb # Create a customer
├── charges.rb # List charges
├── payments.rb # List payment intents
├── create_payment.rb # Create a payment intent
├── subscriptions.rb # List subscriptions
├── subscription.rb # Get subscription details
├── create_subscription.rb # Create a subscription
├── invoices.rb # List invoices
├── invoice.rb # Get invoice details
├── products.rb # List products
├── create_product.rb # Create a product
├── prices.rb # List prices
├── create_price.rb # Create a price
└── balance.rb # Get account balance
ruby ~/.claude/skills/stripe/scripts/check_setup.rb
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to get their API key:
You need a Stripe API key.
- Go to https://dashboard.stripe.com/apikeys
- Copy your Secret key (starts with
sk_test_orsk_live_)Paste the API key here.
Step 2 — When the user pastes the key, save it:
ruby ~/.claude/skills/stripe/scripts/save_token.rb 'PASTED_KEY'
If the script outputs an error, the key is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
The argument $ARGUMENTS may contain an action or customer email.
ruby ~/.claude/skills/stripe/scripts/balance.rb
Present the balance and ask what the user wants to do.
List customers:
ruby ~/.claude/skills/stripe/scripts/customers.rb
ruby ~/.claude/skills/stripe/scripts/customers.rb --limit 5 --email [email protected]
Get customer details:
ruby ~/.claude/skills/stripe/scripts/customer.rb CUSTOMER_ID
Create a customer (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_customer.rb "[email protected]" --name "John Doe" --phone "+1234567890"
List charges:
ruby ~/.claude/skills/stripe/scripts/charges.rb
ruby ~/.claude/skills/stripe/scripts/charges.rb --limit 10 --customer CUSTOMER_ID
List payment intents:
ruby ~/.claude/skills/stripe/scripts/payments.rb
ruby ~/.claude/skills/stripe/scripts/payments.rb --limit 10 --customer CUSTOMER_ID
Create a payment intent (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_payment.rb 2000 usd --customer CUSTOMER_ID --description "Order #123"
List subscriptions:
ruby ~/.claude/skills/stripe/scripts/subscriptions.rb
ruby ~/.claude/skills/stripe/scripts/subscriptions.rb --limit 10 --customer CUSTOMER_ID --status active
Get subscription details:
ruby ~/.claude/skills/stripe/scripts/subscription.rb SUBSCRIPTION_ID
Create a subscription (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_subscription.rb CUSTOMER_ID PRICE_ID
List invoices:
ruby ~/.claude/skills/stripe/scripts/invoices.rb
ruby ~/.claude/skills/stripe/scripts/invoices.rb --limit 10 --customer CUSTOMER_ID --status paid
Get invoice details:
ruby ~/.claude/skills/stripe/scripts/invoice.rb INVOICE_ID
List products:
ruby ~/.claude/skills/stripe/scripts/products.rb
ruby ~/.claude/skills/stripe/scripts/products.rb --limit 10 --active true
Create a product (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_product.rb "Premium Plan" --description "Full access to all features"
List prices:
ruby ~/.claude/skills/stripe/scripts/prices.rb
ruby ~/.claude/skills/stripe/scripts/prices.rb --limit 10 --product PRODUCT_ID
Create a price (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_price.rb PRODUCT_ID 2000 usd
ruby ~/.claude/skills/stripe/scripts/create_price.rb PRODUCT_ID 2000 usd --interval month
Get account balance:
ruby ~/.claude/skills/stripe/scripts/balance.rb
sk_test_ or sk_live_)~/.config/stripe/token (outside the repo, never commit)https://api.stripe.com/v1application/x-www-form-urlencoded (not JSON)development
Manage Zendesk tickets, users, organizations and knowledge base via REST API
development
Post and manage tweets on X (formerly Twitter) via API v2
development
Manage Vercel projects, deployments, domains and environment variables via API
development
Manage Twilio SMS, calls, phone numbers and usage via REST API