Developers and method

API and conventions

The calculation conventions behind every number, and the JSON API on the API plan.

API (plan: API)

Send your access key as Authorization: Bearer rmc_... (or x-rmc-key: rmc_...). JSON in, JSON out.

POST /api/v1/check

{"loan_amount":"350000","note_rate":"6.375","term_months":"360","prepaid_finance_charges":"5000",
 "odd_days":"17","apor":"6.12","lien":"first","disclosed_apr":"6.6","disclosed_finance_charge":"440000"}

Returns the payment, amount financed, finance charge, APR bracket (apr.lo, apr.hi, apr.apr3), the checks you asked for, and the full schedule (cents).

POST /api/v1/batch

{"loans":[{"loan_id":"A1","loan_amount":"350000","note_rate":"6.375","term_months":"360"}, ...]}  -> 202 {"id":"..."}
GET /api/batches/{id} status and summary; GET /api/batches/{id}/results.csv|exceptions.csv|report.pdf returns {"url": ...}, a short-lived download link.

Field rules: money in dollars with up to 2 decimals; rates in percent with up to 3 decimals (APOR 2); a value with more decimals is rejected, never silently rounded. Errors are JSON {"error": "..."} with HTTP 400, 401, 402, 413 or 429.

Conventions

New optional inputs: apor_date (YYYY-MM-DD, the rate-set date), transaction_type (auto, regular, irregular), multiple_advances, irregular_payment_periods, irregular_payment_amounts, refinance_new_creditor (yes or no). GET /api/rules returns every rule with its citation. APOR is not fetched: take it from the FFIEC APOR tables.

The conventions above are how this tool computes. Whether they match the way your own system or your regulator reads a rule is for you and your counsel to confirm. Calculation aid, not legal or compliance advice; confirm against the regulation and your counsel.