stripe-integration
Skill by rmyndharis
Guides an AI assistant through Stripe payment integration, including hosted checkout, subscriptions, webhooks, refunds and customer management. It is for developers building payment or subscription flows in web or mobile apps.
Install stripe-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rmyndharis/antigravity-skills /tmp/antigravity-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-skills/skills/stripe-integration ~/.claude/skills/stripe-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rmyndharis/antigravity-skills /tmp/antigravity-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/antigravity-skills/skills/stripe-integration ~/.gemini/antigravity-cli/skills/stripe-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant Stripe integration guidance and code patterns. It covers hosted Checkout Sessions, custom Payment Intent flows with Stripe.js, Setup Intents for saving payment methods, and subscription creation. It also includes a customer billing portal session, a Flask webhook endpoint with signature verification, and helpers for customers, payment methods, refunds and disputes.
The examples are mostly Python using the stripe library, with a JavaScript snippet for the frontend card flow. The skill lists critical webhook events such as payment_intent.succeeded and customer.subscription.deleted. It also shows test mode keys and test card numbers. It is aimed at developers who need to add payments, recurring billing or secure checkout to an application.
Written from the project's SKILL.md and checked against it.
What it can do
- Hosted checkoutCreates Stripe Checkout Sessions for one-time payments and subscriptions.
- Custom payment intentsSets up Payment Intents for a custom checkout UI with Stripe.js.
- SubscriptionsCreates subscriptions with products and prices, and explains invoices per billing cycle.
- Customer portalCreates a billing portal session so customers can manage their subscriptions.
- Webhook handlingVerifies Stripe-Signature headers and routes key payment and subscription events.
- Customer managementCreates customers, attaches payment methods and lists saved cards.
- Refunds and disputesCreates full or partial refunds and submits dispute evidence.
- Test casesShows test mode keys, test card numbers and a sample payment flow test.
What you need
- Stripe account with API keys (sk_test and pk_test shown in examples)
- Stripe webhook endpoint secret (whsec) for signature checks
- Python with the stripe library (examples are in Python)
- Flask (used in the webhook example)
Try asking
- Set up a Stripe Checkout Session for a monthly subscription plan
- Write a Flask webhook handler that verifies Stripe signatures
- Create a partial refund for a Stripe payment intent with a reason
Good to know
- Code is provided as snippets, not as a packaged library or runnable project.
- Stripe Connect marketplace flows are listed as a use case, but the source gives no code for them.
- The best practices section ends abruptly in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/stripe-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to stripe-integration
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
stripe-integration: common questions
Does this skill handle Stripe refunds?
Yes. The source includes a create_refund function that supports partial amounts and reasons such as duplicate, fraudulent or requested_by_customer. It also has a handle_dispute function that submits evidence to a dispute.
Does it verify Stripe webhook signatures?
Yes. The main example uses stripe.Webhook.construct_event with the endpoint secret. The source also shows a manual HMAC SHA256 check as an alternative.
Does it cover Stripe Connect?
The source lists building marketplace payment flows with Stripe Connect as a use case. It does not include Connect code examples.
How do I install stripe-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is stripe-integration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is stripe-integration safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to stripe-integration?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
