cyberneticlibrary

Automate Stripe billing and subscriptions

stripe-automationskillsetup L23,035
davepoon/buildwithclaude
What it does

Automate Stripe customers, payments, subscriptions, invoices, and refunds

Best for

When automating payment pipelines that must avoid duplicate customers, handle subscription versioning, and manage multi-currency transactions

Inputs
  • · customer email
  • · amount (cents)
  • · currency
  • · payment_method_id
  • · subscription items
Outputs
  • · payment confirmation
  • · customer record
  • · subscription with sub_id
  • · invoice details
Requires
  • · Rube MCP
  • · Composio Stripe toolkit
  • · RUBE_MANAGE_CONNECTIONS
Preconditions
  • · Rube MCP connected
  • · Active Stripe OAuth
  • · Amounts in smallest currency unit
Failure modes
  • · Duplicate customers created
  • · Currency code not lowercase
  • · VERSION mismatch on subscription update
  • · Only PENDING payments can cancel (completed need refund)
Trust signals
  • · Price IDs (not product IDs) for subscription items
  • · RFC 3339 timestamps
  • · Documented amount encoding (cents for USD)