Files
SlipItIn/.agents/skills/agent-ready-cloudflare/x402/SKILL.md
Tim Krampitz ffb017568b
Some checks failed
Build / build (push) Successful in 2m0s
OpenWiki Update / update (push) Has been cancelled
Move skills to .agent directory
2026-10-04 22:13:19 +02:00

29 lines
764 B
Markdown

---
name: agent-ready-x402
description: >
Sub-skill de agent-ready-cloudflare: Implement x402 Payment Protocol
---
# Implement x402 Payment Protocol
Support agent-native HTTP payments via the
[x402 protocol](https://x402.org)
([docs](https://docs.x402.org), [GitHub](https://github.com/coinbase/x402)).
## Requirements
- Add x402 payment middleware to your API routes
- Use `@x402/express`, `@x402/hono`, or `@x402/next` middleware
- Configure a facilitator URL and wallet address
- Protected routes return HTTP 402 with payment requirements that agents fulfill automatically
## Validate
```
POST https://isitagentready.com/api/scan
Content-Type: application/json
{"url": "https://YOUR-SITE.com"}
```
Check that `checks.commerce.x402.status` is `"pass"`.