Native Stripe

Query and manage Stripe data via the Stripe API. Use when you need to list charges, customers, invoices, subscriptions, payment intents, refunds, products, o...

codeninja23

@codeninja23

What This Skill Does

Command-line interface for querying and managing Stripe data via the Stripe API. Supports listing, filtering, pagination, and creating/updating customers and refunds across charges, customers, invoices, subscriptions, payment intents, refunds, products, and prices.

Replaces manual Stripe dashboard lookups and custom API integrations by providing a single CLI to read and write Stripe resources directly.

When to Use It

  • List recent charges to audit payment activity
  • Search for a customer by email address
  • Retrieve all active subscriptions for a billing review
  • Create a refund for a specific charge
  • Update a customer's email or name
  • Export a list of invoices for accounting reconciliation

Install

$ openclaw skills install @codeninja23/native-stripe

Stripe

Interact with your Stripe account directly via the Stripe API (api.stripe.com).

Setup (one-time)

  1. Get your secret key from https://dashboard.stripe.com/apikeys
  2. Set environment variable:
    STRIPE_SECRET_KEY=sk_live_...
    
    Use sk_test_... for test mode.

Queries

List recent charges

python3 /mnt/skills/user/stripe/scripts/stripe_query.py charges --limit 10

List customers

python3 /mnt/skills/user/stripe/scripts/stripe_query.py customers --limit 20

Search customers by email

python3 /mnt/skills/user/stripe/scripts/stripe_query.py customers --email user@example.com

List subscriptions

python3 /mnt/skills/user/stripe/scripts/stripe_query.py subscriptions --limit 20

List active subscriptions

python3 /mnt/skills/user/stripe/scripts/stripe_query.py subscriptions --status active --limit 20

List invoices

python3 /mnt/skills/user/stripe/scripts/stripe_query.py invoices --limit 20

List payment intents

python3 /mnt/skills/user/stripe/scripts/stripe_query.py payment_intents --limit 20

List products

python3 /mnt/skills/user/stripe/scripts/stripe_query.py products --limit 20

List prices

python3 /mnt/skills/user/stripe/scripts/stripe_query.py prices --limit 20

List refunds

python3 /mnt/skills/user/stripe/scripts/stripe_query.py refunds --limit 20

Get a specific object

python3 /mnt/skills/user/stripe/scripts/stripe_query.py get charges ch_abc123
python3 /mnt/skills/user/stripe/scripts/stripe_query.py get customers cus_abc123
python3 /mnt/skills/user/stripe/scripts/stripe_query.py get subscriptions sub_abc123

Create a refund

python3 /mnt/skills/user/stripe/scripts/stripe_query.py create refunds --charge ch_abc123
python3 /mnt/skills/user/stripe/scripts/stripe_query.py create refunds --charge ch_abc123 --amount 1000

Update a customer

python3 /mnt/skills/user/stripe/scripts/stripe_query.py update customers cus_abc123 --email new@example.com --name "New Name"

Output

Formatted table for lists, JSON for single objects. Use --json flag for raw JSON on any command.

Resources

  • charges, customers, invoices, subscriptions, payment_intents, refunds, products, prices, balance_transactions

Top skills in this category

Stock Analysis

@udiedrichsen

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.

25758k

Stock Market Pro

@kys42

Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...

15532k

A股量化 AkShare

@mbpz

A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。

10131k

Stock Watcher

@robin797860

Manage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using data from 10jqka.com.cn. Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.

8736k

Intelligent Stocks Screener

@financial-ai-analyst

基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...

10626k