stripe-payments · eyadsibai — Claude Code skill: what it does, how to install
stripe-payments gives your coding agent a working map of Stripe: hosted Checkout, custom Payment Intents, subscriptions, webhook signature checks, refunds and test cards. Useful once payment code has to leave the sandbox.
no license 161 installs ★ 7 updated 2026-01-15
npx skills add eyadsibai/ltk --skill stripe-payments -a claude-codeWhat stripe-payments does
The skill covers three ways to take money: a hosted Checkout Session, Payment Intents when you want your own UI on top of Stripe.js, and Setup Intents for storing a card for later. Snippets come in Python and JavaScript, from session creation and in-browser confirmation to a subscription built with default_incomplete, full and partial refunds, and the billing portal that lets customers cancel themselves.
Webhooks get their own section: building an event with stripe.Webhook.construct_event, the events worth wiring up (payment_intent.succeeded, payment_intent.payment_failed, customer.subscription.updated, customer.subscription.deleted, invoice.payment_succeeded), and a card table for testing. 4242424242424242 succeeds, 4000000000000002 is declined, 4000002500003155 triggers 3D Secure.
Amounts go in the currency's smallest unit, so unit_amount: 2000 is $20.00, and hardcoding a raw amount sits on the usual-mistakes list. A handler that skips Stripe-Signature verification answers 400 and the event is lost. The skill's advice: build on webhooks rather than on the browser's confirmation.
What it helps with
- Wire up card payments through a hosted Checkout page
- Build a custom payment form on Payment Intents
- Verify webhook signatures before acting on an event
- Set up a monthly subscription with a self-serve cancel portal
- Issue a partial refund on a customer request
Example prompts for the agent
- Add Stripe Checkout for a $20 monthly plan, my
success_urlandcancel_urlare ready - My
/webhookhandler throws insideconstruct_event. Walk me through the signature check - Refund 500 cents on
pi_xxxwith reasonrequested_by_customer
How to install stripe-payments
1Skills CLI (Vercel)
npx skills add eyadsibai/ltk --skill stripe-payments -a claude-code2Manually: put the files in place
~/.claude/skills/stripe-payments/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/stripe-payments/
1Skills CLI (Vercel)
npx skills add eyadsibai/ltk --skill stripe-payments -a codex2Manually: put the files in place
.agents/skills/stripe-payments/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add eyadsibai/ltk --skill stripe-payments -a cursor2Manually: put the files in place
.cursor/skills/stripe-payments/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install eyadsibai/ltk plugins/ltk-product/skills/stripe-payments2Manually: put the files in place
.github/skills/stripe-payments/SKILL.md1Skills CLI (Vercel)
npx skills add eyadsibai/ltk --skill stripe-payments -a gemini-cli2Platform CLI
gemini skills install https://github.com/eyadsibai/ltk --path plugins/ltk-product/skills/stripe-paymentsManually: put the files in place
.devin/skills/stripe-payments/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add eyadsibai/ltk --skill stripe-payments -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about stripe-payments
How do I install stripe-payments in Claude Code?
Run npx skills add eyadsibai/ltk --skill stripe-payments -a claude-code. The skill then sits at ~/.claude/skills/stripe-payments/SKILL.md.
What does stripe-payments do?
It hands the agent a Stripe reference: payment flows, subscriptions, refunds, webhook handling and test cards, with code samples in Python and JavaScript.
Which webhook events should I handle?
payment_intent.succeeded and payment_intent.payment_failed for one-off charges, customer.subscription.updated and customer.subscription.deleted for plans, invoice.payment_succeeded for recurring billing.
Similar skills
All skills for Backend and APIs →stripe-payments by other authors comes first.