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

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.