Appearance
Loan Request
End-to-end loan application — from the loan calculator through summary review to contract signing.
Flow Overview
1. Loan Calculator
| Route | /loan-request |
The core of the loan request — a bidirectional calculator that works in two directions:
| Direction | Input | Output |
|---|---|---|
| Collateral → Loan | Enter crypto volume | Calculates loan amount in THB |
| Loan → Collateral | Enter desired THB amount | Calculates required crypto volume |
Parameters
| Parameter | Options |
|---|---|
| Loan Duration | 30 / 60 / 90 days (configurable) |
| LTV | Loan-to-Value percentage (e.g. 50%, 60%, 70%) |
| Asset Type | BTC, ETH, USDT, etc. |
| Network | ERC20, TRC20, BEP20, etc. |
Real-time Features
- Live price feeds — refreshed every 5 minutes
- Price freshness validation (must be < 24 hours old)
- Debounced calculations (300ms) for smooth UX
- Health preview showing risk levels at current price
Fee Breakdown
| Fee | Calculation |
|---|---|
| Processing Fee | loan_amount × fee_rate% |
| Interest | annual_rate × duration_rate × loan_amount |
| Third-Party Service Fee | Base fee + variable formula based on loan amount and collateral value |
| Receiving Amount | loan_amount − processing_fee − interest − third_party_fee |
| Total Repayment | loan_amount (principal only) |
Promotional Discount
First-time borrowers may qualify for discounted fees:
- 0% processing fee and 0% interest
- Conditions: first loan, ≤ 100,000 THB, ≤ 30 days, within promotion period
- Displayed with strikethrough of original rates
Validation & Limits
- Minimum loan amount per duration (configurable)
- Maximum loan amount = user's
max_loanlimit − total active loans - KYC tier ≥ 1 required to submit
Loan Start/End Date Logic
- Before 5 PM: Start date = today
- After 5 PM: Start date = next day at 10:00 AM
- End date: Start date + loan duration days
2. Loan Summary
| Route | /loan-summary |
Review page displaying all locked conditions before contract signing:
- Collateral details (asset, network, volume, value in THB)
- Loan terms (amount, duration, start/end dates)
- Fee breakdown (processing fee, interest, third-party fee)
- Receiving amount and total repayment
- Risk level preview
Condition Lock
All prices, rates, and calculations are locked at the time of submission from the calculator. This prevents price changes during the application review process.
3. Sign Contract
| Route | /sign-contract/:id |
- View full loan contract document (PDF/HTML)
- Digital signature via signature pad
- Accept final terms checkbox
- OTP verification for security
- Submit → loan stage becomes
deposit_pending
4. Collateral Deposit
After signing, the user must deposit the agreed collateral amount:
- A unique deposit address is generated (via custodian)
- User sends crypto from their wallet to this address
- Deposit confirmed via webhook
- Stage transitions:
deposit_pending→collateral_deposited→loan_active - THB loan amount is disbursed to user's bank account
5. Re-sign / Re-apply
| Route | /loan-request (with resign parameter) |
If a loan needs to be re-applied (e.g., expired conditions):
- Loads all values from the original loan request
- Pre-fills the calculator form
- On submit → creates a new contract and cancels the old one
Next: Loan Management →