Debt Lines

Get debt line ledger statements

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

Request

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