Previous Next JavaScript must be enabled to correctly display this content

## Loan API REST Endpoints

Sort by
Task Path Method
ICL Services/Loan API
This service is used for Loan API

Adds a new loan
  Method: post
  Path: `/loan`
Get all valid loan
  Method: get
  Path: `/loan`
Get pending loans for given customers
  Method: get
  Path: `/loan/pending/{lendingCustId}/{borrowingCustId}`
Initiate loan settlement
  Method: post
  Path: `/loan/{id}/initiateSettlement`
Record payment on an existing loan
  Method: patch
  Path: `/loan/{sweepLogId}/recordRepayment`
Reject an existing loan
  Method: patch
  Path: `/loan/{sweepLogId}/reject`
Retrieves the loan by ID
  Method: get
  Path: `/loan/{id}`
Update an existing loan
  Method: put
  Path: `/loan/{id}`
Update existing loan status
  Method: patch
  Path: `/loan/{sweepLogId}/updateLoanStatus/{loanStatus}`
Update sweep log ID
  Method: patch
  Path: `/loan/{id}/updateSweepLogID/{sweepLogId}`