The spending account for <AI agents/>
Give your agent an on-chain budget cap. It pays any API per call in USDC on Solana. No credit cards, no signup forms, no surprise monthly invoices.
- > GET /svc/ocr402 REQUIREDpaid 0.0050 USDC · sig 5Jtx..7kQ✓ 412ms
- > GET /svc/translate402 REQUIREDpaid 0.0020 USDC · sig 8Vp2..9mX✓ 388ms
- > GET /svc/summarize402 REQUIREDpaid 0.0100 USDC · sig 3Kaa..2Lz✓ 431ms
Why agents cannot hold credit cards
Micro-transactions under $0.05 are mathematically impossible on Visa and Mastercard rails due to interchange minimums and cross-border penalties.
3,003%
Card fee on a $0.01 API call
Traditional payment gateways charge $0.30 + 2.9% baseline fees. Paying for individual micro-tasks over legacy rails costs thirty times more than the execution itself.
3.5% IOF
International card tax penalty
Cross-border taxes, bank exchange spreads, and local payment tariffs penalize global developers and autonomous agents querying US/EU inference endpoints.
$5–$50 min
Prepaid balances that expire
Forcing agents to deposit $10 upfront for a single $0.002 query fragments developer liquidity across 40 disparate vendor dashboards with unused credits.
Autonomous liquidity in three deterministic steps
A cryptographic standard linking HTTP 402 status codes directly to Solana sub-second state settlement.
PHASE 01
Set an allowance
Configure per-request and per-hour spending boundaries. Guardrails are enforced via Solana PDA multisig contracts without granting agents blanket private key authority.
pda.set_limit(max_call: 0.05, daily: 10.0)PHASE 02
Agent pays per call
Client initiates request. Upon receiving an HTTP 402 with an on-chain address and price header, the agent automatically signs the micro-transfer and retries in ~400ms.
402: X-Solana-Pay: 0.005 USDCPHASE 03
Providers get paid
Revenue is credited directly to provider treasury addresses every single query. No invoice tracking, no net-30 delays, and zero chargeback arbitration risk.
USDC balance updated on-chain
Live Agent Payment Stream
Devnet Cluster| Endpoint service | Timestamp | Amount (USDC) | Status | Transaction proof |
|---|---|---|---|---|
/svc/vision-ocr | 2s ago | $0.0050 | Paid ✓ | 5Jtx7..b49k |
/svc/qwen-inference | 7s ago | $0.0018 | Paid ✓ | 8Vp2X..vM7q |
/svc/deep-research | 14s ago | $0.0120 | Paid ✓ | 29AaK..92Xv |
/svc/serp-crawl | 29s ago | $0.0035 | Paid ✓ | 4Kp0m..77Qw |
Developer Integration
Answer 402 with a price.
Get paid per call.
Turn any FastAPI, Express, or Next.js route into a pay-per-call monetized API with one decorator or middleware. No merchant accounts, no chargebacks, and no KYC friction.
Standard HTTP Protocol
Zero custom SDK required by clients. Uses standard RFC HTTP headers.
Sub-second Verification
Transactions are verified against Solana mempool in under 400ms before payload execution.
Zero Billing Infrastructure
Eliminates Stripe customer portals, dunning logic, and unpaid trial abuse.
from fastapi import FastAPI
from lab402 import require_payment
app = FastAPI()
@app.get("/svc/ocr")
@require_payment(
price_usdc=0.005,
recipient="402LabTreasury...b7x"
)
async def extract_text(image_url: str):
# 1. 402 Payment Required returned automatically if unpaid
# 2. Solana signature verified on-chain before handler runs
# 3. Micro-payment settled directly into your treasury
extracted_content = await ocr_engine.process(image_url)
return {"status": "success", "text": extracted_content}Give your agents a spending account today.
Try it on Solana devnet today, and join the waitlist to hear when mainnet opens.
Devnet sandbox live. Mainnet rollout scheduled post-audits. No seed phrase required.