SBC x402 Facilitator

Payment facilitator for the x402 protocol. Verifies and settles stablecoin payments across EVM and Solana networks.

Read the Docs View Capabilities

What it does

Trustless payment verification & settlement

🔍

Payment Verification

Validates ERC-2612 permit signatures and Solana transfer instructions, ensuring payment authenticity before resource access is granted.

On-Chain Settlement

Executes the actual token transfers on-chain after verification, moving funds from payer to resource server via permit-based transfers.

🌐

Multi-Chain Support

Supports Base, Radius, and Solana networks across both mainnet and testnet environments with a unified API interface.

How it works

The x402 payment flow

🤖
Agent
🖥️
Resource Server
Facilitator
1
Agent requests resource
Agent sends HTTP request to a paid API endpoint
GET /api/data
2
Server responds 402
Server returns payment requirements in the response header
HTTP 402 Payment Required
3
Agent signs payment
Creates an ERC-2612 permit signature authorizing the transfer
X-PAYMENT header
4
Server forwards to Facilitator
Payment header is sent to the Facilitator for verification
POST /verify
5
Facilitator verifies
Validates signature, amount, expiry, and on-chain balances
✓ valid
6
Resource delivered
Server returns the paid content to the agent
HTTP 200 OK
7
Facilitator settles on-chain
Executes permitTransferFrom to move tokens from agent to server
POST /settle → tx hash

API

Endpoints

GET /supported Capability discovery
POST /verify Payment verification
POST /settle Payment settlement
GET /health Health check

Networks

Supported chains

Base
Mainnet & Sepolia
Radius
Mainnet & Testnet
Solana
Mainnet