v1
latestOpenAPI 3.1.02026-07-2639148131.7 KBcreditbook
Simple repay loan
A simplified repay endpoint that handles a single strategy at a time. Unlike the full repay endpoint, it does not support CPI instructions, collateral withdrawals, or setup instructions. If a ledger is fully repaid on a multi-ledger loan, weight matrix updates are automatically generated to redistribute collateral away from the emptied ledger.
post/markets/creditbook/repay_simple
Headers
Idempotent-Keystring nullable
Optional idempotency key; a retried write with the same key replays the original response
Request body
Response
Serialized transactions and expected post-repayment loan state.