Pay-per-request.No middlemen.Pure protocol.
HTTP 402 gateway on Stellar testnet — atomic Soroban contract payment and registry access verified by the OpenZeppelin facilitator.
Cost per request
0.01 USDC
Protected route
/api/market-data
Current phase
Ready
Probe
Request without proof
Challenge
Receive HTTP 402
Settle
Sign Stellar payment
Retry
Attach payment proof
Unlock
Return paid data
Query Controller
Choose a protected resource and run the full x402 negotiation flow.
Select premium resource
Paid Payload
Simulated paid response with content reference and market fields.
Premium resource locked
Run a gated query to complete the x402 payment and unlock the selected record.
How x402 works
Three steps, fully on-chain settlement.
Probe
The client asks for /api/market-data without payment proof. The server returns HTTP 402 with the Stellar USDC payment requirement.
Settle
The x402 challenge defines the exact payment: 0.01 USDC on stellar:testnet. The client signs and submits the transaction.
Unlock
The client retries with proof headers. The OpenZeppelin facilitator verifies on-chain, and the protected payload is released.
Deployed Contracts
Both Soroban contracts are deployed and authorised on Stellar testnet.
DataRegistry
Admin-controlled data registry with persistent record storage and TTL extension.
AccessController
Fixed-price atomic payment contract. Token transfer and registry lookup are atomic.
Network
stellar:testnet
USDC Issuer
GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5
Facilitator
OpenZeppelin x402 Testnet