Skip to content
Fourohtwo

paysafe-agent.com/v1/scan/incoming

Payment security firewall scan for an INCOMING x402 payment request (402 offer): resource URL risk, credential-demand detection, price sanity, replay detection, canonical-USDC asset verification, merchant pinning, and counterparty reputation. Returns allow/flag/block with per-check reasons and an Ed25519-signed verdict. Advisory and non-custodial.

BaseAnswering
POSThttps://paysafe-agent.com/v1/scan/incoming

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://paysafe-agent.com/v1/scan/incoming", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"context":{"origin":"planning"},"expected_price_usd":0.05,"payment":{"amount":"50000","asset_decimals":6,"description":"Premium data access","network":"eip155:8453","nonce":"0x1a2b3c","pay_to":"0x209693Bc6afc0C5328bA36FaF03C514EF312287C","resource_url":"https://api.example.com/premium","scheme":"exact"}}),
});
console.log(await res.json());

Example input

{
  "context": {
    "origin": "planning"
  },
  "expected_price_usd": 0.05,
  "payment": {
    "amount": "50000",
    "asset_decimals": 6,
    "description": "Premium data access",
    "network": "eip155:8453",
    "nonce": "0x1a2b3c",
    "pay_to": "0x209693Bc6afc0C5328bA36FaF03C514EF312287C",
    "resource_url": "https://api.example.com/premium",
    "scheme": "exact"
  }
}