Skip to main content

Loan Accounts API

Overview

The Loan Accounts API provides comprehensive endpoints for managing customer loan accounts, including loan origination, approval workflows, and loan servicing.

Loan Account Lifecycle & State Transitions

The loan lifecycle manages the journey from application through approval, disbursement, repayment, and eventual closure. This diagram illustrates all possible states and transitions.

State Descriptions

StateDescriptionTransactions Allowed
Partial ApplicationLoan being created/draftedNone
Pending ApprovalSubmitted for credit approvalNone
ApprovedApproved, awaiting disbursementDisbursement only
RejectedApplication rejectedNone
ActiveLoan disbursed, repayments ongoingRepayments, adjustments
In ArrearsPayment overdueRepayments, penalties
ClosedLoan fully repaidView only
Closed Written OffLoan closed with debt write-offView only
Closed WithdrawnCustomer withdrew before disbursementView only

State Change Commands

ActionCommandFrom StateTo State
Create LoanCreateLoanCommand-Partial Application
Request ApprovalRequestLoanApprovalCommandPartial ApplicationPending Approval
Approve LoanApproveLoanCommandPending ApprovalApproved
Reject LoanRejectLoanCommandPending ApprovalRejected
Send BackSetLoanBackToPartialApplicationCommandPending ApprovalPartial Application
Disburse LoanDisburseLoanCommandApprovedActive
Close LoanCloseLoanCommandActive, In ArrearsClosed
Write OffInitiateLoanWriteOffCommandIn ArrearsClosed Written Off
Pay Off LoanInitiateLoanPayOffCommandActiveClosed
Refinance LoanInitiateLoanRefinanceCommandActiveActive (new terms)
Reschedule LoanInitiateLoanRescheduleCommandActiveActive (new schedule)
Undo ApprovalUndoLoanApprovalCommandApprovedPending Approval
Mark In ArrearsAutomatic (on missed payment)ActiveIn Arrears
Clear ArrearsAutomatic (on catch-up payment)In ArrearsActive

Repayment Tracking

When a loan is in Active or In Arrears state, the system tracks:

  • Outstanding Principal: Remaining loan amount
  • Interest Accrued: Interest charges to date
  • Penalties: Late payment penalties (when in arrears)
  • Days Past Due: Number of days overdue (when in arrears)
  • Next Payment Due Date: Scheduled payment date
  • Payment History: All repayment transactions

Coming Soon

Documentation for the Loan Accounts API is currently being developed. This module will include:

  • Create Loan - Originate new loan accounts
  • Loan Approval - Handle approval workflows
  • Update Loan - Modify loan terms
  • Get Loan Details - Retrieve loan information
  • Loan Restructuring - Modify repayment schedules
  • Loan Status - Manage loan lifecycle

Module Status

📝 Status: Documentation in progress
🎯 Target: Q1 2026
📧 Contact: For early access or questions, contact our API team