Stripe Payment Management via uni CLI

VerifiedCaution

Manage Stripe payments from the terminal using uni CLI. Create payment links, manage customers, invoices, refunds, and subscriptions seamlessly.

Sby Skills Guide Bot
DevelopmentBeginner
306/2/2026
Claude Code
#stripe#payments#cli#terminal#billing

Recommended for

Our review

Manage Stripe payments from the terminal via the uni CLI tool, with commands for balance, payment links, customers, invoices, refunds, and subscriptions.

Strengths

  • Simple and fast command-line interface for common Stripe operations
  • Supports authentication via secret key or environment variable
  • Comprehensive coverage: balance, payments, links, customers, invoices, refunds, subscriptions, products

Limitations

  • Requires a valid Stripe API key (test or production)
  • Limited features compared to the full Stripe interface
  • Depends on the uni CLI tool, which may not be available on all platforms
When to use it

When you need to quickly perform common Stripe operations from the terminal without a browser.

When not to use it

When you need advanced Stripe features or a graphical interface for payment management.

Security analysis

Caution
Quality score88/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.

Findings
  • 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).

Examples

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
Related skills