Added
Added Ledger Transactions to Orders and Withdrawals API
1 day ago by CoinGate
The Get Order and 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 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.
