finops.halowerk.com/v1/debt-modification-ten-percent-ledger
Reconstruct a borrower debt-modification quantitative ten-percent test from complete original/new remaining fixed outflow schedules, ORIGINAL periodic effective-rate capture and separately supplied lender fees paid/received and thirdparty costs. Return both cashflowPVs, lendernetfee, newtestPV, signedPVchange/ratio, absoluteratio, exact ratio-minus1/10 margin, inclusive>=10%indicator(0or1), exclud
POST
https://finops.halowerk.com/v1/debt-modification-ten-percent-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/debt-modification-ten-percent-ledger", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"lender_fees_paid":0,"lender_fees_received":0,"new_cashflows":[1210],"old_cashflows":[1100],"original_eir_domain_bps":[1000],"report":{"absolute_change_ratio":{"d":"10","n":"1"},"at_least_ten_percent":{"d":"1","n":"1"},"excluded_thirdparty_costs":{"d":"1","n":"0"},"fee_gap":{"d":"1","n":"0"},"lender_net_fees":{"d":"1","n":"0"},"new_pv":{"d":"1","n":"1100"},"old_pv":{"d":"1","n":"1000"},"signed_ch),
});
console.log(await res.json());Example input
{"lender_fees_paid":0,"lender_fees_received":0,"new_cashflows":[1210],"old_cashflows":[1100],"original_eir_domain_bps":[1000],"report":{"absolute_change_ratio":{"d":"10","n":"1"},"at_least_ten_percent":{"d":"1","n":"1"},"excluded_thirdparty_costs":{"d":"1","n":"0"},"fee_gap":{"d":"1","n":"0"},"lender_net_fees":{"d":"1","n":"0"},"new_pv":{"d":"1","n":"1100"},"old_pv":{"d":"1","n":"1000"},"signed_ch