x402
x402 Protocol v2
Open payment standard enabling clients to pay for external resources over any transport layer (HTTP, MCP, A2A). Protocol version: 2.
Core Concepts
x402 has three architectural layers:
- Types —
PaymentRequirements,PaymentPayload,SettlementResponse,VerifyResponse(transport/scheme-agnostic) - Logic — Payment formation, verification, settlement (scheme+network specific, e.g. exact/EVM)
- Representation — How payment data is transmitted (transport-specific: HTTP headers, JSON-RPC, etc.)
Payment Flow
- Client requests a protected resource
- Server responds with Payment Required +
PaymentRequiredJSON (containsacceptsarray) - Client picks a payment method, signs authorization, sends
PaymentPayload - Server forwards to facilitator → verify → settle → returns resource +
SettlementResponse
More from thegreataxios/agent-skills
arktype
TypeScript type validation with ArkType, ArkEnv, and ArkRegex. Use for schemas, environment variables, and type-safe regex.
10zod
TypeScript-first schema validation with Zod v4. Use for schemas, type inference, validation, transformations, and JSON Schema generation.
9skale-dev
SKALE Network development guidelines for building scalable dApps, smart contracts, and cross-chain solutions (February 2026). Use when building Solidity contracts, integrating SKALE into web/mobile apps, deploying to SKALE chains, or implementing privacy with BITE Protocol.
7bite-dev
BITE Protocol development for encrypted and conditional transactions on SKALE. Use for privacy features, threshold encryption, CTX, and Rock-Paper-Scissors style games.
4skale-docs
Search and reference SKALE documentation. Use when looking up API references, chain configurations, or BITE Protocol details.
3bite
BITE Protocol development for encrypted and conditional transactions on SKALE. Use for privacy features, threshold encryption, CTX, and Rock-Paper-Scissors style games.
1