Base URLs

Complete reference for all LendFoundry API base URLs, microservices, and environment configurations

Base URLs

📘

Quick Reference

LendFoundry uses a microservice architecture where each service has its own base URL. This document provides a complete reference for all available endpoints and how to construct API URLs.

LendFoundry APIs are organized into two main systems: the Loan Origination System (LOS) and the Loan Management System (LMS). Each system consists of multiple microservices, each with its own base URL. Understanding these base URLs is essential for making API requests.


Overview

LendFoundry uses a microservice architecture where functionality is distributed across specialized services. Each microservice:

  • Has its own base URL
  • Handles specific business functions
  • Requires authentication via Bearer tokens
  • Uses environment-specific URLs (demo vs. production)

URL Structure

All API endpoints follow this pattern:

{base_url}/{microservice}/{endpoint_path}

Example:

https://api.demo.lms.lendfoundry.com/v1/loan-management/loans/LN-2024-001

Where:

  • https://api.demo.lms.lendfoundry.com/v1 = Base URL
  • loan-management = Microservice path
  • loans/LN-2024-001 = Endpoint path

LMS Microservices

The Loan Management System (LMS) provides loan servicing capabilities through the following microservices:

MicroserviceBase URLPurpose
Application Processorhttps://api.demo.lms.lendfoundry.com/v1/lms-application-processorLoan onboarding from LOS, related applications
Loan Managementhttps://api.demo.lms.lendfoundry.com/v1/loan-managementCore loan operations, bank details, loan lifecycle
Payment Processorhttps://api.demo.lms.lendfoundry.com/v1/payment-processorPayment processing, payment schedules
Loan Filtershttps://api.demo.lms.lendfoundry.com/v1/loan-filtersSearch and filtering operations
Business Applicant Globalhttps://api.demo.lms.lendfoundry.com/v1/business-applicant-globalBusiness and applicant data management
Call Managementhttps://api.demo.lms.lendfoundry.com/v1/call-managementCommunication tracking and call logs
Draw Down Filtershttps://api.demo.lms.lendfoundry.com/v1/business-draw-down-filtersLine of Credit (LOC) draw validation and filtering
Loan Accountinghttps://api.demo.lms.lendfoundry.com/v1/loan-accountingFinancial transactions and accounting operations
Draw Processorhttps://api.demo.lms.lendfoundry.com/v1/business-draw-down-processor-globalLOC draw processing and execution

LMS Base URL

All LMS microservices share a common base URL:

https://api.demo.lms.lendfoundry.com/v1

LOS APIs

The Loan Origination System (LOS) provides three portal APIs, each serving different user types:

APIBase URLPurpose
Back Officehttps://loc.demo.kendra.lendfoundry.com/v1/darbaan/back-office/rest/apiInternal operations, application management, verification workflows
Borrower Portalhttps://loc.demo.kendra.lendfoundry.com/v1/darbaan/borrower/rest/apiCustomer-facing operations, borrower self-service
Affiliatehttps://loc.demo.kendra.lendfoundry.com/v1/darbaan/affiliate/rest/apiPartner integrations, affiliate portal operations

LOS Base URL

All LOS APIs share a common base URL:

https://loc.demo.kendra.lendfoundry.com/v1/darbaan

Portal Selection

Choose the appropriate portal based on your use case:

  • Back Office: For internal staff operations, application management, and verification workflows
  • Borrower Portal: For customer-facing applications and borrower self-service features
  • Affiliate: For partner organizations and affiliate integrations
📘

Note

All three LOS portals use the same endpoint paths, but access different data based on the portal's permissions and context.


Environments

LendFoundry provides different environments for development, testing, and production use:

Demo Environment

The demo environment is available for development and testing purposes:

SystemDemo Base URL
LMShttps://api.demo.lms.lendfoundry.com/v1
LOShttps://loc.demo.kendra.lendfoundry.com/v1
⚠️

Warning

The demo environment is for testing only. Do not use demo URLs in production applications.

Production Environment

For production access, contact your LendFoundry account representative to obtain:

  • Production base URLs
  • Production API credentials
  • Environment-specific configuration details
📘

Note

Production URLs follow a similar pattern but use different domain names. Contact LendFoundry support for your production environment URLs.


