Debt Lines
Get debt line ledger statements
Changed onget/debt-lines/{id}/statements
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
ledger'principal' | 'accrued' | 'fees' | 'collateral'
filter by type of ledger
periodstring
the period for the statement
Example:2024-01
Response
Successful operation
Example response
{
"data": [
{
"currency": "USD",
"period": "2024-01",
"start_balance": 10000,
"start_balance_usd": 10000,
"end_balance": 10000,
"end_balance_usd": 10000,
"increases": 10000,
"increases_usd": 10000,
"decreases": 10000,
"decreases_usd": 10000
}
]
}Changes
- info
endpoint added
- info