Spend-policy verdict for AI agents
api.clawinabox.xyz/paid/v1/guard/check
Spend-policy verdict for AI agents: POST a proposed spend, get allow/review/deny with the exact rules that fired (per-tx caps, per-agent daily ledger, destination allowlists, time windows) - 'review' can page a human on Telegram for approval before the agent proceeds. Pay per call.
POST
https://api.clawinabox.xyz/paid/v1/guard/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://api.clawinabox.xyz/paid/v1/guard/check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"agent_id":"agent-7","amount":150,"destination":"merchant-x","policy":"standard"}),
});
console.log(await res.json());Example input
{
"agent_id": "agent-7",
"amount": 150,
"destination": "merchant-x",
"policy": "standard"
}