The payment layer for your API.

x402 middleware for any API. Open, credentialed, or agent-gated. Payments settle on XRPL in seconds. XRP, RLUSD, or MPT. VAT-ready, ISO 20022 export included.

terminal
$npm install @hliosone/ed4l02-x402

Install the middleware, then wire the one-line x402 integration.

One line. Millions of customers.

Any API endpoint becomes payable by AI agents, wallets, or humans. No bank. No OAuth.

app.get("/api/data", xrpl402Express({ payTo: "r…", amount: "1000000" }), handler)

Open-source middleware

Any API. Any framework. One line.

Drop the middleware into Express, Next.js, Hono, or Cloudflare Workers. Your route is paid. No API keys, no subscriptions, no bank account required.

app.get("/api/data", xrpl402Express({ payTo: "r…", amount: "1000000" }), handler)
ExpressNext.jsHonoCF Workers

Multi-asset

XRP, RLUSD, or MPT.

XRPNative drops, instant
RLUSDStablecoin IOU
MPTXLS-33 token

Access modes

Open, gated, or domain-restricted.

Open

Any wallet, pay and go

XLS-70 gate

AND logic — sender must hold all credentials

XLS-80 domain

OR logic — membership via PermissionedDomain

AI agent delegation

Agents pay on behalf of humans.

An AI agent holding EDEL_AGENT accesses KYC-gated routes by delegation. The facilitator traces it to the human's verified identity. No credentials shared, no private keys exposed.