The x402 Payment
Facilitator for Beam
Raygate lets any HTTP API on Beam require pay-per-request payments settled on-chain in seconds — with no accounts, no API keys, and no friction for AI agents.
The Problem
Every major chain has an x402 facilitator.
Beam does not.
Base, Solana, Stellar, XRPL, and Polygon already participate in the machine-native payment economy. Beam — despite being purpose-built for gaming, AI, and compute — has been left out. Until now.
How It Works
Six steps. Three seconds. Fully on-chain.
Client requests resource
A simple HTTP request — GET /api/data — with no payment header attached.
Server returns 402
HTTP 402 Payment Required with price, token, merchant wallet, and facilitator URL.
Client signs Permit2
EIP-712 typed data signed off-chain. No gas cost, no transaction submitted by the payer.
Client retries with signature
Same request, now with a PAYMENT-SIGNATURE header containing the signed payload.
Facilitator verifies locally
Pure cryptographic check — zero RPC calls, under 50ms. Validates deadline, network, and signer.
Settlement on Beam
Permit2.permitTransferFrom settles atomically on-chain. Tokens transfer, nonce consumed, done.
The Vision
Empowering a trusted
agentic economy on Beam
AI agents are the fastest-growing class of API consumers. They operate autonomously, at scale, and need to pay for services without human intervention. x402 is the protocol that makes this possible — and Raygate brings it to Beam.
Agent-to-API Payments
AI agents autonomously discover, pay for, and consume Beam APIs. No accounts, no API keys — just HTTP and a wallet.
Gaming Micropayments
Pay-per-asset lookup, pay-per-level unlock, in-game item purchases — all settled in USDC or BEAM with sub-cent precision.
AI Inference Markets
beamAI endpoints charge per-token or per-inference. Agents comparison-shop across models and pay the best price automatically.
DeFi Data Feeds
Market data, price oracles, and trading signals gated at the API layer. Pay per query, no subscription commitment.
Built Right
Why Raygate
Gasless Signing
Payers sign off-chain EIP-712 messages. Zero gas, zero transactions from the payer's wallet.
~3s Settlement
Permit2 settles atomically on Beam. Fast finality means payments confirm in a single block.
Replay Protected
Permit2 nonce bitmaps prevent double-spend on-chain. Each signature is single-use by construction.
Any ERC-20
Permit2 works with any token — USDC, BEAM, or future Beam ecosystem tokens. No contract deployment.
See it in action
The playground runs real x402 payments on Beam testnet. Call gated endpoints, watch Permit2 signatures get verified and settled, and inspect every transaction on the block explorer.