Skip to content
Hightop docs header art
Hightop
Reference

/borrow/deleverage

POST/v1/agent/borrow/deleverage

Create a target-LTV deleverage operation

Requires API-key authentication (agentAuth, agentId).

Request body

target_ltvrequiredstring
max_repay_amount_usdstring
source_assetstring
use_available_cash_firstboolean
allow_conversionboolean
allow_partialboolean

Response

okrequiredenum
true
operation_idrequiredstring
statusrequiredenum
accepted · policy_rejected · submitted · executed · execution_failed · cancelled
fee_usdrequiredstring
human_messagestring
repay_amount_usdstring
estimated_ltv_afterstring