Borrowing
Repay Loan
Repay debt on a loan (interest first, then principal)
POST
Repays part or all of a loan’s debt. Interest is paid first, then principal. Anyone can repay any loan. If the full debt is repaid, the loan closes automatically and collateral is returned.Documentation Index
Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Market ID.
Body Parameters
On-chain loan ID.
USDC to repay (capped at total debt).
Execute via relayer or return calldata.
