Debt Lines

Get a debt line's outstanding receivables pledged to Sivo by eligibility, and the criteria the ineligible ones fail

Changed on
get/debt-lines/{id}/eligibility

Request

Path parameters

idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

Response

Successful operation

debt_line_idstring required

An object id with prefix

currencystring required

The debt line currency every balance is converted to

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