Request body
amountE6stringrequiredAmount, as an E6 string; must be positive
Response
200Repaid; returns the updated credit statedebtE6stringDebt including accrued interest, as an E6 string
equityE6stringAccount equity, as an E6 string
grossE6stringGross exposure, as an E6 string
healthBpsstringnullableHealth, in basis points. null when there is no debt (health is undefined then) — do not treat it as 0
healthybooleanWhether the account is above the maintenance line; true when there is no debt
borrowAprBpsstringBorrow APR, in basis points
maxBorrowE6stringCurrent borrowing limit, as an E6 string
lendDepositE6stringPrincipal currently lent out, as an E6 string
maintenanceBpsstringMaintenance margin rate, in basis points; liquidation triggers when healthBps falls below it
initialMarginBpsstringInitial margin rate, in basis points
Switch status codes in the response example to view errors. For all codes, see the Errors page.
