Single Loan
SmartCredit.io Borrowing SDK - viewLoanDetail() fetches full details for a specific loan request by ID, including status, collateral, and outstanding balance.
Last updated:
async viewLoanDetail()
To view the details for specific loan request, you should use:
token:string– is the token you will get from the authenticationloanId:number– is the id of that specific loan.
const response = await this.newBorrowingService.getLoanDetail({
token: token, loanId
})