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

Bulk Internal

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
PUT
/v1/lms/line_details/bulk/internal
Last modified:2024-10-11 06:51:11

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
type
string 
required
ids
array[string]
required
Example
{
    "type": "company",
    "ids": [
        "5db3b4f9-62be-48f2-843d-5190b99851dc"
    ]
}

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 PUT 'https://preprod.api.crego.io/v1/lms/line_details/bulk/internal' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "company",
    "ids": [
        "5db3b4f9-62be-48f2-843d-5190b99851dc"
    ]
}'

Responses

🟢200bulk fetch line details
application/json
Body
array of:
_id
string 
optional
type
string 
optional
program_id
string 
optional
line_activation_date
integer 
optional
line_expiry_date
integer 
optional
is_expired
boolean 
optional
approved_line_amount
integer 
optional
operative_line_amount
integer 
optional
active_line_amount
integer 
optional
principal_paid
integer 
optional
principal_outstanding
integer 
optional
interest_paid
number 
optional
interest_outstanding
integer 
optional
overdue_paid
integer 
optional
overdue_outstanding
number 
optional
penal_paid
integer 
optional
penal_outstanding
number 
optional
total_outstanding
number 
optional
total_paid
number 
optional
total_subvention_amount
integer 
optional
subvention_ack
number 
optional
total_disbursed_amount
integer 
optional
total_topup_count
integer 
optional
due_loan_count
integer 
optional
pending_disbursal_amount
integer 
optional
dpd
integer 
optional
peak_dpd
integer 
optional
excess_payment
number 
optional
due_amount
number 
optional
total_cashback_available
integer 
optional
total_cashback_released
integer 
optional
total_cashback_adjusted
integer 
optional
total_holdback_amount
integer 
optional
npa_category
string 
optional
total_due_principal
integer 
optional
total_due_interest
integer 
optional
total_due_overdue
number 
optional
total_due_penal
number 
optional
is_hold
boolean 
optional
is_deleted
boolean 
optional
created_at
number 
optional
updated_at
number 
optional
Example
[
    {
        "_id": "5281f691-eeb3-4162-b645-c9ccb3c14a7b",
        "type": "program",
        "program_id": "6788f287-c670-46b9-8ec9-48cc351ab2bc",
        "line_activation_date": 1710700200,
        "line_expiry_date": 1742236200,
        "is_expired": false,
        "approved_line_amount": 5000000,
        "operative_line_amount": 5000000,
        "active_line_amount": 4498471,
        "principal_paid": 272388,
        "principal_outstanding": 501529,
        "interest_paid": 51.53,
        "interest_outstanding": 1292,
        "overdue_paid": 2674,
        "overdue_outstanding": 1870.011068493151,
        "penal_paid": 1910,
        "penal_outstanding": 774.0783561643834,
        "total_outstanding": 505465.0894246575,
        "total_paid": 277023.53,
        "total_subvention_amount": 7100,
        "subvention_ack": 6269.802630136986,
        "total_disbursed_amount": 827805,
        "total_topup_count": 25,
        "due_loan_count": 4,
        "pending_disbursal_amount": 14000,
        "dpd": 255,
        "peak_dpd": 255,
        "excess_payment": 23498.47,
        "due_amount": 427658.0894246575,
        "total_cashback_available": 0,
        "total_cashback_released": 0,
        "total_cashback_adjusted": 0,
        "total_holdback_amount": 0,
        "npa_category": "",
        "total_due_principal": 423722,
        "total_due_interest": 1292,
        "total_due_overdue": 1870.011068493151,
        "total_due_penal": 774.0783561643834,
        "is_hold": false,
        "is_deleted": false,
        "created_at": 1715418733.48,
        "updated_at": 1721320213.279
    }
]
🟢200Bulk Internal
Previous
Get by type
Next
Retrieve
Built with