<!-- https://staircase.co/providers/freddie-mac -->
# Freddie Mac

# Freddie Mac

A government-sponsored enterprise whose automated underwriting engine is the second of the two behind the agency eligibility product.

Freddie Mac's Loan Product Advisor is the second engine Government reaches. The canonical request fans out to both engines, and the responses are normalised into one shape.

Enumerations in the canonical request are the intersection of the two engines' own enumerations, generated from their schemas rather than written by hand — so a value the canonical request accepts is a value both engines accept.

Error codes are unified twice: two agency codes meaning the same thing map to one code, and that code is then rendered against the caller's own field paths.

## Products it serves

- Government
- Connection

## How this integration is built

- **connection configuration** — The wire protocol. One repository per vendor API call, not per vendor.

- **language configuration** — The field mapping between the vendor's vocabulary and the canonical model.

- **flow file** — The four-way translation: canonical request, vendor request, vendor response, canonical response.

- **waterfall priority** — One line naming where this vendor sits in the vertical's ordering.

- **status call** — Activating the vendor for a lender, optionally with the lender's own credentials.

## Evidence

This vendor is on the roster because each of the following resolves to a committed artifact.

- `freddiemac-house-counselor-poc-data`
- `mortgage-eligibility-government-freddiemac-underwriting-configuration`
- `partner-freddiemac-authentication-connection-configuration`
- `partner-freddiemac-language-configuration`
- `partner-freddiemac-underwriting-connection-configuration`
