Skip to content
Fourohtwo

Payment Verify

www.omenz.org/api/tollbooth/v1/pay/verify

Payment Verify: did this x402 payment really settle on Base? Send the tx hash or the seller's PAYMENT-RESPONSE header; get SETTLED / MISMATCH / PENDING / FAILED / NOT_FOUND with payer, payee, USDC amount, block, confirmations and time, checked against the payee/amount you expected. Also Circle Gateway batched payments (GatewayWalletBatched, no per-payment tx): send gateway_nonce or gateway_transfe

BaseAnswering
POSThttps://www.omenz.org/api/tollbooth/v1/pay/verify

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://www.omenz.org/api/tollbooth/v1/pay/verify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"expected_amount_usd":0.001,"expected_pay_to":"0x1bd3AaA92243e3d4352bdcE07050aeC6fcF5e840","tx_hash":"0x..."}),
});
console.log(await res.json());

Example input

{
  "expected_amount_usd": 0.001,
  "expected_pay_to": "0x1bd3AaA92243e3d4352bdcE07050aeC6fcF5e840",
  "tx_hash": "0x..."
}