URL Construction Examples

LMS Example: Retrieve Loan Information

Full URL:

https://api.demo.lms.lendfoundry.com/v1/loan-management/loans/LN-2024-001

Breakdown:

  • Base URL: https://api.demo.lms.lendfoundry.com/v1
  • Microservice: loan-management
  • Endpoint: loans/LN-2024-001

LOS Example: Get Application Status

Full URL:

https://loc.demo.kendra.lendfoundry.com/v1/darbaan/back-office/rest/api/applications/APP-2024-001/status

Breakdown:

  • Base URL: https://loc.demo.kendra.lendfoundry.com/v1
  • Portal Path: darbaan/back-office/rest/api
  • Endpoint: applications/APP-2024-001/status

Configuration Examples

The following examples show how to configure base URLs in your application using environment variables and configuration files.

Environment Variables (Bash/Shell)

# LMS Base URLs
export LF_LMS_BASE_URL="https://api.demo.lms.lendfoundry.com/v1"
export LF_LMS_APP_PROCESSOR="${LF_LMS_BASE_URL}/lms-application-processor"
export LF_LMS_LOAN_MGMT="${LF_LMS_BASE_URL}/loan-management"
export LF_LMS_PAYMENT="${LF_LMS_BASE_URL}/payment-processor"
export LF_LMS_LOAN_FILTERS="${LF_LMS_BASE_URL}/loan-filters"
export LF_LMS_BUSINESS_APPLICANT="${LF_LMS_BASE_URL}/business-applicant-global"
export LF_LMS_CALL_MGMT="${LF_LMS_BASE_URL}/call-management"
export LF_LMS_DRAW_FILTERS="${LF_LMS_BASE_URL}/business-draw-down-filters"
export LF_LMS_LOAN_ACCOUNTING="${LF_LMS_BASE_URL}/loan-accounting"
export LF_LMS_DRAW_PROCESSOR="${LF_LMS_BASE_URL}/business-draw-down-processor-global"

# LOS Base URLs
export LF_LOS_BASE_URL="https://loc.demo.kendra.lendfoundry.com/v1/darbaan"
export LF_LOS_BACKOFFICE="${LF_LOS_BASE_URL}/back-office/rest/api"
export LF_LOS_BORROWER="${LF_LOS_BASE_URL}/borrower/rest/api"
export LF_LOS_AFFILIATE="${LF_LOS_BASE_URL}/affiliate/rest/api"
// config.js
const config = {
  lms: {
    baseUrl: 'https://api.demo.lms.lendfoundry.com/v1',
    services: {
      applicationProcessor: '/lms-application-processor',
      loanManagement: '/loan-management',
      paymentProcessor: '/payment-processor',
      loanFilters: '/loan-filters',
      businessApplicant: '/business-applicant-global',
      callManagement: '/call-management',
      drawFilters: '/business-draw-down-filters',
      loanAccounting: '/loan-accounting',
      drawProcessor: '/business-draw-down-processor-global'
    }
  },
  los: {
    baseUrl: 'https://loc.demo.kendra.lendfoundry.com/v1/darbaan',
    apis: {
      backOffice: '/back-office/rest/api',
      borrower: '/borrower/rest/api',
      affiliate: '/affiliate/rest/api'
    }
  }
};

// Usage example
const loanManagementUrl = `${config.lms.baseUrl}${config.lms.services.loanManagement}/loans/LN-2024-001`;
# config.py
class LendFoundryConfig:
    # LMS Base URL
    LMS_BASE_URL = "https://api.demo.lms.lendfoundry.com/v1"
    
    # LMS Microservices
    LMS_APP_PROCESSOR = f"{LMS_BASE_URL}/lms-application-processor"
    LMS_LOAN_MANAGEMENT = f"{LMS_BASE_URL}/loan-management"
    LMS_PAYMENT_PROCESSOR = f"{LMS_BASE_URL}/payment-processor"
    LMS_LOAN_FILTERS = f"{LMS_BASE_URL}/loan-filters"
    LMS_BUSINESS_APPLICANT = f"{LMS_BASE_URL}/business-applicant-global"
    LMS_CALL_MANAGEMENT = f"{LMS_BASE_URL}/call-management"
    LMS_DRAW_FILTERS = f"{LMS_BASE_URL}/business-draw-down-filters"
    LMS_LOAN_ACCOUNTING = f"{LMS_BASE_URL}/loan-accounting"
    LMS_DRAW_PROCESSOR = f"{LMS_BASE_URL}/business-draw-down-processor-global"
    
    # LOS Base URL
    LOS_BASE_URL = "https://loc.demo.kendra.lendfoundry.com/v1/darbaan"
    
    # LOS APIs
    LOS_BACK_OFFICE = f"{LOS_BASE_URL}/back-office/rest/api"
    LOS_BORROWER = f"{LOS_BASE_URL}/borrower/rest/api"
    LOS_AFFILIATE = f"{LOS_BASE_URL}/affiliate/rest/api"

