SmartCredit.io
Home Page
Application
Twitter
Telegram
Search…
⌃K
Links
Introduction
How does it work?
Regulations
Staking and Rewards
Roadmap
Revenue Model
Security
Partners
Integrations
SDK Integrations
Borrowing SDK
Authentication
Validators
Collateral Ratio
Credit Line
Loan Request
View Loans
Deposit Collateral
View Collateral
Repay Loan
Terminate Loan
Liquidation
Lending SDK
Widget Integrations
SMARTCREDIT Token
Social Media Channels
FAQs
Tutorials
Decentral Autonomous Bank
Powered By
GitBook
Terminate Loan
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
})
Previous
Repay ERC20 Loan
Next
Liquidation
Last modified
9mo ago