Skip to content

Loan Lifecycle

Complete lifecycle of a loan from application to closure, showing all possible stage transitions and the actions that trigger them.

Full Lifecycle Diagram


Stage Descriptions

Pre-Active Stages

StageDescriptionTriggered By
applicationLoan request submitted, pending admin reviewUser submits loan request
deposit_pendingApproved, waiting for user to deposit collateralAdmin approves loan
collateral_depositedCollateral received, being verifiedCustodian webhook confirms deposit

Active Stages

StageDescriptionTriggered By
loan_activeLoan is running, THB has been disbursedSystem confirms collateral
close_to_maturedLoan nearing maturity dateAutomated (time-based)
loan_maturedLoan has reached its maturity dateAutomated (time-based)
late_paymentPast maturity, repayment overdueAutomated (time-based)
paymentUser has submitted repayment, pending verificationUser uploads payment slip
extension_requestedUser requested a term extensionUser submits extension

Terminal Stages

StageDescriptionTriggered By
loan_closedLoan fully repaid and closedAdmin verifies payment
loan_cancelLoan cancelled before activationAdmin rejects or user cancels
liquidatedCollateral liquidated due to price drop or non-paymentSystem automatic
extendedOld loan archived after extensionExtension contract signed

User Actions per Stage

StageAvailable Actions
applicationWait for approval, Cancel
deposit_pendingDeposit collateral
collateral_depositedWait for activation
loan_activeTop-up, Repay (after 14 days)
close_to_maturedRepay, Extend, Top-up
loan_maturedRepay, Extend
late_paymentRepay (with late fee), Extend
paymentUpload slip, Wait for verification
extension_requestedPay extension fee, Sign contract
loan_closedView history
loan_cancelView history
liquidatedView history

Repayment Rules

14-Day Rule

  • During loan_active stage: repayment is only available 14 days after loan_start
  • This enables early repayment with an early payment fee
  • For matured stages (close_to_matured, loan_matured, payment, late_payment): repayment is immediately available

Extension Eligibility

  • No 14-day restriction for extensions
  • Available at: close_to_matured, loan_matured, payment, late_payment

Health & Liquidation

Loan health is calculated as:

health% = (current_collateral_value − liquidation_threshold) / (initial_collateral_value − liquidation_threshold) × 100
LevelRangeMeaning
Healthy≥ 75%No action needed
Risk LV.150–75%Consider top-up
Risk LV.225–50%Top-up recommended
Risk LV.30–25%Imminent liquidation risk
Liquidated≤ 0%Collateral sold

Top-up protection: Loans with active top-up are temporarily shielded from liquidation.

Confidential — For internal and authorized partner use only.