Loans
Complete loan lifecycle management including applications, approvals, disbursements, repayments, and write-offs
/fineract-provider/api/v1/loansList all loans
Retrieves a list of all loan accounts. Supports filtering by client, status, loan product, and external ID.
Query Parameters
sqlSearchstringSQL-style search query
externalIdstringFilter by external ID
offsetintegerPagination offset
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"totalFilteredRecords": 25,
"pageItems": [
{
"id": 1,
"displayName": "Sample Item 1",
"status": "active"
},
{
"id": 2,
"displayName": "Sample Item 2",
"status": "active"
}
]
}/fineract-provider/api/v1/loans/{loanId}Retrieve a loan
Retrieves detailed information about a specific loan including repayment schedule, transactions, charges, guarantors, and collateral.
Path Parameters
loanIdintegerrequiredUnique identifier of the loan
Query Parameters
associationsstringComma-separated list: all, repaymentSchedule, futureSchedule, originalSchedule, transactions, charges, guarantors, collateral, notes, linkedAccount
excludestringFields to exclude from response
fieldsstringSpecific fields to include
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"id": 1,
"status": {
"id": 300,
"code": "statusType.active",
"value": "Active"
},
"officeId": 1,
"officeName": "Head Office",
"createdDate": "2024-01-15",
"lastModifiedDate": "2024-01-20"
}/fineract-provider/api/v1/loans/templateRetrieve loan application template
Returns template data needed to create a new loan application, including available products and field options.
Query Parameters
clientIdintegerClient ID for the loan
groupIdintegerGroup ID for group loans
productIdintegerProduct ID to get specific product template
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/template" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"totalFilteredRecords": 25,
"pageItems": [
{
"id": 1,
"displayName": "Sample Item 1",
"status": "active"
},
{
"id": 2,
"displayName": "Sample Item 2",
"status": "active"
}
]
}/fineract-provider/api/v1/loans?command=calculateLoanScheduleCalculate loan repayment schedule
Calculates a projected repayment schedule based on the provided loan terms without creating an application.
Request Bodyrequired
Loan terms for schedule calculation
productIdintegerLoan product ID
principalnumberPrincipal amount
loanTermFrequencyintegerLoan term
loanTermFrequencyTypeintegerTerm frequency type (0=Days, 1=Weeks, 2=Months, 3=Years)
numberOfRepaymentsintegerNumber of installments
repaymentEveryintegerRepayment frequency
repaymentFrequencyTypeintegerRepayment frequency type
interestRatePerPeriodnumberInterest rate
amortizationTypeintegerAmortization type (0=Equal installments, 1=Equal principal)
interestTypeintegerInterest type (0=Declining balance, 1=Flat)
interestCalculationPeriodTypeintegerInterest calculation period
expectedDisbursementDatestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans?command=calculateLoanSchedule" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"productId": 1,
"principal": 1000,
"loanTermFrequency": 1,
"loanTermFrequencyType": 1,
"numberOfRepayments": 1,
"repaymentEvery": 1,
"repaymentFrequencyType": 1,
"interestRatePerPeriod": 1000,
"amortizationType": 1,
"interestType": 1,
"interestCalculationPeriodType": 1,
"expectedDisbursementDate": "01 January 2024",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loansSubmit a new loan application
Submits a new loan application for a client or group. The loan will be in 'Submitted and pending approval' status.
Request Bodyrequired
Loan application details
clientIdintegerClient ID
groupIdintegerGroup ID (for group loans)
productIdintegerLoan product ID
loanOfficerIdintegerAssigned loan officer ID
loanPurposeIdintegerLoan purpose code value ID
fundIdintegerFund ID
principalnumberPrincipal amount requested
loanTermFrequencyintegerLoan term length
loanTermFrequencyTypeintegerTerm frequency type
numberOfRepaymentsintegerNumber of repayment installments
repaymentEveryintegerRepayment frequency
repaymentFrequencyTypeintegerRepayment frequency type
repaymentFrequencyNthDayTypeintegerNth day of month for repayment
repaymentFrequencyDayOfWeekTypeintegerDay of week for repayment
interestRatePerPeriodnumberInterest rate per period
amortizationTypeintegerAmortization type
interestTypeintegerInterest calculation method
interestCalculationPeriodTypeintegerInterest calculation period
transactionProcessingStrategyCodestringPayment allocation strategy
graceOnPrincipalPaymentintegerGrace periods on principal
graceOnInterestPaymentintegerGrace periods on interest
graceOnInterestChargedintegerGrace periods interest charged
expectedDisbursementDatestringExpected disbursement date
submittedOnDatestringApplication submission date
linkAccountIdintegerLinked savings account ID
externalIdstringExternal reference ID
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"clientId": 1,
"groupId": 1,
"productId": 1,
"loanOfficerId": 1,
"loanPurposeId": 1,
"fundId": 1,
"principal": 1000,
"loanTermFrequency": 1,
"loanTermFrequencyType": 1,
"numberOfRepayments": 1,
"repaymentEvery": 1,
"repaymentFrequencyType": 1,
"repaymentFrequencyNthDayType": 1,
"repaymentFrequencyDayOfWeekType": 1,
"interestRatePerPeriod": 1000,
"amortizationType": 1,
"interestType": 1,
"interestCalculationPeriodType": 1,
"transactionProcessingStrategyCode": "sample_transactionProcessingStrategyCode",
"graceOnPrincipalPayment": 1,
"graceOnInterestPayment": 1,
"graceOnInterestCharged": 1,
"expectedDisbursementDate": "01 January 2024",
"submittedOnDate": "01 January 2024",
"linkAccountId": 1,
"externalId": "sample_externalId",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}Update a loan application
Modifies a loan application that is still in 'Submitted and pending approval' status.
Path Parameters
loanIdintegerrequiredLoan ID to update
Request Bodyrequired
Updated loan details
principalnumberloanTermFrequencyintegernumberOfRepaymentsintegerinterestRatePerPeriodnumberexpectedDisbursementDatestringdateFormatstringlocalestringReturns
Request
curl --request PUT \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"principal": 1000,
"loanTermFrequency": 1,
"numberOfRepayments": 1,
"interestRatePerPeriod": 1000,
"expectedDisbursementDate": "01 January 2024",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}Delete a loan application
Deletes a loan application that is still in 'Submitted and pending approval' status.
Path Parameters
loanIdintegerrequiredLoan ID to delete
Returns
Request
curl --request DELETE \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=approveApprove a loan application
Approves a pending loan application. The approved amount may differ from the requested amount. The loan will move to 'Approved' status.
Path Parameters
loanIdintegerrequiredLoan ID to approve
Request Bodyrequired
Approval details
approvedOnDatestringDate of approval
approvedLoanAmountnumberApproved principal amount (if different from requested)
expectedDisbursementDatestringExpected disbursement date
notestringApproval notes
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=approve" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"approvedOnDate": "01 January 2024",
"approvedLoanAmount": 1000,
"expectedDisbursementDate": "01 January 2024",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=undoApprovalUndo loan approval
Reverts an approved loan back to 'Submitted and pending approval' status.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Undo approval details
notestringReason for undoing approval
Returns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=undoApproval" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"note": "sample_note"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=rejectReject a loan application
Rejects a pending loan application with a specified reason.
Path Parameters
loanIdintegerrequiredLoan ID to reject
Request Bodyrequired
Rejection details
rejectedOnDatestringnotestringRejection reason
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=reject" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"rejectedOnDate": "01 January 2024",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=withdrawnByApplicantWithdraw loan application
Withdraws a loan application at the applicant's request.
Path Parameters
loanIdintegerrequiredLoan ID to withdraw
Request Bodyrequired
Withdrawal details
withdrawnOnDatestringnotestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=withdrawnByApplicant" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"withdrawnOnDate": "01 January 2024",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=disburseDisburse a loan
Disburses an approved loan. This activates the loan and starts the repayment schedule. The loan moves to 'Active' status.
Path Parameters
loanIdintegerrequiredLoan ID to disburse
Request Bodyrequired
Disbursement details
actualDisbursementDatestringActual disbursement date
transactionAmountnumberAmount to disburse (if partial)
paymentTypeIdintegerPayment method ID
accountNumberstringAccount number for transfer
checkNumberstringCheck number if applicable
routingCodestringBank routing code
receiptNumberstringReceipt number
bankNumberstringBank number
notestringDisbursement notes
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=disburse" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"actualDisbursementDate": "01 January 2024",
"transactionAmount": 1000,
"paymentTypeId": 1,
"accountNumber": "sample_accountNumber",
"checkNumber": "sample_checkNumber",
"routingCode": "sample_routingCode",
"receiptNumber": "sample_receiptNumber",
"bankNumber": "sample_bankNumber",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=disburseToSavingsDisburse loan to savings account
Disburses an approved loan directly to the client's linked savings account.
Path Parameters
loanIdintegerrequiredLoan ID to disburse
Request Bodyrequired
Disbursement details
actualDisbursementDatestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=disburseToSavings" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"actualDisbursementDate": "01 January 2024",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=undoDisbursalUndo loan disbursement
Reverts a disbursed loan back to 'Approved' status. Only possible if no repayments have been made.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Undo disbursement details
notestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=undoDisbursal" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"note": "sample_note"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}?command=assignLoanOfficerAssign loan officer
Assigns or reassigns a loan officer to the loan.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Assignment details
toLoanOfficerIdintegerStaff ID of new loan officer
assignmentDatestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId?command=assignLoanOfficer" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"toLoanOfficerId": 1,
"assignmentDate": "01 January 2024",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=repaymentMake a loan repayment
Records a loan repayment transaction. The payment will be applied according to the loan's payment allocation strategy.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Repayment details
transactionDatestringDate of payment
transactionAmountnumberPayment amount
paymentTypeIdintegerPayment method ID
accountNumberstringAccount number
checkNumberstringCheck number
routingCodestringRouting code
receiptNumberstringReceipt number
bankNumberstringBank number
notestringTransaction notes
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=repayment" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"transactionAmount": 1000,
"paymentTypeId": 1,
"accountNumber": "sample_accountNumber",
"checkNumber": "sample_checkNumber",
"routingCode": "sample_routingCode",
"receiptNumber": "sample_receiptNumber",
"bankNumber": "sample_bankNumber",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=prepayLoanPrepay loan (early closure)
Makes a prepayment to close the loan early. Calculates the payoff amount including any applicable charges.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Prepayment details
transactionDatestringtransactionAmountnumberFull payoff amount
paymentTypeIdintegernotestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=prepayLoan" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"transactionAmount": 1000,
"paymentTypeId": 1,
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=waiveInterestWaive interest
Waives a portion of the outstanding interest on a loan.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Waiver details
transactionDatestringtransactionAmountnumberAmount of interest to waive
notestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=waiveInterest" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"transactionAmount": 1000,
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=writeoffWrite-off a loan
Writes off the outstanding loan balance as a loss. The loan moves to 'Closed (written off)' status.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Write-off details
transactionDatestringnotestringWrite-off reason
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=writeoff" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=undowriteoffUndo loan write-off
Reverses a loan write-off transaction, restoring the loan to active status.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Undo write-off details
notestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=undowriteoff" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"note": "sample_note"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=recoverypaymentRecord recovery payment
Records a recovery payment on a written-off loan.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Recovery payment details
transactionDatestringtransactionAmountnumberpaymentTypeIdintegernotestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=recoverypayment" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"transactionAmount": 1000,
"paymentTypeId": 1,
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions?command=foreclosureForeclose a loan
Forecloses an active loan, closing it with a final settlement.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Foreclosure details
transactionDatestringnotestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions?command=foreclosure" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/transactions/{transactionId}Retrieve loan transaction
Gets details of a specific loan transaction.
Path Parameters
loanIdintegerrequiredLoan ID
transactionIdintegerrequiredTransaction ID
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions/:transactionId" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"id": 1,
"status": {
"id": 300,
"code": "statusType.active",
"value": "Active"
},
"officeId": 1,
"officeName": "Head Office",
"createdDate": "2024-01-15",
"lastModifiedDate": "2024-01-20"
}/fineract-provider/api/v1/loans/{loanId}/transactions/{transactionId}Adjust a loan transaction
Reverses and replaces a loan transaction with corrected details.
Path Parameters
loanIdintegerrequiredLoan ID
transactionIdintegerrequiredTransaction ID to adjust
Request Bodyrequired
Adjusted transaction details
transactionDatestringtransactionAmountnumberpaymentTypeIdintegernotestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/transactions/:transactionId" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"transactionDate": "01 January 2024",
"transactionAmount": 1000,
"paymentTypeId": 1,
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/loans/{loanId}/chargesList loan charges
Retrieves all charges associated with a loan.
Path Parameters
loanIdintegerrequiredLoan ID
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/charges" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"id": 1,
"status": {
"id": 300,
"code": "statusType.active",
"value": "Active"
},
"officeId": 1,
"officeName": "Head Office",
"createdDate": "2024-01-15",
"lastModifiedDate": "2024-01-20"
}/fineract-provider/api/v1/loans/{loanId}/chargesAdd a loan charge
Adds a new charge to an existing loan.
Path Parameters
loanIdintegerrequiredLoan ID
Request Bodyrequired
Charge details
chargeIdintegerCharge definition ID
amountnumberCharge amount
dueDatestringDue date for the charge
dateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/loans/:loanId/charges" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"chargeId": 1,
"amount": 1000,
"dueDate": "01 January 2024",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}Was this page helpful?