Closed AndyGabler closed 3 years ago
Here is a rough API design. Please note, this diagram fails to mention that a decimal tag named "amount" will be used in the request.
Talked with @genocidalist and @frap129 about this one. We expect that the frontend and backend will have a list of Loan Offers that will have the same information. The "templateId" is how the frontend and backend matchup the loan offer being used.
Creating a table of loan offers so that the backend and frontend have the same data.
I think 6 ought to give us enough to play with.
Template ID | Offer Name | Loan Interest (Fraction) | Loan Terms | Bank |
---|---|---|---|---|
1 | Presidential Loan | 0.07 | Unsubsidized | Bank of America |
2 | Honors Loan | 0.05 | Unsubsidized | Bank of America |
3 | Scholars Loan | 0.02 | Subsidized | Bank of America |
4 | Honey Loan | 0.089 | Unsubsidized | Honey Bank |
5 | Sweet Honey Loan | 0.06 | Subsidized | Honey Bank |
6 | Larvae Loan | 0.01 | Unsubsidized, barring exceptional circumstance, only given to lowerclassmen. | Honey Bank |
As a student, I would like to be able to apply for a loan from.