Appearance
Repayment & Extension Processing
Admin operations for verifying repayments, processing extensions, managing late payments, handling liquidation, and processing withdrawals.
Repayment Processing Flow
1. Verify Repayment Slip
When a user uploads a payment slip:
| Check | Description |
|---|---|
| Amount Match | Payment amount matches loan repayment + any late fees |
| Bank Details | Transfer to correct bank account |
| Date | Transfer date is current |
| Slip Authenticity | Payment reference, bank stamp, transaction ID |
After verification:
- Loan stage →
loan_closed - Collateral released back to user's wallet
- Confirmation email sent
2. Early Repayment Processing
For loans repaid before maturity:
- Early payment fee calculated by .NET backend (
CalculateEarlyRepaymentendpoint) - Fee > 0 requires user to accept early repayment agreement
- Admin verifies payment includes the early repayment fee
- Available only after 14 days from loan start (14-day rule)
3. Loan Extension Processing
Extension fee components:
- Processing fee for new term
- Interest for new term
- Late payment fee (if applicable)
- Discount codes may apply
4. Late Payment Management
When a loan enters late_payment stage:
| Action | Description |
|---|---|
| Fee Calculation | Late payment fee calculated based on overdue days |
| Notifications | Automated email reminders to user |
| Monitoring | Admin dashboard highlights overdue loans |
| Escalation | Continued non-payment may trigger liquidation |
Late payment reminders appear on the user's dashboard as urgent notifications.
5. Liquidation Management
When loan health reaches 0% (collateral value drops below the liquidation threshold):
Two types of liquidation:
- Price-drop liquidation — crypto price falls, LTV threshold breached
- Late-payment liquidation — extended non-payment triggers forced liquidation
Top-up Protection
Loans with topup_active_time (not null) are temporarily protected from both price-drop and late-payment liquidation.
6. Withdrawal Processing
When a user requests a cryptocurrency withdrawal:
| Step | Description |
|---|---|
| 1. Request | User submits withdrawal (asset, amount, destination address) |
| 2. Validation | Address format validated, sufficient balance checked |
| 3. OTP | User completes OTP verification |
| 4. Processing | Processed via custodian service (Kryptodian) |
| 5. Confirmation | Transaction hash shared, status updated |
Admin monitors withdrawal queue for:
- Unusual amounts or patterns
- Address change alerts
- Failed transactions requiring manual intervention
Next: System & Configuration →