Stripe API Integration

Complete Stripe API integration for payments, subscriptions, checkout, invoices, webhooks, Connect, Issuing, Terminal, and Treasury.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Stripe API Integration" with this command: npx skills add ivangdavila/stripe-api-integration

Stripe API Integration

Complete Stripe API reference. See auxiliary files for detailed operations.

Quick Start

curl https://api.stripe.com/v1/balance -u "$STRIPE_SECRET_KEY:"

Setup

On first use, read setup.md. Preferences stored in ~/stripe-api-integration/memory.md.

When to Use

Any Stripe operation: payments, subscriptions, invoices, checkout, webhooks, Connect, Issuing, Terminal, Treasury.

Architecture

~/stripe-api-integration/
├── memory.md      # Account context
└── webhooks.md    # Webhook configs

Quick Reference

TopicFile
Setup & memorysetup.md, memory-template.md
Payments, refunds, disputespayments.md
Customers, products, pricescustomers.md
Subscriptions, usage billingsubscriptions.md
Checkout Sessionscheckout.md
Connect (marketplaces)connect.md
Webhooks & eventswebhooks.md
Invoices, quotes, taxinvoices.md
Issuing, Terminal, Treasury, Identity, Radaradvanced.md

Core Rules

  1. Test mode first — Use sk_test_* keys. Test card: 4242424242424242
  2. Amounts in cents — $10.00 = 1000
  3. Idempotency keys — Prevent duplicate charges
  4. Webhooks required — Never trust API response alone
  5. Expand objects — Use ?expand[]=customer for related data
  6. Pagination — Use starting_after for large lists
  7. Error handling — See payments.md for error codes

Authentication

Required environment variables:

  • STRIPE_SECRET_KEY — API key for all Stripe operations (starts with sk_test_ or sk_live_)
  • STRIPE_WEBHOOK_SECRET — Signing secret for webhook verification (starts with whsec_)
curl https://api.stripe.com/v1/customers -u "$STRIPE_SECRET_KEY:"

Common Traps

  • Amount in dollars not cents → 100x wrong charge
  • No idempotency key → duplicate charges
  • Skip webhook verification → accept fake events
  • Ignore requires_action → 3DS stuck

External Endpoints

EndpointPurpose
https://api.stripe.com/v1/*API

Security & Privacy

Environment variables used:

  • STRIPE_SECRET_KEY — for API authentication
  • STRIPE_WEBHOOK_SECRET — for webhook signature verification

Sent to Stripe: Customer info, payment data via api.stripe.com Stays local: API keys (never logged), ~/stripe-api-integration/ preferences Never: Log card numbers, skip webhook verification, expose keys

Trust

This skill sends data to Stripe (stripe.com).

Related Skills

Install with clawhub install <slug> if user confirms:

  • api — REST API patterns
  • saas — SaaS metrics
  • webhook — Webhook patterns

Feedback

  • If useful: clawhub star stripe-api-integration
  • Stay updated: clawhub sync

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Workout Readiness Check In

Create a same-day workout readiness decision card for users who planned to exercise today but feel tired, sore, stressed, underslept, ill, or uncertain. Use...

Registry SourceRecently Updated
General

URL to Markdown

Convert HTML web pages from HTTP/HTTPS URLs to clean, readable Markdown files with optional batch processing and formatting features.

Registry SourceRecently Updated
General

Appliance Manual Command Card

Assist in creating a one-page appliance command card for tracking maintenance, troubleshooting, warranty info, and repair preparation.

Registry SourceRecently Updated
General

Fireseed Writing Expert

全能小说写作专家,支持从零创作、DNA提取与克隆、风格仿写、一键发布到 fireseed.online。用户可以用自然语言描述需求,系统自动调度子技能完成科学、闭环的写作与发布流程。

Registry SourceRecently Updated