Skip to content
Fourohtwo

finops.halowerk.com/v1/cost-credit-period-ledger

Reconcile supplied cloud cost lines and retrospective credits across reporting periods without float drift. Caller-supplied normalized records only. No actual cloud account, tariff lookup or financial action. Unknown domain evidence remains unknown. A schema-valid unknown is a successful result at the same fixed price. Invalid input raises native HTTP400 before settlement.

BaseAnswering
POSThttps://finops.halowerk.com/v1/cost-credit-period-ledger

Uptime100% 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://finops.halowerk.com/v1/cost-credit-period-ledger", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"lines":[{"amount_minor":"100","currency":"USD","from":0,"id":"c","kind":"charge","to":10}],"periods":[{"from":0,"id":"A","to":5},{"from":5,"id":"B","to":10}]}),
});
console.log(await res.json());

Example input

{
  "lines": [
    {
      "amount_minor": "100",
      "currency": "USD",
      "from": 0,
      "id": "c",
      "kind": "charge",
      "to": 10
    }
  ],
  "periods": [
    {
      "from": 0,
      "id": "A",
      "to": 5
    },
    {
      "from": 5,
      "id": "B",
      "to": 10
    }
  ]
}