← 返回
未分类 Key

Payment Skill

AI 原生支付解决方案 - 提供安全、可靠的支付功能
AI 原生支付解决方案 - 提供安全、可靠的支付功能
neversatrabbit neversatrabbit 来源
未分类 clawhub v1.0.3 1 版本 100000 Key: 需要
★ 0
Stars
📥 629
下载
💾 0
安装
1
版本
#latest

概述

支付 Skill

AI 原生支付解决方案,提供安全、可靠的支付功能。

工具调用方式

AI 通过执行 skill_cli.py 脚本来调用工具:

python skill_cli.py <tool_name> --param1=value1 --param2=value2

示例

# 创建支付
python skill_cli.py create_payment --amount=299.00 --currency=CNY --merchant_id=taobao_001 --description="购买商品"

# 查询支付
python skill_cli.py query_payment --transaction_id=txn_001

# 发起退款
python skill_cli.py refund_payment --transaction_id=txn_001 --amount=100.00 --reason="质量问题"

返回格式:所有工具都返回 JSON 格式的结果

{
  "success": true,
  "data": { ... }
}

快速开始

1. 安装依赖

# Linux/macOS
./scripts/setup.sh

# Windows
scripts\setup.bat

2. 配置环境变量

必需

export PAYMENT_API_KEY=your_api_key
export PAYMENT_API_SECRET=your_api_secret

可选

export PAYMENT_API_URL=https://api.zlclaw.com

3. 使用示例

# 创建支付
python skill_cli.py create_payment --amount=299.00 --currency=CNY --merchant_id=taobao_001

# 查询支付
python skill_cli.py query_payment --transaction_id=txn_001

# 发起退款
python skill_cli.py refund_payment --transaction_id=txn_001 --amount=100.00

核心功能

  • create_payment: 创建支付请求
  • query_payment: 查询支付状态
  • refund_payment: 发起退款

安全特性

  • TLS 加密通信
  • HMAC-SHA256 签名
  • 参数验证
  • 审计日志

技术要求

  • Python 3.6+
  • 网络访问权限
  • 环境变量配置

支持

  • 📧 技术支持: dev@zlclaw.com
  • 🐛 问题报告: https://github.com/zlclaw/payment-skill/issues

版本: 1.0.3 | 许可证: MIT

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-02 16:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Payment Skill Demo

neversatrabbit
AI 原生支付解决方案 - 提供安全、可靠的支付功能
★ 0 📥 662
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 678 📥 327,598
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,902