Skip to content
Fourohtwo

finops.halowerk.com/v1/assumed-debt-installment-gain-ledger

Original selling price, adjusted basis, selling expenses, assumed mortgage and principal/interest receipt prefix determine installment basis, contract price, gross-profit ratio, debt basis recovery, excess-debt deemed payment, per-receipt gain/basis and remaining deferred gain/basis. Own conditional arithmetic inspired by IRS Publication537(2025), not tax eligibility, election, filing, actual tax

BaseAnswering
POSThttps://finops.halowerk.com/v1/assumed-debt-installment-gain-ledger

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/assumed-debt-installment-gain-ledger", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"adjusted_basis":250,"mortgage_domain":[400],"receipts":[{"interest":0,"principal":0}],"report":{"basis_recovered":[{"d":"1","n":"0"}],"basis_recovered_total":{"d":"1","n":"300"},"cash_principal_total":{"d":"1","n":"0"},"contract_price":{"d":"1","n":"700"},"cumulative_gain":[{"d":"1","n":"100"}],"debt_basis_recovery":{"d":"1","n":"300"},"deemed_gain":{"d":"1","n":"100"},"deemed_payment":{"d":"1",),
});
console.log(await res.json());

Example input

{"adjusted_basis":250,"mortgage_domain":[400],"receipts":[{"interest":0,"principal":0}],"report":{"basis_recovered":[{"d":"1","n":"0"}],"basis_recovered_total":{"d":"1","n":"300"},"cash_principal_total":{"d":"1","n":"0"},"contract_price":{"d":"1","n":"700"},"cumulative_gain":[{"d":"1","n":"100"}],"debt_basis_recovery":{"d":"1","n":"300"},"deemed_gain":{"d":"1","n":"100"},"deemed_payment":{"d":"1",