Debt Lines
Get debt line ledger transactions
Changed onget/debt-lines/{id}/transactions
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
startstring date
filter by start date (YYYY-MM-DD)
Example:2024-01-15
Response
Successful operation
Example response
{
"data": [
{
"date": "2024-01-15",
"settled_at": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"id": "user_0123456789ABCDEFGHIJKLMNOPq",
"currency": "USD",
"amount": 10000,
"amount_usd": 10000,
"transaction_id": "user_0123456789ABCDEFGHIJKLMNOPq",
"account_id": "user_0123456789ABCDEFGHIJKLMNOPq",
"terms_id": "user_0123456789ABCDEFGHIJKLMNOPq",
"debt_line_id": "user_0123456789ABCDEFGHIJKLMNOPq"
}
]
}Changes
- info
endpoint added
- info