---
title: "List ledger transactions"
method: GET
path: "/admin/ledger/transactions"
tags: ["Admin"]
---

# List ledger transactions

`GET /admin/ledger/transactions`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/admin/ledger/transactions`
- Auth: HTTP bearer

Retrieve ledger transactions of every status, credit holds included, optionally filtered by team, order or status.

## Query parameters

- `limit` number, nullable
- `page` number, nullable
- `team_id` string, uuid
- `order_id` string, uuid
- `status` 'PENDING' | 'POSTED' | 'ARCHIVED'

## Response `200`

Ledger transactions retrieved successfully

- object
  - `total_pages` number, required
  - `current_page` number, required
  - `next_page` number, nullable, required
  - `previous_page` number, nullable, required
  - `records` LedgerTransaction[], required
    - `id` string, uuid, required
    - `created_at` union, required
      - string, nullable
      - string
      - unknown
    - `effective_at` union, required
      - string, nullable
      - string
      - unknown
    - `status` 'PENDING' | 'POSTED' | 'ARCHIVED', required
    - `description` string, required
    - `external_source` string, nullable, required
    - `external_id` string, nullable, required
    - `reverses_transaction_id` string, uuid, nullable, required
    - `reversed_by_transaction_id` string, uuid, nullable, required
    - `pending_transaction_id` string, uuid, nullable, required
    - `order_id` string, uuid, nullable, required
    - `order_item_id` string, uuid, nullable, required
    - `created_by` string, uuid, nullable, required
    - `metadata` object, nullable, required
    - `entries` object[], required
      - `id` string, uuid, required
      - `account_id` string, uuid, required
      - `account_code` string, required
      - `team_id` string, uuid, nullable, required
      - `credit_type` 'FUNDED' | 'PROMOTIONAL' | 'REFERRAL' | 'REFUND' | 'MANUAL' | 'BONUS', nullable, required
      - `direction` 'DEBIT' | 'CREDIT', required
      - `amount` number, required
      - `balance_before` number, required
      - `balance_after` number, required
      - `expires_at` union, required
        - string, nullable
        - string
        - unknown
      - `memo` string, nullable, required
  - `total_records` number, required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
