- EMIs
- Records
- Topups
- Accounts
- Payouts
- Loans
- Line Details
- Loan Data
- Fee
- Extra Data
- Topup Group
Filter Line Details
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/v1/lms/line_details/filter/
Last modified:2025-01-06 12:09:40
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
type
enum<string>Â
optional
Allowed values:
borrower_programborrower_parentprogram
Example:
borrower_parent
lead_id
stringÂ
optional
Example:
fdcb211e-d6d0-4494-ba25-d4a53cc0b139
program_id
stringÂ
optional
Example:
d5299ba7-63a3-4b4d-ade1-8f816b20b6db
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://preprod.api.crego.io/v1/lms/line_details/filter/?type=borrower_parent&lead_id=fdcb211e-d6d0-4494-ba25-d4a53cc0b139'
Responses
🟢200fetch line detail
application/json
Body
count
integerÂ
required
current_page
integerÂ
required
page_size
integerÂ
required
results
array [object {45}]Â
required
id
stringÂ
optional
created_at
numberÂ
optional
updated_at
numberÂ
optional
type
stringÂ
optional
company_id
stringÂ
optional
lead_id
stringÂ
optional
program_id
stringÂ
optional
npa_category
stringÂ
optional
line_activation_date
nullÂ
optional
line_expiry_date
nullÂ
optional
adhoc_line_expiry_date
nullÂ
optional
is_expired
booleanÂ
optional
is_hold
booleanÂ
optional
is_deleted
booleanÂ
optional
adhoc_line_amount
integerÂ
optional
approved_line_amount
integerÂ
optional
operative_line_amount
integerÂ
optional
max_active_drawdowns
integerÂ
optional
active_line_amount
integerÂ
optional
principal_paid_default
integerÂ
optional
principal_outstanding
integerÂ
optional
interest_paid
integerÂ
optional
interest_outstanding
integerÂ
optional
penal_paid
integerÂ
optional
penal_outstanding
integerÂ
optional
total_paid
integerÂ
optional
total_outstanding
integerÂ
optional
total_subvention_amount
integerÂ
optional
subvention_ack
integerÂ
optional
total_disbursed_amount
integerÂ
optional
total_topup_count
integerÂ
optional
due_loan_count
integerÂ
optional
pending_disbursed_amount
integerÂ
optional
dpd
integerÂ
optional
pea_dpd
integerÂ
optional
excess_payment
integerÂ
optional
due_amount
integerÂ
optional
total_cashback_adjusted
integerÂ
optional
total_cashback_available
integerÂ
optional
total_cashback_released
integerÂ
optional
total_holdback_amount
integerÂ
optional
total_due_principal
integerÂ
optional
total_due_interest
integerÂ
optional
total_due_overdue
integerÂ
optional
total_due_penal
integerÂ
optional
Example
{
"count": 1,
"current_page": 1,
"page_size": 15,
"results": [
{
"id": "c80c1d86-22d7-4b65-ae2e-de3864b58f85",
"created_at": 1723011115.4927714,
"updated_at": 1723011115.5924568,
"type": "program",
"company_id": "23067dbc-6c62-4203-9014-7100e4ffe811",
"lead_id": "355c70b8-3e9e-4c14-a2f6-862004486a95",
"program_id": "d5299ba7-63a3-4b4d-ade1-8f816b20b6db",
"npa_category": "",
"line_activation_date": null,
"line_expiry_date": null,
"adhoc_line_expiry_date": null,
"is_expired": false,
"is_hold": false,
"is_deleted": false,
"adhoc_line_amount": 2000,
"approved_line_amount": 4000,
"operative_line_amount": 4000,
"max_active_drawdowns": 0,
"active_line_amount": 0,
"principal_paid_default": 0,
"principal_outstanding": 0,
"interest_paid": 0,
"interest_outstanding": 0,
"penal_paid": 0,
"penal_outstanding": 0,
"total_paid": 0,
"total_outstanding": 0,
"total_subvention_amount": 0,
"subvention_ack": 0,
"total_disbursed_amount": 0,
"total_topup_count": 0,
"due_loan_count": 0,
"pending_disbursed_amount": 0,
"dpd": 0,
"pea_dpd": 0,
"excess_payment": 0,
"due_amount": 0,
"total_cashback_adjusted": 0,
"total_cashback_available": 0,
"total_cashback_released": 0,
"total_holdback_amount": 0,
"total_due_principal": 0,
"total_due_interest": 0,
"total_due_overdue": 0,
"total_due_penal": 0
}
]
}