API and conventions
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
- C1 payment = exact level payment rounded to the nearest cent, halves up.
- C2 monthly interest = balance x monthly rate rounded to the nearest cent, halves up.
- C3 the last payment is the remaining balance plus its interest.
- C4 odd-day interest = principal x annual rate x days / 365, nearest cent, collected at consummation as a prepaid finance charge.
- C5 ARM: after the stated number of payments the payment is recomputed at the new rate on the balance for the remaining months.
- APR: Regulation Z Appendix J actuarial method, monthly unit period; a first period of 1 + odd/30 whole periods plus a fraction of a period. The result is a bracket proven by exact integer comparisons (never a float guess). The first-period-irregularity-disregarded APR (12 CFR 1026.17(c)(4)) is shown too, and used only where the loan qualifies.
- Tolerance: 1/8 point for fixed-rate loans, 1/4 point for ARMs; a disclosed APR passes if it is within tolerance of the exact APR under any permitted convention.
- Finance charge: total of payments minus amount financed (loan less prepaid finance charges less odd-day interest). Reported understated by more than $100 and more than $35. These two finance-charge tolerances are shown as in our audit and are pending expert confirmation; check them against the rule yourself.
- Higher-priced: APR at or above APOR + 1.5 points (first lien), + 2.5 (first lien above the conforming limit), + 3.5 (subordinate).
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. Not legal or compliance advice.