Debt Lines
Estimate what a draw pays the payout account, converted at the current rate
Changed onget/debt-lines/{id}/draw/estimate
Request
- Base URLhttps://core.sivo.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://dashboard.sivo.com/oauth/authorizeClient credentialsToken URLhttps://core.sivo.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
An object id with prefix
Example:user_0123456789ABCDEFGHIJKLMNOPq
Query parameters
amountnumber nullable
amount of principal to draw, in the debt line currency
Response
Successful operation
Example response
{
"amount": 10000,
"currency": "USD",
"payment_amount": 10000,
"payment_currency": "USD"
}Changes
- info
endpoint added
- info