v1

latestOpenAPI 3.1.02026-07-2639148131.7 KB
creditbook

Close loan

In the event a loan is fully repaid and all collateral is withdrawn, but wasn't closed, this directly closes the loan account and refunds the user.

post/markets/creditbook/close_loan

Headers

Idempotent-Keystring nullable

Optional idempotency key; a retried write with the same key replays the original response

Request body

loanstring required

Response

Serialized transaction