Skip to content
Fourohtwo

Screen a URL or wallet before paying an x402 endpoint

tgw-mindset-api.fly.dev/pay-to-check

Screen a URL or wallet before paying an x402 endpoint. Use it when an agent is about to send USDC and wants safe, caution, or avoid. Buyer synonyms: x402 safety check, payTo screen, wallet risk, 402 price check, sanctions screen. A failed source is not a clean bill of health.

BaseAnswering
POSThttps://tgw-mindset-api.fly.dev/pay-to-check

Uptime100% of 1 check 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://tgw-mindset-api.fly.dev/pay-to-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://merchant.example.com/weather","address":"0x1111111111111111111111111111111111111111","network":"eip155:8453","expected_price":"$0.01"}),
});
console.log(await res.json());

Example input

{
  "url": "https://merchant.example.com/weather",
  "address": "0x1111111111111111111111111111111111111111",
  "network": "eip155:8453",
  "expected_price": "$0.01"
}