Sub-second, gasless settlement
USDC payments finalize on SUI in under a second, inside the request. Transfers are gasless, so callers never need to hold SUI.
BlockPay is payment infrastructure for software that pays. Put a price on any HTTP endpoint and let agents, machines and people pay per call in USDC — verified before your handler runs and settled on SUI before your response goes out.
Deepbook
Cetus
Haedal
Navi
Ferra
7K
Bluefin
SuiLend
x402 turns Payment Required into a working handshake. Your API quotes a price, the caller signs exactly that amount, and the payment finalizes on SUI — all inside one HTTP round trip. No redirects, no hosted checkout, no webhook to wait on.
Price, asset, network and recipient travel in the 402. Callers know the exact cost before they sign anything.
The caller signs the exact transfer it was quoted. The facilitator can broadcast it, never change it. No stored cards, no standing mandates, no chargebacks.
Every payment ends as a balance change on SUI that anyone can verify. The receipt is the transaction digest.
No hosted pages, billing cycles or customer records. BlockPay is a set of primitives that sit in the request path, do one job, and stay out of the way.
USDC payments finalize on SUI in under a second, inside the request. Transfers are gasless, so callers never need to hold SUI.
Charge $0.0001 per call through payment channels: one deposit, then signed vouchers that verify in milliseconds and settle on SUI in batches.
Funds move only on a payment the client signed, straight to your address. The facilitator verifies and broadcasts — it can never redirect money or move more than was authorized.
Wrap any HTTP route with a price. Express, Next.js, Hono or any Fetch runtime. Your callers need no accounts, API keys or sessions.
SUI executes independent payments in parallel, so throughput grows with your traffic instead of queuing for block space.
Callers pay exactly the quoted price; gas is gasless or sponsored. You pay a flat fee per payment from prepaid credit — no percentages, no surprises.
Declare a price per route. BlockPay answers unpaid requests with a 402 quote, verifies the signed retry, runs your handler, and settles on SUI before the response goes out. If your handler fails, nobody pays.
import { paymentMiddleware } from "@blockpay402/express"; // Unpaid requests get a 402 quote. Paid ones reach your handler. app.use( paymentMiddleware({ facilitator: { url: FACILITATOR_URL, apiKey: API_KEY }, network: "sui:mainnet", payTo: "0x9c4e…a71f", routes: { "GET /api/data": { price: "$0.01", description: "Real-time market data", }, }, }) ); app.get("/api/data", (req, res) => { // Runs after the payment is verified. res.json(getMarketData()); });
GET /api/data HTTP/1.1 HTTP/1.1 402 Payment Required PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6Miwi… { "x402Version": 2, "accepts": [{ "scheme": "exact", "network": "sui:mainnet", "amount": "10000", "asset": "0xdba3…::usdc::USDC", "payTo": "0x9c4e…a71f", "extra": { "gasless": true } }] } GET /api/data HTTP/1.1 PAYMENT-SIGNATURE: eyJ4NDAyVmVyc2lvbiI6Miwi… HTTP/1.1 200 OK PAYMENT-RESPONSE: eyJzdWNjZXNzIjp0cnVlLCJ0cmFuc2FjdGlvbiI6…
Agents, bots, devices and browsers that need to pay for one thing, right now, and move on. If it speaks HTTP, it can pay per request.
Agents purchase inference, data and compute per request — authorized by a signature, not an API key a human had to provision. Every call carries its own payment and its own receipt.
Agents choose counterparts by verifiable on-chain reputation and pay on task completion. No human in the loop, no invoice in between.
Trading bots buy signals, research and execution from other services and settle on the spot, without a sales call or a contract.
Sensors and edge nodes pay for bandwidth, compute and data feeds in real time, with no billing account behind them.
Replace pricing tiers and API keys with a price per request. Callers pay for exactly what they use, starting with the first call.
Charge per article, video or download. Readers pay fractions of a cent from a wallet — no account, no subscription wall.
AI crawlers pay per page or per query. Publishers earn from the data they already serve, without negotiating licenses.
Point your middleware at the BlockPay facilitator and manage everything you earn from one dashboard. Or run the open-source facilitator yourself — same payment flows, your infrastructure.
Sign in with the Sui wallet you get paid to. No email, no password.
Verifies payments, sponsors gas so callers pay exactly your price, and redeems channel vouchers in batches. Your servers authenticate with an API key from the dashboard.
https://facilitator.blockpay.gg
One middleware and a SUI address. Follow the quickstart and have a paid route answering 402s today.
Dedicated onboarding, custom integration support and priority SLAs for merchants and platforms.