Skip to content
Fourohtwo

Pay Guard

seenly-pay-guard.vercel.app/api/guard

Pay Guard: allow/warn/block check before an x402 payment. Send your plan (domain, max_price_usd) plus the 402 challenge (payTo, amount, asset, network, resource). Checks wallet↔domain match, price/asset/network, lookalike/URL safety, Agentropolis wash flags, an OFAC SDN screen of payTo and an optional LMX Labs signal. Deterministic, no LLM. Free allowance: 5 calls/day per client network with no pa

BaseAnswering
POSThttps://seenly-pay-guard.vercel.app/api/guard

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://seenly-pay-guard.vercel.app/api/guard", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asset":"USDC","challenge":{"amount":"30000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","payTo":"0xeE6239F3E17bEBe5e89F21F29D74D68CAa0d78CE","resource":"https://seenly-payload-check.vercel.app/api/check"},"domain":"seenly-payload-check.vercel.app","max_price_usd":0.05,"network":"eip155:8453"}),
});
console.log(await res.json());

Example input

{
  "asset": "USDC",
  "challenge": {
    "amount": "30000",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "network": "eip155:8453",
    "payTo": "0xeE6239F3E17bEBe5e89F21F29D74D68CAa0d78CE",
    "resource": "https://seenly-payload-check.vercel.app/api/check"
  },
  "domain": "seenly-payload-check.vercel.app",
  "max_price_usd": 0.05,
  "network": "eip155:8453"
}