Skip to content
Fourohtwo

finops.halowerk.com/v1/defined-benefit-deficit-bridge

Reconstruct a defined-benefit DEFICIT bridge from caller-measured opening obligation/assets, current service cost, discount rate, end-period contributions/benefits, actual asset return and closing actuarial obligation. Return separate obligation/asset interest, expected obligation, closing assets, actuarial loss, asset-return excess, net interest, modeled P&L/OCI expense, opening/closing net liabi

BaseAnswering
POSThttps://finops.halowerk.com/v1/defined-benefit-deficit-bridge

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/defined-benefit-deficit-bridge", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"actual_return":60,"benefits":50,"closing_obligation_domain":[1120],"contributions":80,"opening_assets":600,"opening_obligation":1000,"rate_bps":500,"report":{"actuarial_loss":{"d":1,"n":20},"asset_interest":{"d":1,"n":30},"asset_return_excess":{"d":1,"n":30},"closing_assets":{"d":1,"n":690},"closing_deficit":{"d":1,"n":430},"expected_closing_obligation":{"d":1,"n":1100},"net_change":{"d":1,"n":3),
});
console.log(await res.json());

Example input

{"actual_return":60,"benefits":50,"closing_obligation_domain":[1120],"contributions":80,"opening_assets":600,"opening_obligation":1000,"rate_bps":500,"report":{"actuarial_loss":{"d":1,"n":20},"asset_interest":{"d":1,"n":30},"asset_return_excess":{"d":1,"n":30},"closing_assets":{"d":1,"n":690},"closing_deficit":{"d":1,"n":430},"expected_closing_obligation":{"d":1,"n":1100},"net_change":{"d":1,"n":3