This repository is the umbrella for the X402 middleware family: a framework and set of reference implementations that enable the X402 Payment Protocol across API gateways and web frameworks.
x402-api-middleware is an early-stage project in the AI payments / x402 ecosystem. It currently has 0 GitHub stars and 0 forks.
This repository is the umbrella for the X402 middleware family: a framework and set of reference implementations that enable the X402 Payment Protocol across API gateways and web frameworks.
The project started during the Solana X402 hackathon (https://solana.com/es/x402/hackathon) and the initial, runnable reference adapter was implemented for the Tyk API Gateway. The purpose of this repository is to:
x402-tyk-middleware repository), andX402 is intentionally designed as a reusable middleware framework rather than a single, gateway-specific product. The pieces are split so implementers can:
x402-tyk-middleware (it includes a Docker Compose demo): this is the runnable demo used for the hackathon evaluation.x402-client-sdk examples to create and attach payment proofs to requests.x402-oas-spec for protocol conformance.X-Payment-x402 header returns the protected content (HTTP 200)README.md in x402-tyk-middleware to run the Docker Compose demo locally.x402-client-sdk to exercise the full flow.Contributions are welcome. Please open an issue first describing the intended change, then follow the contribution guidelines in each repository (each adapter and SDK maintains its own CONTRIBUTING.md).
MIT — see the top-level LICENSE in the project root.
Open issues or pull requests in the corresponding repositories. For quick help during the hackathon, check the Tyk middleware README (it includes runnable examples and minimal troubleshooting steps).
Created for the Solana X402 Hackathon
An open SDK for agentic payments. Let AI agents make payments, hold funds, and move money across chains with policy enforcement and human approval built in.
Golang SDK for A2A Protocol
Client SDK for the Vybe x402 API. Pay-per-call USDC over HTTP and prepaid-credit WebSocket streaming for Vybe's Solana analytics API. Built for AI agents.
Rust SDK for the Machine Payments Protocol
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Opinionated React Native crypto x AI chat app boilerplate with embedded wallet support, conversational AI, and dynamic UI component injection