Added

Ledger transactions on orders and withdrawals

See exactly how an order or a withdrawal moved your balance. Orders and withdrawals now include their ledger transactions, and you can look up the ledger transactions for any order or withdrawal.

On orders and withdrawals

Get order and Get withdrawal now return a ledger_transactions array with the completed entries for that order or withdrawal, fees included.

FieldDescription
idThe ledger transaction ID
typeThe transaction type
credited_amountAmount credited, or 0
debited_amountAmount debited, or 0
purposeWhat the entry is for

Find ledger transactions by source

List ledger transactions now takes source_type and source_id. Send both to get the transactions for one order or withdrawal.

GET https://api.coingate.com/v2/ledger/transactions?source_type=Order&source_id={order_id}
📘

Trace a transaction to its source

List ledger transactions and Get ledger transaction now return source_type and source_id on every transaction, so you can trace it back to the order or withdrawal it came from.