GatewayWalletBatched
Treasury Risk Analyzer — Deterministic liquidity forecast: daily cash projection, minimum cash and date, buffer breach, liquidity status, optional DSO/DPO/DIO.
POST
https://portfolio-risk-analyzer-g9ao.onrender.com/liquidityUptime100% of 4 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://portfolio-risk-analyzer-g9ao.onrender.com/liquidity", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"cashFlows":[{"amount":-500000,"category":"payable","date":"2026-09-27","description":"Supplier invoice"}],"horizonDays":30,"minimumCashBuffer":500000,"openingCash":800000,"startDate":"2026-09-14"}),
});
console.log(await res.json());Example input
{
"cashFlows": [
{
"amount": -500000,
"category": "payable",
"date": "2026-09-27",
"description": "Supplier invoice"
}
],
"horizonDays": 30,
"minimumCashBuffer": 500000,
"openingCash": 800000,
"startDate": "2026-09-14"
}