Skip to content
Kitbay
Skill

stripe-integration

MITUpdated on Nov 10, 202649,466GitHub stars

A single-file coding skill, kept in a large community collection of agent skills, for building payment features on Stripe.

What the skill teaches

A single-file coding skill, kept in a large community collection of agent skills, for building payment features on Stripe. It walks the agent through hosted Checkout sessions, custom flows with Payment Intents and Elements, saving cards with Setup Intents, subscriptions and invoices, customer portal setup, refunds and dispute evidence. Much of it is about webhook handling: checking signatures on the raw body, recording events so each is processed once, and coping with duplicate or out-of-order deliveries. It also asks for server-side ownership checks, idempotency keys and test-mode keys. Code samples are in Python and JavaScript; the file has no scripts and labels itself community-sourced.

Capabilities

  • Implement Stripe Checkout and Payment Intents flows
  • Set up subscriptions, invoices and the customer portal
  • Verify and deduplicate Stripe webhooks
  • Handle refunds and dispute evidence