# Usage example
from config import LendFoundryConfig
loan_url = f"{LendFoundryConfig.LMS_LOAN_MANAGEMENT}/loans/LN-2024-001"
// LendFoundryConfig.java
public class LendFoundryConfig {
    // LMS Base URL
    private static final String LMS_BASE_URL = "https://api.demo.lms.lendfoundry.com/v1";
    
    // LMS Microservices
    public static final String LMS_APP_PROCESSOR = LMS_BASE_URL + "/lms-application-processor";
    public static final String LMS_LOAN_MANAGEMENT = LMS_BASE_URL + "/loan-management";
    public static final String LMS_PAYMENT_PROCESSOR = LMS_BASE_URL + "/payment-processor";
    public static final String LMS_LOAN_FILTERS = LMS_BASE_URL + "/loan-filters";
    public static final String LMS_BUSINESS_APPLICANT = LMS_BASE_URL + "/business-applicant-global";
    public static final String LMS_CALL_MANAGEMENT = LMS_BASE_URL + "/call-management";
    public static final String LMS_DRAW_FILTERS = LMS_BASE_URL + "/business-draw-down-filters";
    public static final String LMS_LOAN_ACCOUNTING = LMS_BASE_URL + "/loan-accounting";
    public static final String LMS_DRAW_PROCESSOR = LMS_BASE_URL + "/business-draw-down-processor-global";
    
    // LOS Base URL
    private static final String LOS_BASE_URL = "https://loc.demo.kendra.lendfoundry.com/v1/darbaan";
    
    // LOS APIs
    public static final String LOS_BACK_OFFICE = LOS_BASE_URL + "/back-office/rest/api";
    public static final String LOS_BORROWER = LOS_BASE_URL + "/borrower/rest/api";
    public static final String LOS_AFFILIATE = LOS_BASE_URL + "/affiliate/rest/api";
}

// Usage example
String loanUrl = LendFoundryConfig.LMS_LOAN_MANAGEMENT + "/loans/LN-2024-001";

Quick Reference

LMS Microservices Summary

MicroservicePathCommon Use Cases
Application Processor/lms-application-processorOnboard loans from LOS, retrieve loan by application number
Loan Management/loan-managementGet loan details, update loan information, manage bank details
Payment Processor/payment-processorProcess payments, view payment schedules, payment history
Loan Filters/loan-filtersSearch loans, filter by criteria, advanced queries
Business Applicant/business-applicant-globalManage borrower and business information
Call Management/call-managementTrack communications, log calls, manage interactions
Draw Filters/business-draw-down-filtersValidate LOC draws, filter draw requests
Loan Accounting/loan-accountingFinancial transactions, accounting entries, balances
Draw Processor/business-draw-down-processor-globalProcess LOC draws, execute draw requests

LOS Portal APIs Summary

PortalPathCommon Use Cases
Back Office/back-office/rest/apiSubmit applications, manage verifications, internal workflows
Borrower/borrower/rest/apiBorrower self-service, application submission, document upload
Affiliate/affiliate/rest/apiPartner integrations, affiliate portal operations

Next Steps

ResourceDescription
Authentication GuideLearn how to authenticate API requests
Quickstart GuideGet started with your first API calls
Response CodesUnderstand API response codes and error handling
API ReferenceComplete API endpoint reference

Ready to Make API Calls?

Now that you understand the base URLs, head to the Quickstart Guide to make your first authenticated API request.