Credit Loan Feature enables users to:
- Use existing equity as collateral for loans
- Borrow from verified creditors within the platform
- Manage loan repayments
Key Endpoints:
- Create Loan: Initiate a new loan with matched configuration
- Get Loans By Creditor: Monitor all loans you’ve issued
- Get Loan Configuration: View your current loan configuration
- Get User by ID: Retrieve user details including personal information and verification status
- Get User Investments: Fetch user’s investment portfolio including equity, SAFE, debt, and fixed interest investments
- Get User Tokens: Retrieve detailed information about tokens owned by the user, including their current value and investment details
- Repay Loan: Process loan repayment by specifying the loan ID and repayment amount
- Get Loan By ID: Fetch a loan by its id
💡 The system automatically calculates loan amounts based on collateral value and handles collateral management during repayment.
