---
agentTools:
  projectIndex: https://developer.coingate.com/llms.txt
---

# Added Ledger Transactions to Orders and Withdrawals API

The [Get Order](https://developer.coingate.com/reference/get-order) and [Get Withdrawal](https://developer.coingate.com/reference/get-withdrawal) API responses now include a **ledger\_transactions** array, giving merchants direct visibility into the accounting entries associated with each order or withdrawal.

Each ledger transaction entry includes:

* **id** — the ledger entry identifier
* **type** — the transaction type
* **credited\_amount** — amount credited (positive movements)
* **debited\_amount** — amount debited (negative movements)
* **purpose** — a description of the entry

In addition, the [List Transactions](https://developer.coingate.com/reference/list-transactions) endpoint now supports filtering by source using the **source\_id** and **source\_type** query parameters. For example, to retrieve all ledger entries for a specific order

`GET https://api.coingate.com/v2/ledger/transactions?source_id=<order_id>&source_type=Order`

Each ledger entry response also now includes **source\_id** and **source\_type** fields, making it easier to trace entries back to their originating resource.

<br />