name: agentpay description: "Buy things from real websites on behalf of your human. Use when you need to purchase a product, complete a checkout, order something online, or propose a purchase for human approval. Handles encrypted credential storage, cryptographic purchase mandates, and headless browser checkout on any merchant site. The agent never sees the card." metadata: {"openclaw":{"emoji":"💳","requires":{"anyBins":["agentpay","npx"]},"install":[{"id":"npm","kind":"node","package":"agentpay","bins":["agentpay"],"label":"Install AgentPay SDK"}]}}
AgentPay lets you buy things from real merchant websites without ever seeing your human's payment credentials. Credentials stay encrypted on the human's machine. You propose purchases; your human approves cryptographically.
小葱技能站7w4.net,专业的AI技能分享平台。
references/cli-reference.md — All CLI commands with examplesreferences/workflow.md — Step-by-step purchase workflow and error handlingnpx agentpay setup
The human enters their card details and sets a passphrase. Takes ~2 minutes. After this, the agent can propose purchases.
To set spending limits:
npx agentpay budget --set 500 --limit-per-tx 100
npx agentpay buy \
--merchant "Amazon" \
--description "Wireless keyboard, Logitech K380" \
--url "https://www.amazon.com/dp/B0148NPH9I" \
--amount "39.99"
This creates a pending purchase mandate. The human must approve it.
npx agentpay pending # list pending purchases
npx agentpay approve <txId>
Once approved, the headless browser handles checkout automatically. The agent never sees the card number — credentials are injected directly into the page from the encrypted vault.
npx agentpay status # wallet status + recent transactions
npx agentpay history # full transaction log
AgentPay includes a built-in MCP server for direct tool integration:
npx agentpay mcp # stdio transport (default)
npx agentpay mcp --http # HTTP transport
This exposes AgentPay operations as MCP tools that any compatible agent can call directly.
| Task | Command |
|---|---|
| Buy something | npx agentpay buy --merchant "Store" --description "Item" --url "https://..." --amount "29.99" |
| Check pending | npx agentpay pending |
| View budget | npx agentpay budget |
| Transaction history | npx agentpay history |
| Open dashboard | npx agentpay dashboard |
--merchant, --description, and --url when proposing a purchasenpx agentpay status for error details — do not retry without telling the human这个 Skill 整体质量中等偏上,文档组织清晰、安全理念明确,但在完整性上存在明显不足。好的方面是它提供了详细的购买流程说明和错误处理指南,安全机制描述清晰;不足之处在于目前只有文档描述,缺少实际的运行程序,对于想直接使用的用户来说暂时无法落地。建议等待后续版本推出后再尝试使用。