Native Stripe
v1.0.1查询 and manage Stripe data via the Stripe API. Use when you need to 列出 charges, customers, invoices, subscriptions, payment intents, refunds, products, or prices. Supports 过滤器ing, pagination, and creating/updating customers and refunds. Calls API.stripe.com directly with no third-party proxy.
运行时依赖
安装命令
点击复制技能文档
Stripe
Interact with your Stripe account directly via the Stripe API (API.stripe.com).
设置up (one-time) 获取 your secret key from https://仪表盘.stripe.com/APIkeys 设置 环境 variable: STRIPE_SECRET_KEY=sk_live_...
Use sk_test_... for test mode. Queries 列出 recent charges python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py charges --limit 10
列出 customers python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py customers --limit 20
搜索 customers by emAIl python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py customers --emAIl user@example.com
列出 subscriptions python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py subscriptions --limit 20
列出 active subscriptions python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py subscriptions --状态 active --limit 20
列出 invoices python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py invoices --limit 20
列出 payment intents python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py payment_intents --limit 20
列出 products python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py products --limit 20
列出 prices python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py prices --limit 20
列出 refunds python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py refunds --limit 20
获取 a specific object python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py 获取 charges ch_abc123 python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py 获取 customers cus_abc123 python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py 获取 subscriptions sub_abc123
创建 a refund python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py 创建 refunds --charge ch_abc123 python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py 创建 refunds --charge ch_abc123 --amount 1000
更新 a customer python3 /mnt/技能s/user/stripe/scripts/stripe_查询.py 更新 customers cus_abc123 --emAIl new@example.com --name "New Name"
输出
格式化ted table for 列出s, 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