Skip to content
Fourohtwo

x402 integration test for agents and payment clients

verifylite.hydratinghealingtouch.workers.dev/ping

x402 integration test for agents and payment clients: after a real USDC payment it confirms the payment arrived and echoes back what the server saw: network (Base or Arc), scheme, payer address, amount, asset and recipient, plus server time and an optional echo string. Useful for checking that a wallet, x402 client and budget limits work end to end before calling costlier services, and for uptime

BaseArcPolygonAnswering
POSThttps://verifylite.hydratinghealingtouch.workers.dev/ping

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://verifylite.hydratinghealingtouch.workers.dev/ping", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"echo":"hello"}),
});
console.log(await res.json());

Example input

{
  "echo": "hello"
}

More from VerifyLite