Skip to content
Fourohtwo

finops.halowerk.com/v1/own-credit-liability-fair-value-split

Reconstruct ONE ISSUER financialLIABILITY validly DESIGNATEDatFVTPL with OWN-credit effects inOCI and allother effects inP&L. THREE complete original fixed ENDperiodcashflows;firstcash hasbeenPAIDatvaluation,remainingtwoareoutstanding. Caller-suppliedperiod-startmarketIRR is ALREADYthecorrectexactIRRofopeningFVandtheseCFs;kernelderivesopeningFV=PV(CF1..3,IRR),doesNOTsolve/calibrateIRR. Flatopening

BaseAnswering
POSThttps://finops.halowerk.com/v1/own-credit-liability-fair-value-split

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/own-credit-liability-fair-value-split", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount_denominator":1,"benchmark_close_bp":300,"benchmark_open_bp":200,"cashflows_n":[5,5,105],"observed_close_fv_n":90,"period_start_irr_bp":500,"report":{"benchmark_PL_expense":{"d":"2809","n":"-5150"},"benchmark_only_closing_value":{"d":"2809","n":"275750"},"cashflow1":{"d":"1","n":"5"},"cashflow2":{"d":"1","n":"5"},"cashflow3":{"d":"1","n":"105"},"closing_benchmark":{"d":"100","n":"3"},"clos),
});
console.log(await res.json());

Example input

{"amount_denominator":1,"benchmark_close_bp":300,"benchmark_open_bp":200,"cashflows_n":[5,5,105],"observed_close_fv_n":90,"period_start_irr_bp":500,"report":{"benchmark_PL_expense":{"d":"2809","n":"-5150"},"benchmark_only_closing_value":{"d":"2809","n":"275750"},"cashflow1":{"d":"1","n":"5"},"cashflow2":{"d":"1","n":"5"},"cashflow3":{"d":"1","n":"105"},"closing_benchmark":{"d":"100","n":"3"},"clos