Terminate Loan
SmartCredit.io Borrowing SDK - terminateLoan() cancels an unfunded loan request by ID before it has been matched with a lender's Fixed Income Fund.
Last updated:
async terminateLoan()
For terminating a loan you should use:
token:string- is the token that you will get from the authentication.id:string- is the loanId of the loan you want to terminate
const response = await this.newBorrowingService.terminateLoan({token, id})