Stripe handles the payment. Observer Protocol answers the question Stripe cannot: should you trust the agent making it?
Add one middleware line to your x402 seller and every incoming machine payment gets a reputation check โ trust tier, payment history, risk signals โ before you process it. No API key required to start.
Use the reputation response to apply different rate limits, pricing, or access levels per agent โ automatically, before the payment settles.
Stripe identifies agents by their USDC wallet address. After a one-time registration on Observer Protocol (the agent submits its public key + metadata, receives an agent_id), sellers query reputation by that agent_id โ the agent passes it via the X-Observer-Agent-ID header on every request. The middleware in step 1 reads the header and does the lookup automatically. The @observer-protocol/sdk client wraps this same call.
Direct wallet-address โ reputation lookup is on the roadmap (issue open on the mpp-integration repo). Until then, register once and use agent_id everywhere.
AT-ARS scores 0โ100, weighting verified receipts (25%), counterparty diversity (20%), org affiliation (20%), recency (15%), and volume (15%). The score band is what the SDK exposes as trust_tier.
| Tier | Score Range | Suggested Action |
|---|---|---|
| unknown | no profile in OP | review |
| untrusted | 0โ39 | review |
| developing | 40โ59 | review (lenient: accept) |
| established | 60โ79 | accept |
| trusted | 80โ100 | accept (premium) |
Reputation lookup answers "should I accept this payment?" For high-value flows that need "this payment is defensible against later disputes", compose with @observer-protocol/wdk-protocol-trust. The trust module handles bilateral identity verification (sender + recipient both prove DIDs before settlement) and ERC-8004 chain anchoring of the receipt. Together they make agentic payments chargeback-resistant by construction.
Live demo: observerprotocol.org/chargeback-prevention/wdk walks the full Mercado Libre ร USDT-on-x402 flow โ soft-reject โ magic-link authorization โ bilateral handshake โ cryptographically attested receipt.
See real verified transactions in the live feed. Reputation queries working now.
Open Agentic Terminal โNode.js + Python middleware. Express, FastAPI, and raw fetch examples included.
Get the SDK โPlatform-required, opt-in, or mandatory. Full policy architecture for payment processors.
Read Architecture โ