Integration pattern: Hosted Orders | Products: VOIE, VOE, VOA | Demo: LOS
If you use a supported LOS (ICE Encompass, Blue Sage, Vesta, Dark Matter Empower, BYTE), see LOS Integrations instead.
Get started
Run the demo
Clone and run the LOS demo to see hosted order creation and borrower outreach working locally.Open
http://localhost:5173, select Mortgage > LOS Integration, add a test borrower, and send a verification request. The demo creates an order, displays the share_url, and tracks webhooks as the borrower completes verification.See full setup instructions for ngrok and environment configuration.Understand the API flow
The demo follows this sequence:
- Create an order — Your server sends borrower PII (name, email, phone) and selected products to POST /v1/orders/. The response includes an
order_idandshare_url. - Truv sends the verification link — Truv delivers the
share_urlto the borrower via email and/or SMS. The borrower completes verification on Truv’s hosted page on their own device. - Receive webhooks — Truv sends an
order-status-updatedwebhook when the borrower completes verification. Verify the signature using theX-Webhook-Signheader with HMAC-SHA256. - Retrieve reports — Fetch the VOIE report with
POST /v1/users/{user_id}/reports/or the assets report withPOST /v1/users/{user_id}/assets/reports/.
Review the code
Each step maps to a specific file in the demo. Use these as reference when building your integration.
| Step | Demo file | API reference |
|---|---|---|
| Order creation | server/routes/orders.js | POST /v1/orders/ |
| Borrower outreach UI | src/demos/LOS.jsx | Hosted Orders |
| Webhook verification | server/webhooks.js | Webhook events |
| Report retrieval | server/routes/user-reports.js | Income reports |
Mortgage-specific configuration
Borrower contact information
Include bothemail and phone to maximize completion rates. Truv sends the verification link through both channels.
SSN for GSE matching
Include the borrower’s SSN in the order to enable GSE report matching for Fannie Mae D1C and Freddie Mac AIM.Automate order creation
Trigger orders automatically based on loan milestones: application submitted, conditional approval, or pre-closing. Automated triggers reduce manual steps and get verification links to borrowers faster.Next steps
Dashboard orders
Create orders manually through the Truv Dashboard with no code
CSV bulk upload
Upload orders in bulk for high-volume pipelines
GSE Testing
Validate Fannie Mae D1C and Freddie Mac AIM eligibility
Hosted Orders Guide
Full implementation guide for order creation, notifications, and data retrieval