finops.halowerk.com/v1/participating-debt-waterfall
Allocate two equal modeled periods of participating debt cash under an explicit synthetic contractual waterfall: opening coupon arrears FIRST, current coupon SECOND, all overdue plus newly due principal THIRD, residual cash split between lender participation and sponsor LAST. Current coupon=opening outstanding principal*rate_bp/10000, including overdue principal, excluding unpaid coupons. Unpaid c
POST
https://finops.halowerk.com/v1/participating-debt-waterfallUptime100% 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/participating-debt-waterfall", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount_denominator":1,"cash_n":[3,130],"coupon_arrears_n":5,"new_principal_due_n":[20,80],"participation_bp":2500,"principal_n":100,"rate_bp":1000,"report":{"p1_cash_gap":{"d":"1","n":"0"},"p1_closing_coupon_arrears":{"d":"1","n":"12"},"p1_closing_principal":{"d":"1","n":"100"},"p1_closing_principal_arrears":{"d":"1","n":"20"},"p1_coupon":{"d":"1","n":"10"},"p1_current_coupon_paid":{"d":"1","n":),
});
console.log(await res.json());Example input
{"amount_denominator":1,"cash_n":[3,130],"coupon_arrears_n":5,"new_principal_due_n":[20,80],"participation_bp":2500,"principal_n":100,"rate_bp":1000,"report":{"p1_cash_gap":{"d":"1","n":"0"},"p1_closing_coupon_arrears":{"d":"1","n":"12"},"p1_closing_principal":{"d":"1","n":"100"},"p1_closing_principal_arrears":{"d":"1","n":"20"},"p1_coupon":{"d":"1","n":"10"},"p1_current_coupon_paid":{"d":"1","n":