Skip to content
Back to skills

Stripe Api Integration

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
securityrustbashapisecurity

Works with

  • terminal
  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 12 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill stripe-api-integration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stripe Api Integration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stripe Api Integration
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-stripe-api-integration/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-stripe-api-integration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Stripe API Integration
slug: stripe-api-integration
version: 1.0.2
homepage: https://clawic.com/skills/stripe-api-integration
description: Complete Stripe API integration for payments, subscriptions, checkout, invoices, webhooks, Connect, Issuing, Terminal, and Treasury.
changelog: Use ~/stripe-api-integration/ as config path (matching slug).
metadata: {"clawdbot":{"emoji":"๐Ÿ’ณ","requires":{"env":["STRIPE_SECRET_KEY","STRIPE_WEBHOOK_SECRET"],"config":["~/stripe-api-integration/"]},"primaryEnv":"STRIPE_SECRET_KEY","os":["linux","darwin","win32"]}}
---

# Stripe API Integration

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

## Quick Start

```bash
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

| Topic | File |
|-------|------|
| Setup & memory | `setup.md`, `memory-template.md` |
| Payments, refunds, disputes | `payments.md` |
| Customers, products, prices | `customers.md` |
| Subscriptions, usage billing | `subscriptions.md` |
| Checkout Sessions | `checkout.md` |
| Connect (marketplaces) | `connect.md` |
| Webhooks & events | `webhooks.md` |
| Invoices, quotes, tax | `invoices.md` |
| Issuing, Terminal, Treasury, Identity, Radar | `advanced.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_`)

```bash
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

| Endpoint | Purpose |
|----------|---------|
| `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`

Files in this skill

  • SKILL.md3.3 KB
  • _meta.json301 B
  • advanced.md7.2 KB
  • checkout.md5.5 KB
  • connect.md5.7 KB
  • customers.md2.8 KB
  • invoices.md4.2 KB
  • memory-template.md1.4 KB
  • payments.md3.4 KB
  • setup.md1.2 KB
  • subscriptions.md6.4 KB
  • webhooks.md7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.