用途:该技能用于集成 Stripe 完成支付处理,适用于管理客户与付款、创建发票与订阅,以及自动化计费工作流。
主要能力:根据资料,技能接收 JSON 输入,包含 customer_email(客户邮箱)、customer_name(客户全名)、payment_amount(以分为单位的金额,如 5000 表示 50.00 美元)、currency(货币代码,如 usd、eur、gbp)和 invoice_description(发票描述)。执行后返回 API 响应,格式为 JSON 支付数据,包含支付 ID 与状态,并确认支付是否处理成功。
使用方式:按 Pattern C(Action)执行。第一步运行技能并获取 Run ID: RESULT=$(refly skill run --id skpi-tunc82wqp4miz5uo8bqes7ls --input '{ "amount": "2000", "currency": "usd", "customer_email": "customer@example.com" }') RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id') 第二步在浏览器打开工作流并等待完成: open "https://refly.ai/workflow/c-ng1d926qh9pder6anqky106c" refly workflow status "$RUN_ID" --watch --interval 30000 第三步确认操作状态: STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status') echo "Action completed with status: $STATUS"
规则:遵循基础技能工作流 ~/.claude/skills/refly/SKILL.md。
限制:资料未提供具体收费、价格、支持平台、错误处理细节或速率限制等信息。