Debt Lines

Get debt line ledger transactions

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

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

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