Skip to content

Perform Action on Business Loan

Once a business loan is created and booked you service it through the /business-loans/<id> sub-resources. The credit-decision steps (approve / deny / move) and revolving-credit withdrawals are covered in Create & Book Business Loan; this page covers the ongoing servicing actions.

Example - add an interest charge:

Terminal window
curl -X POST "https://$HOST/business-loans/$BL_ID/financial-events" \
-H "Authorization: Bearer $JWT" -H "Content-Type: application/json" \
-d '{ "type_code": "BUSINESS_LOAN_INTEREST", "amount": 125.00, "description": "Manual interest" }'
ActionEndpointRightWhat it does
Add feePOST /business-loans/<id>/financial-eventsCreateCollectionBatchFinancialEventBook a BUSINESS_LOAN_FEE event.
Add interestPOST /business-loans/<id>/financial-eventsCreateCollectionBatchFinancialEventBook a BUSINESS_LOAN_INTEREST event.
Write off feePOST /business-loans/<id>/financial-eventsCreateCollectionBatchFinancialEventBook a BUSINESS_LOAN_FEE_WRITE_OFF event.
Write off interestPOST /business-loans/<id>/financial-eventsCreateCollectionBatchFinancialEventBook a BUSINESS_LOAN_INTEREST_WRITE_OFF event.
Withdraw (revolving)PUT /business-loans/<id>/withdrawCreateBusinessLoanWithdrawalRequest a withdrawal on a revolving-credit loan (dual approval). See the create page.
Update loanPUT /business-loans/<id>UpdateBusinessLoanUpdate editable loan fields.
Update profilePUT /business-loans/<id>/profileUpdateBusinessLoanUpdate the attached loan profile.
Installment summaryPUT /business-loans/<id>/installment/summaryInstallmentSummaryBusinessLoansRecalculate the installment schedule/summary.
ArchivePUT /business-loans/<id>/archive/addAddToArchiveBusinessLoansArchive a loan (only before booking).
UnarchivePUT /business-loans/<id>/archive/removeRemoveFromArchiveBusinessLoansRestore an archived loan.

The type_code on a financial event must be one of BUSINESS_LOAN_FEE, BUSINESS_LOAN_INTEREST, BUSINESS_LOAN_FEE_WRITE_OFF, or BUSINESS_LOAN_INTEREST_WRITE_OFF, and the amount must be non-zero. Inspect history with GET /business-loans/<id>/financial-events, and the read-only /fees, /guarantors, and /profile sub-resources.