Fetch Third Party Service

The "Fetch Third Party Service" endpoint is a crucial component of Lenme's API ecosystem designed to facilitate the retrieval of third-party services integrated with our platform.

These services can encompass a wide range of functionalities, including machine learning scoring models or data pertaining to each borrower within a loan request.

To utilize this API endpoint, developers need to provide two essential parameters: the "loan request ID" and the "Provider Name." With these inputs, the endpoint empowers developers to seamlessly access the specific service offered by the designated third-party provider. Whether it's extracting valuable insights from machine learning models or accessing borrower-specific data, the "Fetch Third Party Service" endpoint simplifies the process of integrating and utilizing external services within the Lenme ecosystem.

HTTP Request

POST https://api.lenmo.app/api/v3/data_marketplace/data_integration/

This endpoint returns the requested service score for the requested loan ID.

Headers

NameTypeDescription

Accept

String

The content type of the response.

X-API-KEY*

String

The API key that gives the user the authentication to perform this request.

Content-Type

String

The type of the request body

X-HMAC*

String

The HMAC generated for the request.

X-Timestamp*

String

The timestamp of the request.

Request Body

NameTypeDescription

loan_request_id*

Int

Loan Request ID

provider_name*

String

The requested provider name

See the Available Service Options section for a sample response for each provider.

Sample Request

curl -X POST "https://api.lenmo.app/api/v3/data_marketplace/data_integration/" \
    -H "accept: application/json" \
    -H "X-API-KEY: YOUR_API_KEY" \
    -H "X-Timestamp: REQUEST_TIMESTAMP" \
    -H "X-HMAC: REQUEST_HMAC" \
    -H "Content-Type: application/json" \
    -d '{"loan_request_id": 1, "provider_name": "salus"}'

Available Service Options

Provider NamePriceDescriptionSample Response

salus

Unlimited access for $200 per month.

{
  "loan_request_id": 123456,
  "model_version": "648bc628aeae01aeab885d35",
  "salus_score": 12,
  "salus_score_request_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "timestamp": "2022-08-29T09:12:33.001Z"
}

pave

$1.50 per API request, billed monthly.

{
  "p2p_score": {
    "date": "2024-08-16",
    "score": 21,
    "score_band": "poor",
    "loan_request_id": "781991",
  },
  "attributes": {
    "date": "2024-08-16",
    "loan_request_id": "781991",
    "attributes": {
      // Calculated banking attributes here.
    }
  }
}

Salus Score Description *

Salus Score uses credit data and transaction data to highlight the historically observed default rate of a given loan application based on similar historical applications, going beyond traditional measures like credit score. Users of the Salus Score acknowledge that the Salus Score is for informational purposes only and should not be solely relied on to make credit decisions; it is not guaranteed to generate default rates consistent with historical patterns used to generate the score. Salus Score is provided by Lenme’s data partner, Salus Financial Technology, Inc. Salus Financial Technology, Inc. is not a credit reporting agency. Information like age, sex, race, or marital status are not used in the creation of the Salus Score. Users of the Salus Score allow Lenme to share loan data with Salus Financial Technology, Inc.


Pave Score Description*

The Pave Score identifies healthy borrowers, optimizes credit limits, and enhances collection outcomes. It is composed of two key components:

  1. P2P Score: This score represents the user’s ability to repay the loan. The P2P Score is categorized as follows:

    • Excellent: 75 to 100

    • Good: 50 to 75

    • Average: 25 to 50

    • Poor: 0 to 25

  2. Bank Attributes: This component includes over 4,000 attributes related to the user’s cash flow and financial profile. These attributes cover areas such as debt payment history, past and expected income, bank fees, cash advance defaults, account balances, and more.

Last updated