Skip to content
Back to skills

1032 Stripe Sdks 2e929ac8

BSecurity

Server-side SDKs for secure Stripe API integration.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
developmentjavascriptpythongojavarubyphpswiftkotlinreactnode

Works with

  • cli
  • api

Security analysis

B84/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1032-stripe-sdks_2e929ac8 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1032 Stripe Sdks 2e929ac8?

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

Security grade badge for 1032 Stripe Sdks 2e929ac8
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1032-stripe-sdks-2e929ac8/badge)](https://www.skillsdirectory.com/skills/tools-only-1032-stripe-sdks-2e929ac8)

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

SKILL.md
# Stripe SDKs Reference

Server-side SDKs for secure Stripe API integration.

## Supported Languages

| Language | Package | Install |
|----------|---------|---------|
| Node.js | `stripe` | `npm install stripe` |
| Python | `stripe` | `pip install stripe` |
| Ruby | `stripe` | `gem install stripe` |
| Go | `stripe-go` | `go get github.com/stripe/stripe-go/v76` |
| PHP | `stripe/stripe-php` | `composer require stripe/stripe-php` |
| Java | `com.stripe:stripe-java` | Maven/Gradle |
| .NET | `Stripe.net` | `dotnet add package Stripe.net` |

## Quick Start (Node.js)

```javascript
const stripe = require('stripe')('sk_test_...');

// Create checkout session
const session = await stripe.checkout.sessions.create({
  mode: 'payment',
  line_items: [{ price: 'price_xxx', quantity: 1 }],
  success_url: 'https://example.com/success',
  cancel_url: 'https://example.com/cancel',
});
```

## Quick Start (Python)

```python
import stripe
stripe.api_key = 'sk_test_...'

session = stripe.checkout.Session.create(
    mode='payment',
    line_items=[{'price': 'price_xxx', 'quantity': 1}],
    success_url='https://example.com/success',
    cancel_url='https://example.com/cancel',
)
```

## API Versioning

- SDKs follow semantic versioning
- Breaking API changes bump major version
- Set version: `stripe.apiVersion = '2024-12-18.acacia'`
- Dashboard: Developers → API version

## Best Practices

1. **Keep SDKs updated** - Security patches, new features
2. **Use test keys** for development (`sk_test_...`)
3. **Set API version explicitly** for stability
4. **Handle errors** with try/catch
5. **Use idempotency keys** for POST requests

## Error Handling

```javascript
try {
  await stripe.charges.create({...});
} catch (err) {
  if (err.type === 'StripeCardError') {
    // Card declined
  } else if (err.type === 'StripeInvalidRequestError') {
    // Invalid parameters
  }
}
```

## Mobile SDKs

- **iOS**: `stripe-ios` (Swift/ObjC)
- **Android**: `stripe-android` (Kotlin/Java)
- **React Native**: `@stripe/stripe-react-native`

## Resources

- Full docs: https://docs.stripe.com/sdks
- API Reference: https://docs.stripe.com/api
- Community SDKs: https://docs.stripe.com/sdks#community-sdks

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.

Comments

Loading comments…

Newsletter

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