Debt Lines
Get a debt line's outstanding receivables pledged to Sivo by eligibility, and the criteria the ineligible ones fail
Changed onget/debt-lines/{id}/eligibility
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
Response
Successful operation
Example response
{
"debt_line_id": "user_0123456789ABCDEFGHIJKLMNOPq",
"currency": "USD",
"outstanding": {
"count": 42,
"balance": 10000
},
"eligible": {
"count": 42,
"balance": 10000
},
"ineligible": {
"count": 42,
"balance": 10000
},
"criteria": {
"max_term": "30 days"
},
"issues": [
{
"count": 42,
"balance": 10000,
"only": {
"count": 42,
"balance": 10000
}
}
]
}Changes
- info
endpoint added
- info