v1

latestOpenAPI 3.1.02026-07-241910582.8 KB

List Line Items

Get a list of line items

get/{itemizable_type}/{itemizable_id}/line_items

Path parameters

itemizable_typestring required

One of payment_orders or expected_payments

itemizable_idstring required

The ID of the payment order or expected payment

Query parameters

after_cursorstring
per_pageinteger

Response

200

idstring
amountinteger
descriptionstring
accounting_category_idstring

Example response

[
  {
    "id": "ca12b3ec-884f-41f7-bde8-43e813dab5fa",
    "amount": 20000,
    "description": "Principal For Loan #123",
    "metadata": {
      "Type": "Principal"
    },
    "accounting_category_id": "5164efac-33ba-43f7-9589-1dfeb1f8c654"
  }
]