Skip to content
Fourohtwo

Payment verification for x402

paycheck.hectichustle.workers.dev/check

Payment verification for x402: verify a USDC transaction on Base — did this payment really settle, and did it pay the right address the right amount? Send a tx hash (or x402 authorization): confirmations, real-USDC transfer check, expectedPayTo/expectedAmount match, fake-USDC and lookalike-address warnings, who funded the payer (external, self_funded, unknown), plain-English summary and a receipt.

BaseAnswering
POSThttps://paycheck.hectichustle.workers.dev/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

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://paycheck.hectichustle.workers.dev/check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"expectedAmount":"1","expectedPayTo":"0x509E55c4F898B43C856Fb0E51048B1b7bFBC9eDE","txHash":"0xc37cbdfa44230f05129348d5160254abf354791d79de68228b201ba09de143c1"}),
});
console.log(await res.json());

Example input

{
  "expectedAmount": "1",
  "expectedPayTo": "0x509E55c4F898B43C856Fb0E51048B1b7bFBC9eDE",
  "txHash": "0xc37cbdfa44230f05129348d5160254abf354791d79de68228b201ba09de143c1"
}