Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Line Details
  • Back to home
  • LMS
  • EMIs
    • List EMI
      GET
    • List Settlements
      GET
    • Restructure
      POST
    • Calculate EMI
      POST
    • Run EOD
      POST
    • Request Tranche
      POST
  • Records
    • Request Approval
      PUT
    • Initiate Excess Payment Refund
      POST
    • Initiate Adjustment for Cashback & Holdback
      POST
    • Get Single Record
      GET
    • Record Listing
      GET
    • Create Record
      POST
    • Mark Processed
      PUT
    • Unmatched
      GET
    • Export record
      PUT
    • Bulk Create Records
      POST
  • Topups
    • List Topups
      GET
    • Unschedule a scheduled topup
      PUT
    • Reinitiate Payout
      POST
    • Check Line Amount
      PUT
    • Create Topup
      POST
    • Update Topup
      PATCH
    • Bulk Topup Create
      POST
    • Re Run Checks
      GET
    • Invoice Parse
      PATCH
  • Accounts
    • Initiate Disbursement
    • Initiate Loan Params
    • Create Account
    • Close Loan Account
    • Refresh Limit
    • Get Loan Params
    • Get Summary
    • Reset RPS
    • Update Loan Params
  • Payouts
    • Retry Failed Payout
    • Create Payout
    • Payout Callback
    • Process Payout
    • Unmatched Payouts
    • List Payouts
    • Export Payout for Bank
  • Loans
    • Export Cashback
    • Get Emi Amount
    • Get Loan Summary
    • List Loans with Excess Balance
    • Initiate Adjustment
    • Initiate Refund
    • List Loans
  • Line Details
    • Filter Line Details
      GET
    • Create
      POST
    • Update
      PATCH
    • Get by type
      GET
    • Bulk Internal
      PUT
    • Retrieve
      GET
  • Loan Data
    • Create
    • Update
    • Retrieve
  • Fee
    • Get Fee Demands
    • Bulk Create Fee
    • Create Fee
    • List Fee
    • Fee Details
    • Delete Fee
  • Extra Data
    • Update Extra Data
    • List Extra Data
  • Topup Group
    • Create Topup Group
    • List Topup Group
    • Update TopupGroup
  1. Line Details

Get by type

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/v1/lms/line_details/
Last modified:2025-01-06 12:02:54

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
type
string 
required
Example:
borrower_parent
lead_id
string 
optional
Example:
fdcb211e-d6d0-4494-ba25-d4a53cc0b139
program_id
string 
required
Example:
d5299ba7-63a3-4b4d-ade1-8f816b20b6db
company_id
string 
optional
Example:
23067dbc-6c62-4203-9014-7100e4ffe811

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/?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
        }
    ]
}
Previous
Update
Next
Bulk Internal
Built with