Settlement Rescue
www.omenz.org/api/tollbooth/v1/settlement/rescue
Settlement Rescue: 'payment weird? give it to us.' Timeout, 5xx or no PAYMENT-RESPONSE after paying, and you must decide whether to pay again. Send the X-PAYMENT header you sent (or the tx hash, or payer + payee + amount). We read the EIP-3009 authorization's on-chain state on Base: SETTLED (nonce used: here is the tx, do NOT pay again) / NOT_SETTLED (expired unused: safe to pay again ONCE) / STIL
POST
https://www.omenz.org/api/tollbooth/v1/settlement/rescueUptime100% 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/settlement/rescue", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"payment_header":"(the base64 X-PAYMENT you sent)","window_hours":24}),
});
console.log(await res.json());Example input
{
"payment_header": "(the base64 X-PAYMENT you sent)",
"window_hours": 24
}