Skip to main content
You need an x402 facilitator. The spec is open, the protocol is simple, and building one looks tractable. This page maps out what a production-grade facilitator actually requires and where that effort goes, so you can make the call with the full picture.

What an x402 facilitator does

At minimum, an x402 facilitator:
  1. Responds to 402 Payment Required with a payment challenge
  2. Watches the chain for the matching settlement transaction
  3. Applies that chain’s finality rules to confirm the payment is real and final
  4. Returns a signed proof the payer can present as a receipt
That is the happy path on one chain. Production adds most of the complexity.

Where build effort compounds

Multi-chain finality

Each chain has a distinct finality model. Base counts confirmations on an EVM L2 with a sequencer; Algorand has instant finality; Solana uses slot commitments; Hedera mirrors are eventually consistent with the network; Stellar uses Horizon’s ledger close. A generic “wait N blocks” check either overpays in latency or accepts payments that still revert. Each chain also has its own RPC interface, authentication model, rate limits, and pagination. A seven-chain facilitator is seven separate integrations that each need ongoing maintenance as node APIs evolve.

Matching correctness

A payment intent must match on exact recipient, asset, and amount. An underpayment that is accepted at the wrong amount, a payment to a slightly different address, or a transfer in the wrong asset are all bugs that real payers will hit. The matching logic has to be airtight across all chains, including chains with unusual asset representations (Algorand ASAs, Hedera HTS tokens, Solana SPL with associated token accounts, Stellar trustlines).

Receipts that verify

A receipt that only your own server can verify is an audit liability. A receipt that a regulator, counterparty, or compliance team can verify offline against a public key is a different product. Getting there requires a canonical serialisation (so the signed bytes are identical across implementations), a signing scheme, key management, and a verifier anyone can run. If you are in a regulated context or want the receipt to serve as evidence in a dispute, the receipt format needs to be designed from the start with offline verifiability in mind. Retrofitting it later means invalidating all prior receipts.

The other three protocols

If you also need AP2 (W3C Payment Request + CartMandate), A2A (Agent2Agent payment tasks with AgentCard signing), or MPP (recurring x402 subscriptions), each is a separate surface to implement and keep aligned with evolving specs. They all share the same finality and receipt problem, but each adds its own negotiation flow, binding requirements, and edge cases.

Multi-tenancy and the operator surface

A facilitator you want to sell or run for multiple clients needs tenant isolation, a signup and onboarding flow, an operator panel to inspect and manage intents, key management per tenant, and a payout path if you want to support outbound settlements. Each of these is a separate product decision and implementation surface.

Compliance and audit trail

The settlement proof exists. Connecting it to a compliance posture, sanctions screening, retention chain, and an audit pack a regulator can read is an additional layer. The receipt needs to carry the right fields, serialised correctly, and exportable in a format that does not expire with your service.

Rough build estimate

A minimal one-chain x402 facilitator with basic receipt signing: 2 to 4 weeks for an experienced backend engineer. Adding the four agentic protocols, correct multi-chain finality across seven chains, offline-verifiable post-quantum receipts, multi-tenancy, and an operator panel: 6 to 12 months. This is not because any single piece is especially hard. It is because there are a lot of pieces, and correctness matters in every one of them.

What the self-hosted bundle gives you

The AlgoVoi payment rails bundle is the built version of the above, shipped as a single encrypted .algv that installs from one command: The bundle is self-hosted and never phones home. You bring your own RPC endpoints. Starts on SQLite, upgrades to PostgreSQL by import.

When to build

Building your own facilitator makes sense when:
  • You only need one chain and one protocol, and you are confident that will not change
  • Your receipt format is internal only and does not need third-party verification
  • You have engineers available who want deep ownership of this layer
  • You are building a chain-specific product where the gateway logic is itself the core IP

When to buy

Buying makes sense when:
  • You need the facilitator in days, not months
  • You want all four protocols and seven chains without the integration and maintenance overhead
  • The receipts need to be verifiable by counterparties or regulators who do not run your service
  • You want to run it on your own infrastructure with your own domain, not a shared service
  • Your engineers’ time is better spent on the agentic application layer than on payment infrastructure

Get the Payment Rails bundle

One-time perpetual licence. Self-hosted. Seven chains, four protocols, post-quantum receipts, five-minute install. Buy it on the AlgoVoi store. For enterprise terms, email us.