Skip to content
Fourohtwo

A pre-payment gate for an agent about to send USDC

402.com.tr/api/x402/agent-pay-gate

A pre-payment gate for an agent about to send USDC. Screens the recipient (OFAC sanctions, Coinbase/Basename identity, wallet vs contract, fresh-address age) and escalates a fresh or anonymous recipient to STOP once the amount is material — a few cents to a new address is sampling, real size to one is the drain to avoid. Pass usd= for amount-aware guidance. One verdict (GO/REVIEW/STOP). Identity i

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/agent-pay-gate

Uptime100% of 2 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://402.com.tr/api/x402/agent-pay-gate?to=0x973a31858f4d2125f48c880542da11a2796f12d6&usd=100");
console.log(await res.json());

Example input

{
  "to": "0x973a31858f4d2125f48c880542da11a2796f12d6",
  "usd": "100"
}