Verify a USDC payment on Base
meridian.miodiollc.com/v1/payment-check
Verify a USDC payment on Base: checks a USDC Exact authorization or transfer on chain, whether the nonce is used, matching transfers within a 120 minute window, and confirmations. Informational and point-in-time. $0.005 USDC on Base. 503 and not settled if every read fails. Never signs or moves funds. Errors: 400 invalid_body, 402 payment required, 503 upstream_unavailable. Terms: https://meridian
POST
https://meridian.miodiollc.com/v1/payment-checkUptime100% 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://meridian.miodiollc.com/v1/payment-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"nonce":"0xabababababababababababababababababababababababababababababababab","payer":"0x0000000000000000000000000000000000000001"}),
});
console.log(await res.json());Example input
{
"nonce": "0xabababababababababababababababababababababababababababababababab",
"payer": "0x0000000000000000000000000000000000000001"
}