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 with simple commands.

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

Recommended for

Our review

Manage Stripe payments from the terminal using uni CLI, including balance checks, payment links, customers, invoices, refunds, and subscriptions.

Strengths

  • Quick CLI access to Stripe operations
  • Supports many features (payments, customers, invoices, etc.)
  • Simple authentication via API key or command

Limitations

  • Requires a valid Stripe API key
  • Depends on the uni CLI tool
  • Limited to Stripe's API capabilities
When to use it

When you need to quickly perform Stripe operations or automate payment tasks from the terminal.

When not to use it

For complex Stripe integrations requiring custom logic or a full web interface.

Security analysis

Caution
Quality score90/100

The skill uses the uni CLI, a powerful tool for financial operations, and requires a sensitive API key. While the operations are legitimate, misuse by an AI agent could result in financial harm if the key is leaked. The skill itself does not contain malicious code, but the risk level is elevated due to the nature of the tool.

Findings
  • Instructs to set STRIPE_SECRET_KEY, which if exposed could lead to unauthorized financial transactions.
  • No explicit warning about the agent potentially logging or exposing the secret key.

Examples

Check balance
Show my Stripe account balance.
Create payment link
Create a $50 payment link for consulting services.
Refund a payment
Refund payment pi_xxx for the full amount.

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