scheme: exact
algorand testnet
$0.01 / page

Payments for APIs
that read like HTTP.

PagePay is a SaaS-style demo of pay-per-page AI summarization: upload a document, receive HTTP 402, sign USDC on Algorand, get your summary on the retried request.

x402AlgorandUSDCPeraGroq

Built on the x402 exact-AVM scheme with a hosted facilitator, testnet USDC pricing, and Pera Wallet signing — the same primitives you would wire into any metered API product.

402 → sign → settle → 200

Platform

Everything you need to ship metered AI APIs

From quote to settlement to fulfillment — PagePay demonstrates the full x402 lifecycle with production-shaped HTTP semantics.

HTTP-native metering
Every document request returns a machine-readable 402 with exact payment requirements — pages, price, asset, and pay-to address.
Algorand settlement
Payments settle on Algorand Testnet via the GoPlausible facilitator. Verify, settle, then fulfill — no prepaid credits.
Wallet-signed exact payments
Pera Wallet signs an exact-AVM USDC transfer. Your API never holds keys; the client brings the payment header on retry.
Developer-first proof
Raw HTTP exchanges, tx IDs, and explorer links are surfaced in the UI so you can audit every step of the protocol.

Compare

API keys vs HTTP 402 billing

Same AI resource — two integration models. x402 removes account setup and prepaid credits from the critical path.

Traditional · API key billing

7 steps

Typical time to first paid response: hours–days (signup + billing)

  1. 1.Create developer account
  2. 2.Add credit card / billing profile
  3. 3.Generate API key in dashboard
  4. 4.Store key in secrets manager
  5. 5.Attach Authorization header on every request
  6. 6.Provider meters usage in database
  7. 7.Monthly invoice reconciliation

PagePay · HTTP 402 billing

6 steps

Typical time to first paid response: < 60 seconds (wallet + USDC)

  1. 1.POST resource (no payment header)
  2. 2.Receive HTTP 402 + PAYMENT-REQUIRED quote
  3. 3.Wallet signs exact USDC transfer
  4. 4.Retry POST with PAYMENT-SIGNATURE
  5. 5.Facilitator verify + on-chain settle
  6. 6.Receive 200 + resource + tx proof
MACHINE-TO-MACHINE FLOW

How Autonomous PagePay Works

Standards-based HTTP 402 machine payments, real-time Algorand USDC settlement, and tamper-evident cryptographic verification.

01

Machine-Readable 402 Quote

Agents submit a document to /api/summarize or /api/compare. Server responds with HTTP 402 Payment Required containing atomic page quotes in standard X-PAYMENT headers.

02

Agent Spend Policy Enforcement

Client-side spend policy evaluates price caps ($/request) and session budgets ($/session) BEFORE any transaction is constructed or signed.

03

Instant Algorand USDC Settlement

Pera Wallet or agent signer approves an exact-AVM USDC ASA 10458941 transaction group. Verified on-chain via GoPlausible facilitator.

04

AI Output & SHA-256 Audit Chain

Server returns AI extraction (Summary, Action Items, Key Risks, Compliance Check, Checklist) and automatically appends a cryptographic SHA-256 tamper-evident log entry.

LIVE DEMO & INTERACTIVE FLOW

Select an extraction mode, inspect page-based quotes, execute pay-per-page AI processing, or run autonomously as an Agent.

1 · Document

2 · Extraction Mode & Payment

Standard document overview & key points.

Optional Page Range Selection
Locked (1 Page Doc)

Single page documents cover the full text automatically. Upload a multi-page PDF to select custom ranges.

3 · Agent Spend Policy Guard

Max Per Request:$0.10 USD
Session Budget:$1.00 USD
Spent / Remaining:$0.00 / $1.00

Summary & Output

Select an extraction mode and click “Pay & Execute” or “🤖 Run as Agent” to trigger x402 payment settlement and output.
TAMPER-EVIDENT AUDIT TRAIL

Every request and payment log entry is cryptographically SHA-256 hashed and linked to the previous entry’s hash.

INDEPENDENT RECEIPT VERIFICATION SERVICE
Algorand Testnet

Paste any Algorand transaction ID to independently verify log hashes and testnet on-chain settlement.

AGENT TRUST SCORE LOOKUP & FORMULA ENGINE
x402 Protocol Metric

Dynamic 0–100 reliability score calculated from real PagePay testnet transaction history using our mathematical scoring formula.

EXACT MATHEMATICAL SCORING FORMULA

TrustScore = min(100, TxCountPoints + SuccessRatePoints + VolumeBonusPoints)

1. Tx Count (Max 40 pts)10 pts per settled tx
2. Success Rate (Max 40 pts)(Settled / Total) × 40
3. USD Volume (Max 20 pts)50 pts per $1.00 USD
SIMPLE METERING

Machine Pricing & Capabilities

PagePay charges strictly per parsed page. No monthly subscriptions, no lock-in.

Autonomous Agent

Live Flow

$0.01per page

Algorand Testnet USDC exact-metered pricing for AI Agents.

  • HTTP 402 exact scheme quotes
  • 5 Modes (Summary, Action Items, Key Risks, Compliance, Checklist)
  • Agent Spend Policy Guard ($/request & $/session)
  • Tamper-Evident SHA-256 Audit Trail
Launch Live Demo

Multi-Doc Compare

$0.01per combined page

Side-by-side AI document comparison with single atomic payment.

  • Combined page calculation
  • Structural Document A vs B analysis
  • Single 402 payment transaction
  • Independent receipt verification
Compare Documents

Developer API

$0.00public read

Public read-only endpoints for receipts, trust scores, and audit verification.

  • GET /api/receipt (Receipt Verification)
  • GET /api/trust-score (Address Reliability)
  • GET /api/audit/verify (SHA-256 Chain Check)
  • GET /api/tools (Agent Discovery)
Read API Docs

Asset

USDC (ASA 10458941)

Network

Algorand Testnet

Scheme

exact · x402 v2

Facilitator

facilitator.goplausible.xyz

Ready to test a real 402 flow?

Connect Pera on Testnet, fund USDC, and run pay-per-page summarization in under a minute — or explore the protocol sandbox with zero wallet setup.