Run a command on a loan, such as approve or disburse
/lokta-lms/api/v1/loans/{loanId}Approve Loan Application:
Mandatory Fields: approvedOnDate
Optional Fields: approvedLoanAmount and expectedDisbursementDate
Approves the loan application
Undo Loan Application Approval:
Undoes the Loan Application Approval
Assign a Loan Officer:
Allows you to assign Loan Officer for existing Loan.
Unassign a Loan Officer:
Allows you to unassign the Loan Officer.
Reject Loan Application:
Mandatory Fields: rejectedOnDate
Allows you to reject the loan application
Applicant Withdraws from Loan Application:
Mandatory Fields: withdrawnOnDate
Allows the applicant to withdraw the loan application
Disburse Loan:
Mandatory Fields: actualDisbursementDate
Optional Fields: transactionAmount and fixedEmiAmount
Disburses the Loan
Undo Loan Disbursal:
Undoes the Loan Disbursal
Showing request and response for Assign a Loan Officer
When to use it
Use the command query parameter to move the loan through its lifecycle. Send command=approve with approvedOnDate, then command=disburse with actualDisbursementDate. The same URL also rejects, withdraws, assigns officers and undoes approval or disbursal.
Worth knowing
- Each command has its own required fields. They are listed in the description below.
Path parameters
loanIdpath · integer · int64 · requiredloanId
Query parameters
commandquery · string · optionalcommand
Request body application/json
actualDisbursementDatestring · optionaladjustRepaymentDatestring · optionalapprovedLoanAmountnumber · optionalapprovedOnDatestring · optionalassignmentDatestring · optionaldateFormatstring · optionaldisbursementDataarray of PostLoansLoanIdDisbursementData · optionalList of PostLoansLoanIdDisbursementData
expectedDisbursementDatestring · optionalexternalIdstring · optionalfixedEmiAmountnumber · optionalfromLoanOfficerIdinteger · int64 · optionallocalestring · optionalnotestring · optionalpaymentTypeIdinteger · int32 · optionalrejectedOnDatestring · optionaltoLoanOfficerIdinteger · int64 · optionaltransactionAmountnumber · optionalunassignedDatestring · optionalwithdrawnOnDatestring · optionalResponses
200OKResponse fields
changesPostLoansLoanIdChanges · optionalPostLoansLoanIdChanges
clientIdinteger · int64 · optionalloanIdinteger · int64 · optionalofficeIdinteger · int64 · optionalresourceExternalIdstring · optionalresourceIdinteger · int64 · optionalsubResourceExternalIdstring · optionalsubResourceIdinteger · int64 · optionalEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai