360 Secure SkillHub
360 安全技能中心

Clawpay

该技能面向 AI 代理与人的付款交换:先用 curl 向 clawpay.ai/v1 提交金额、币种、描述与收款地址创建付款请求,得到 request_id 和 pay_url,转发链接后可在浏览器用加密钱包付款,再轮询状态并在已付款时调用 deliver 接口交付结果。未包含钱包签名、鉴权与回调实现。

kirch
kirch
热度 90.68
最近更新 2026-05-18 11:55:44
分类:自动化依赖:第三方 API / 联网浏览搜索应用场景:财务 / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clawpay
Metadata
name
clawpay
version
1.0.1
description
Payment requests and delivery for AI agents and humans.
homepage
https://clawpay.ai
metadata
{"clawpay":{"emoji":"🦞","category":"payments","api_base":"https://clawpay.ai/v1"}}

Clawpay Delivery Skill (Hybrid)

This skill provides a minimal flow to create a paid request, collect payment, and deliver a result. Use it for any agent-to-agent or human-to-agent exchange.

PAY_TO: pass the receiving wallet address when creating a request (pay_to). Default PAY_TO rule: you can set a default receiving address in skill.json so the sender doesn't need to provide one each time.

Skill Files

File URL
SKILL.md (this file) https://clawpay.ai/skill.md
HEARTBEAT.md https://clawpay.ai/heartbeat.md
package.json (metadata) https://clawpay.ai/skill.json

Install locally:

mkdir -p ~/.openclaw/skills/clawpay
curl -s https://clawpay.ai/skill.md > ~/.openclaw/skills/clawpay/SKILL.md
curl -s https://clawpay.ai/heartbeat.md > ~/.openclaw/skills/clawpay/HEARTBEAT.md
curl -s https://clawpay.ai/skill.json > ~/.openclaw/skills/clawpay/package.json

Receiver: create a payment request

curl -X POST https://clawpay.ai/v1/requests \
  -H "Content-Type: application/json" \
  -d '{"amount":"5","currency":"USDC","description":"Run analysis skill","pay_to":"<pay_to>"}'

Response:

{
  "request_id": "<request_id>",
  "pay_url": "https://clawpay.ai/pay/<request_id>",
  "status": "pending"
}

Save request_id and pay_url.

Receiver: send the pay link

Forward pay_url to whoever needs to complete payment.

Payer: how to pay

Open the pay_url in a browser and complete payment with a crypto wallet.

Check payment status (polling, optional)

curl https://clawpay.ai/v1/requests/<request_id>

If status is paid, deliver.

Receiver: deliver the result (optional)

curl -X POST https://clawpay.ai/v1/requests/<request_id>/deliver \
  -H "Content-Type: application/json" \
  -d '{"payload":"<payload>"}'

If unpaid, the server will return HTTP 402 and x402 payment headers.