Gestion des paiements Stripe via uni CLI

VérifiéPrudence

Gérez les paiements Stripe directement depuis le terminal avec uni CLI. Créez des liens de paiement, gérez les clients, les factures, les remboursements et les abonnements.

Spar Skills Guide Bot
DeveloppementDébutant
2002/06/2026
Claude Code
#stripe#payments#cli#terminal#billing

Recommandé pour

Notre avis

Gère les paiements Stripe depuis le terminal via l'outil CLI uni, avec des commandes pour la balance, les liens de paiement, les clients, les factures, les remboursements et les abonnements.

Points forts

  • Interface en ligne de commande simple et rapide pour les opérations Stripe courantes
  • Prise en charge de l'authentification via clé secrète ou variable d'environnement
  • Couverture complète : balance, paiements, liens, clients, factures, remboursements, abonnements, produits

Limites

  • Nécessite une clé API Stripe valide (test ou production)
  • Fonctionnalités limitées par rapport à l'interface Stripe complète
  • Dépend de l'outil uni CLI, non disponible sur toutes les plateformes
Quand l'utiliser

Lorsque vous devez effectuer rapidement des opérations Stripe courantes depuis le terminal sans navigateur.

Quand l'éviter

Lorsque vous avez besoin de fonctionnalités avancées de Stripe ou d'une interface graphique pour la gestion des paiements.

Analyse de sécurité

Prudence
Score qualité88/100

The skill manages Stripe payments, which involves financial operations and requires API key handling. While the commands themselves are benign, misuse could lead to unintended charges or key exposure. The allowed tools restrict to uni CLI, limiting arbitrary bash execution. No destructive or exfiltrating instructions are present. Rating 'caution' due to financial sensitivity.

Points d'attention
  • Handles Stripe API keys that grant financial operations; keys could be exposed in command history or logs.
  • Commands like refunds and payment link creation could cause financial loss if misused.
  • No input validation warnings (e.g., ensuring test keys are used for non-production operations).

Exemples

Check Stripe balance
Check my Stripe account balance.
Create payment link for $50
Create a Stripe payment link for $50 with description 'Consulting'.
List customers and create new one
List my Stripe customers and create a new customer named 'John Doe' with email john@example.com.

name: uni-stripe description: | Stripe payments via uni CLI. Use when user wants to check balance, create payment links, manage customers, invoices, refunds, or subscriptions. Requires STRIPE_SECRET_KEY or run 'uni stripe auth'. allowed-tools: Bash(uni:), Bash(~/.local/bin/uni:)

Stripe (uni)

Manage Stripe payments from the terminal. Requires API key setup.

Authentication

uni stripe auth sk_test_xxx       # Set API key directly
uni stripe auth --status          # Check configuration
uni stripe auth --logout          # Remove credentials

# Or use environment variable
export STRIPE_SECRET_KEY="sk_test_xxx"

Get keys from: https://dashboard.stripe.com/apikeys

Balance

uni stripe balance                # Check account balance
uni stripe bal                    # Alias

Payments

uni stripe payments               # List recent payments
uni stripe payments -n 20         # More payments
uni stripe payments pi_xxx        # View specific payment

Payment Links

uni stripe link 50                # Create $50 payment link
uni stripe link 99.99 -d "Consulting"  # With description
uni stripe link 100 -c eur        # Different currency
uni stripe link --list            # List existing links

Customers

uni stripe customers              # List customers
uni stripe customers john@example.com -n "John Doe"  # Create
uni stripe customers cus_xxx      # View specific customer

Invoices

uni stripe invoices                              # List invoices
uni stripe invoices create --customer cus_xxx -a 100 -d "Service"
uni stripe invoices send in_xxx                  # Send invoice

Refunds

uni stripe refunds                # List refunds
uni stripe refunds pi_xxx         # Refund a payment
uni stripe refunds pi_xxx -a 25   # Partial refund ($25)
uni stripe refunds pi_xxx -r requested_by_customer

Subscriptions

uni stripe subs                   # List subscriptions
uni stripe subs sub_xxx           # View subscription
uni stripe subs cancel sub_xxx    # Cancel subscription

Products

uni stripe products               # List products
uni stripe products --prices      # With pricing info
uni stripe products "Pro Plan" -d "Full access"  # Create product

Notes

  • Use sk_test_... for testing, sk_live_... for production
  • All amounts are in the smallest currency unit (cents for USD)
  • IDs shown in output [xxx] can be used in subsequent commands
  • Test mode is clearly indicated in output
Skills similaires