stripe
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseStripe Skill
Stripe Skill
Overview
概述
Enables Claude to access Stripe dashboard to view payment activity, check balances, monitor transaction success rates, and review payout schedules for business payment processing.
让Claude能够访问Stripe仪表盘,查看支付活动、查询账户余额、监控交易成功率,并查看用于业务支付处理的付款计划。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/stripe/install.sh | bashOr manually:
bash
cp -r skills/stripe ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/stripe/install.sh | bash或者手动安装:
bash
cp -r skills/stripe ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set STRIPE_EMAIL "your-email@example.com"
undefinedcanifi-env set STRIPE_EMAIL "your-email@example.com"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
您的凭证,由您掌控。Canifi LifeOS尊重您的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭证:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用您的已认证会话,且全程不会获取您的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果您愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭证仅能在您的本地设备上访问,绝不会被传输至其他地方。
Capabilities
功能
- View account balance and pending amounts
- Check recent payment activity
- Monitor payment success rates
- Review payout schedule and history
- View customer payment issues
- Check subscription metrics
- 查看账户余额及待处理金额
- 查看近期支付活动
- 监控支付成功率
- 查看付款计划及历史记录
- 查看客户支付问题
- 查看订阅指标
Usage Examples
使用示例
Example 1: Check Dashboard Overview
示例1:查看仪表盘概览
User: "How's my Stripe account doing?"
Claude: I'll check your Stripe dashboard.
- Opens dashboard.stripe.com via Playwright MCP
- Logs into account
- Returns: Account Overview
- Available balance: $4,567.89
- Pending balance: $1,234.56
- Today's volume: $2,345.67 (45 payments)
- This month: $34,567.89 gross
- Next payout: $4,567.89 on Jan 8用户:"我的Stripe账户情况如何?"
Claude:我将为您查看Stripe仪表盘。
- 通过Playwright MCP打开dashboard.stripe.com
- 登录账户
- 返回:账户概览
- 可用余额:$4,567.89
- 待处理余额:$1,234.56
- 今日交易量:$2,345.67(45笔支付)
- 本月总交易额:$34,567.89
- 下一笔付款:1月8日,金额$4,567.89Example 2: Check Payment Issues
示例2:查看支付问题
User: "Any failed payments I should know about?"
Claude: I'll review payment issues.
- Navigates to payments section
- Failed payments (last 7 days): 12
- Failure reasons:
- Card declined: 7 (insufficient funds)
- Expired card: 3
- Invalid CVC: 2
- Success rate: 96.2%
- Suggests: Consider retry logic for declined cards用户:"有没有我需要了解的失败支付?"
Claude:我将为您查看支付问题。
- 导航至支付板块
- 失败支付(过去7天):12笔
- 失败原因:
- 卡片被拒:7笔(余额不足)
- 卡片过期:3笔
- CVC无效:2笔
- 成功率:96.2%
- 建议:考虑为被拒卡片添加重试逻辑Example 3: View Payout History
示例3:查看付款历史
User: "When was my last Stripe payout?"
Claude: I'll check your payout history.
- Navigates to payouts section
- Recent payouts:
- Jan 5: $5,678.90 → Bank ****1234
- Jan 3: $4,321.00 → Bank ****1234
- Jan 1: $6,543.21 → Bank ****1234
- Payout schedule: Daily (2-day rolling)
- Next scheduled: $4,567.89 on Jan 8用户:"我上一次Stripe付款是什么时候?"
Claude:我将为您查看付款历史。
- 导航至付款板块
- 近期付款:
- 1月5日:$5,678.90 → 银行卡 ****1234
- 1月3日:$4,321.00 → 银行卡 ****1234
- 1月1日:$6,543.21 → 银行卡 ****1234
- 付款计划:每日(滚动2天)
- 下一笔计划付款:1月8日,金额$4,567.89Authentication Flow
认证流程
- Navigate to dashboard.stripe.com via Playwright MCP
- Enter email address
- Enter password
- Handle 2FA via authenticator or SMS
- Select correct account if multiple
- Maintain session for dashboard access
- 通过Playwright MCP导航至dashboard.stripe.com
- 输入电子邮箱地址
- 输入密码
- 通过验证器或短信处理双因素认证(2FA)
- 若有多个账户,选择正确的账户
- 维持会话以访问仪表盘
Error Handling
错误处理
- Login Failed: Retry, check for account restrictions
- 2FA Required: Complete authenticator verification
- Access Denied: Check team permissions
- Session Expired: Re-authenticate (security)
- Rate Limited: Wait 60 seconds, retry
- Test Mode: Note if viewing test vs live data
- 登录失败:重试,检查账户是否受限
- 需要2FA:完成验证器验证
- 访问被拒绝:检查团队权限
- 会话过期:重新认证(出于安全考虑)
- 速率限制:等待60秒后重试
- 测试模式:注意当前查看的是测试数据还是实时数据
Self-Improvement Instructions
自我改进说明
After each interaction:
- Track payment volume patterns
- Note common failure reasons
- Log payout timing accuracy
- Document UI changes
Suggest updates when:
- Stripe updates dashboard
- New features added
- API changes affect data
- Payment methods expand
每次交互后:
- 追踪支付量模式
- 记录常见失败原因
- 记录付款时间准确性
- 记录UI变更
在以下情况时建议更新:
- Stripe更新仪表盘
- 添加新功能
- API变更影响数据
- 支付方式扩展
Notes
注意事项
- Claude CANNOT process payments or refunds
- All access is read-only for security
- Test and Live mode have separate data
- Stripe Radar monitors fraud
- Tax reporting available
- Multi-currency support
- Connect for marketplaces (if applicable)
- Claude无法处理支付或退款
- 所有访问均为只读模式,保障安全
- 测试模式与实时模式的数据相互独立
- Stripe Radar监控欺诈行为
- 支持税务报告
- 支持多币种
- 支持Connect平台(如适用)