finops.halowerk.com/v1/obligation-price-recognition-ledger
Original stand-alone selling prices, fixed contract price, declared eligible discount subset and point-in-time fulfillment periods determine exact discount and allocated price per obligation, six-period recognition, cumulative recognition and remaining allocated consideration. Own conditional arithmetic inspired by AASB15 compiled2022 paragraphs31/46/73-83, not current accounting certification, co
POST
https://finops.halowerk.com/v1/obligation-price-recognition-ledgerUptime100% 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/obligation-price-recognition-ledger", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"contract_price":10,"discount_scope":[0],"obligations":[{"satisfied_period":6,"ssp_domain":[15]}],"report":{"allocated_discount":[{"d":"1","n":"5"}],"allocated_price":[{"d":"1","n":"10"}],"allocated_total":{"d":"1","n":"10"},"allocation_gap":{"d":"1","n":"0"},"cumulative_recognized":[{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"10"}],"dis),
});
console.log(await res.json());Example input
{"contract_price":10,"discount_scope":[0],"obligations":[{"satisfied_period":6,"ssp_domain":[15]}],"report":{"allocated_discount":[{"d":"1","n":"5"}],"allocated_price":[{"d":"1","n":"10"}],"allocated_total":{"d":"1","n":"10"},"allocation_gap":{"d":"1","n":"0"},"cumulative_recognized":[{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"10"}],"dis