Skip to main content
GET
/
api
/
v1
/
dashboard
/
delinquent-loans
List delinquent loans
curl --request GET \
  --url https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://lender.sandbox.lerian.net/api/v1/dashboard/delinquent-loans")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "asOfDate": "2023-11-07T05:31:56Z",
  "freshness": {
    "generatedAt": "2023-11-07T05:31:56Z",
    "isStale": true,
    "liveFallbackUsed": true,
    "policyCode": "<string>",
    "policyPersistedAt": "2023-11-07T05:31:56Z",
    "snapshotAsOfDate": "2023-11-07T05:31:56Z",
    "snapshotId": "<string>",
    "source": "<string>",
    "stalenessReason": "<string>"
  },
  "limit": 123,
  "loans": [
    {
      "asOfDate": "2023-11-07T05:31:56Z",
      "assignedOfficerId": "<string>",
      "assignedOfficerName": "<string>",
      "borrowerId": "<string>",
      "borrowerName": "<string>",
      "bucketCode": "<string>",
      "daysOverdue": 123,
      "loanAccountId": "<string>",
      "oldestDueDate": "2023-11-07T05:31:56Z",
      "outstandingAmount": "<string>",
      "overdueAmount": "<string>",
      "productId": "<string>",
      "productVersionId": "<string>"
    }
  ],
  "offset": 123
}
{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Query Parameters

portfolioId
string<uuid>
required

Portfolio identifier.

Example:

"550e8400-e29b-41d4-a716-446655440000"

asOf
string<date>

Business date (YYYY-MM-DD); defaults to today (UTC).

Example:

"2026-06-14"

productIds
string<uuid>[] | null

Filter by loan product identifiers (repeat to pass multiple).

Maximum array length: 100
Example:
["550e8400-e29b-41d4-a716-446655440001"]
productVersionIds
string<uuid>[] | null

Filter by loan product version identifiers (repeat to pass multiple).

Maximum array length: 100
Example:
["550e8400-e29b-41d4-a716-446655440002"]
bucketCode
enum<string>

Delinquency bucket code.

Available options:
current,
1_30,
31_60,
61_90,
91_plus,
par30,
par60,
par90
Example:

"par30"

assignedOfficerId
string<uuid>

Filter by assigned officer identifier.

Example:

"550e8400-e29b-41d4-a716-446655440003"

limit
integer<int64>
default:25

Page size.

Required range: 1 <= x <= 100
Example:

25

offset
integer<int64>
default:0

Page offset.

Required range: 0 <= x <= 10000
Example:

0

Response

OK

asOfDate
string<date-time>
required

Business date the rows were computed for (RFC3339, UTC midnight).

Example:

"2026-06-14T12:00:00Z"

freshness
object
required

Provenance of the rows: snapshot identity, staleness, and freshness policy.

limit
integer<int64>
required

Page size echoed back from the request (max rows in this response).

Example:

25

loans
object[] | null
required

Delinquent loan drill-down rows for the page; always a JSON array (never null).

offset
integer<int64>
required

Zero-based row offset echoed back from the request.

Example:

0