Loan

Loan state machine

Available statuses

  • SUBMITTED '(comments: lock money from our credit_line pool)'
  • PENDING_VALIDATION (the loan will be accepted or declined by Defacto within 2 business days)
  • TO_VALIDATE
  • VALIDATED
  • SCHEDULED
  • INITIATED
  • TO_REPAY
  • TO_REPAY_FEES
  • OVERDUE
  • CLOSED
  • ISSUE_DETECTED
  • CANCELED
  • DECLINED

State machine