Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计提醒

payment-skill支付技巧

Agent Skill

payment-skill 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,710

周安装

231

GitHub Stars

公开资料未说明

下载量

1,793
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:payment-skill(支付技巧)
来源仓库:https://github.com/neversatrabbit/payment-skill
安装命令:
openclaw skills install payment-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install payment-skill

简介

AI 原生支付解决方案,提供安全可靠的在线支付处理能力。

  • 适用于需要嵌入支付功能的 SaaS 产品或移动应用。
  • 支持多种支付方式聚合,降低集成复杂度。payment-skill 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install payment-skill。
  • 必须启用端到端加密与 PCI DSS 合规检查,保障交易安全。

SKILL.md

name
payment_skill
description
AI 原生支付解决方案 - 提供安全、可靠的支付功能
version
1.0.3
author
Payment Institution
license
MIT
tags
skill_type
code
has_server
false
has_install_scripts
true
security_level
high
requires
environment_variables
required
optional
tools
description
创建支付请求,触发用户授权流程
parameters
type
number
description
支付金额,最多2位小数
required
true
example
299.00
type
string
description
ISO 4217 货币代码
required
false
default
CNY
example
CNY
type
string
description
商户唯一标识
required
true
example
taobao_merchant_001
type
string
description
支付描述,用户可见
required
false
example
购买无线鼠标
returns
type
object
properties
success
type
boolean
description
是否成功
transaction_id
type
string
description
交易ID
status
type
string
description
支付状态
amount
type
number
description
支付金额
currency
type
string
description
货币代码
verification_url
type
string
description
验证URL
qr_code
type
string
description
二维码数据
description
查询支付状态
parameters
type
string
description
交易 ID
required
true
example
txn_20260315_001
returns
type
object
properties
success
type
boolean
description
是否成功
transaction_id
type
string
description
交易ID
status
type
string
description
支付状态
amount
type
number
description
支付金额
description
发起退款
parameters
type
string
description
原交易 ID
required
true
example
txn_20260315_001
type
number
description
退款金额(可选,不填则全额退款)
required
false
example
100.00
type
string
description
退款原因
required
false
example
商品质量问题
returns
type
object
properties
success
type
boolean
description
是否成功
refund_id
type
string
description
退款ID
status
type
string
description
退款状态
amount
type
number
description
退款金额

支付 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

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.45%
按下载量换算1,622

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills