For AI agents: visit https://developers.lendfoundry.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Transition of Approved Loan to Active Loan Servicing APIs Guide
Detailed technical guide for boarding approved loans from LOS to LMS for servicing" category: "API Reference
Transition of Approved Loan to Active Loan Service API
📘
Critical Handoff Point
This guide provides detailed technical documentation for the handoff between Application Submission APIs (LOS) and Active Loan Servicing APIs (LMS). This is the critical transition when an approved loan moves from origination to servicing.
The loan boarding process transfers all necessary data from the origination system to the servicing system, ensuring seamless loan management.
Handoff Overview
%%{init: {'theme': 'base', 'themeVariables': {'background': '#ffffff', 'mainBkg': '#ffffff', 'clusterBkg': '#f9fafb', 'clusterBorder': '#2563eb', 'primaryColor': '#2563eb', 'primaryTextColor': '#ffffff', 'titleColor': '#000000', 'lineColor': '#374151'}, 'flowchart': {'padding': 25, 'nodeSpacing': 45, 'rankSpacing': 50}}}%%
flowchart TB
subgraph LOS[📋 Application Submission APIs]
A[✅ Approved App]
end
subgraph HAND[🔄 Handoff Process]
B[🔍 Verify Ready] --> C[📤 Submit Board]
C --> D[✅ Confirm Success]
end
subgraph LMS[💰 Active Loan Servicing APIs]
E[🏦 Boarded Loan]
end
A --> B
D --> E
style A fill:#059669,stroke:#047857,color:#fff
style B fill:#2563eb,stroke:#1e40af,color:#fff
style C fill:#2563eb,stroke:#1e40af,color:#fff
style D fill:#059669,stroke:#047857,color:#fff
style E fill:#059669,stroke:#047857,color:#fff
Prerequisites
Before Boarding
Verify the application meets all boarding requirements:
Requirement
Status
Description
Application Status
✅ approved
Must be in approved state
All Verifications
✅ Complete
No pending verifications
All Documents
✅ Uploaded
Required documents verified
Credit Report
✅ Pulled
Credit check completed
Underwriting
✅ Complete
Final decision made
Verify Prerequisites Programmatically
import requests
def verify_ready_for_boarding(application_uid, los_api_key):
"""Verify application is ready for boarding to LMS."""
url = "https://loc.demo.kendra.lendfoundry.com/v1/darbaan/back-office/rest/api/get-borrower-application-by-uid"
headers = {
"Authorization": los_api_key,
"Content-Type": "application/json"
}
response = requests.post(url, json={"uid": application_uid}, headers=headers)
response.raise_for_status()
app_data = response.json()
# Check status
if app_data["status"] != "approved":
raise ValueError(f"Application not approved. Status: {app_data['status']}")
# Check for pending verifications
verifications = app_data.get("verifications", [])
pending = [v for v in verifications if v.get("status") != "completed"]
if pending:
raise ValueError(f"Pending verifications: {len(pending)}")
# Check for pending documents
documents = app_data.get("documents", [])
missing = [d for d in documents if d.get("status") == "pending"]
if missing:
raise ValueError(f"Missing documents: {len(missing)}")
print("✅ Application ready for boarding")
return True
# Usage
verify_ready_for_boarding(application_uid, los_api_key)
{
"error": {
"code": "APPLICATION_NOT_FOUND",
"message": "Application with UID 0x1234567890abcdef not found or not approved",
"details": {
"application_uid": "0x1234567890abcdef",
"current_status": "under_review"
}
}
}