Reconciliation

Retrieve ledger lines

Changed on

Retrieve ledger lines generated for a specific role. Example, retrieve all ledger lines that a reseller manager has against all resellers

get/v3/reconciliation/ledgerLines

Request

Query parameters

context'RESELLER_MANAGER' required

Currently only supported value is 'RESELLER_MANAGER'

pageinteger

Page number to be returned in the result. Default value is 1

sizeinteger

Size of the page to be returned. Default value is 50, maximum allowed is 250

sortOrder'ASC' | 'DESC'

Sorting is done against 'reconciliationDate'. Defaults to sorting in ascending order

fromDatenumber

Filters ledger lines from given date. Filtering is performed against the reconciliation date of the ledger line. The parameter represents milliseconds since epoch date, but only the date part is taken into account. The time component is ignored

toDatenumber

Filters ledger lines until given date. Filtering is performed against the reconciliation date of the ledger line. The parameter represents milliseconds since epoch date, but only the date part is taken into account. The time component is ignored

reconciliationType'ITEM' | 'TAX' | 'DISCOUNT' | 'TERMINATION_FEE' | 'ADJUSTMENT' | 'RESELLER_MARKUP' | 'CHANNEL_MARKUP' | 'APPDIRECT_FEE'

Filters by ledger line reconciliation type

operationType'CREDIT' | 'DEBIT'

Filters by ledger line operation type

Response

OK

Example response

{
  "links": [
    {
      "href": "...",
      "rel": "..."
    },
    {
      "href": "...",
      "rel": "..."
    }
  ]
}

Changes