Shared Budget
www.omenz.org/api/tollbooth/v1/budget/create
Shared Budget: one spending cap a whole TEAM of agents draws from (total, per day or per month), with a per-purchase max, an escalate line and allowed/blocked payees. Spend Gate is stateless, so 5 agents can each stay under $1 and spend $5 together; a Shared Budget keeps the one running total. Returns budget_id + owner_key + spender_key (shown once). Bookkeeping only: OMENZ never holds or moves mo
POST
https://www.omenz.org/api/tollbooth/v1/budget/createUptime100% 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/budget/create", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"cap_usd":2,"escalate_above_usd":0.02,"name":"research crew","per_tx_max_usd":0.05,"period":"day"}),
});
console.log(await res.json());Example input
{
"cap_usd": 2,
"escalate_above_usd": 0.02,
"name": "research crew",
"per_tx_max_usd": 0.05,
"period": "day"
}