> ## Documentation Index
> Fetch the complete documentation index at: https://docs.positions.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Repaying Debt

> Repay borrowed assets to improve health factor

Repay borrowed assets to improve account health.

Like deposits, approval is handled automatically if needed.

```typescript theme={null}
const repayAmount = 0.001;
const tx = await sdk.repayDebt(wbtcAddress, repayAmount);
console.log("Repayment transaction:", tx);
```
