Find transactions within the ledger.
POST {{baseUrl}}/v3/ledger/transaction/ledger?pageSize=10&offset=0&count=true
1 credit per API call.
Find transactions across whole ledger.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageSize | number | Max number of items per page is 50. Either count or pageSize is accepted. | |
offset | number | Offset to obtain the next page of data. | |
count | boolean | Get the total transaction count based on the filter. Either count or pageSize is accepted. |
Request Body
{"account"=>"5e6be8e9e6aa436299950c41", "counterAccount"=>"5e6be8e9e6aa436299950c41", "currency"=>"BTC", "from"=>1571833231000, "amount"=>[{"op"=>"gte", "value"=>"1.5"}, {"op"=>"gte", "value"=>"1.5"}], "currencies"=>["BTC", "BTC"], "transactionType"=>"nisi id minim", "transactionTypes"=>["CREDIT_PAYMENT", "CREDIT_PAYMENT"], "opType"=>"PAYMENT", "transactionCode"=>"1_01_EXTERNAL_CODE", "paymentId"=>"65426", "recipientNote"=>"65426", "senderNote"=>"65426", "to"=>1571833231000}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
[{"accountId":"5e6645712b55823de7ea82f1","reference":"5e6be8e9e6aa436299950c41","anonymous":false,"amount":"0.1","marketValue":{"amount":"1235.56","currency":"EUR","sourceDate":1572031674384,"source":"fixer.io"},"created":1572031674384,"operationType":"PAYMENT","transactionType":"CREDIT_PAYMENT","currency":"BTC","counterAccountId":"5e6645712b55823de7ea82f1","transactionCode":"1_01_EXTERNAL_CODE","senderNote":"Sender note","recipientNote":"Private note","paymentId":"65426","attr":"123","address":"qrppgud79n5h5ehqt9s7x8uc82pcag82es0w9tada0","txId":"c6c176e3f6705596d58963f0ca79b34ffa5b78874a65df9c974e22cf86a7ba67"},{"accountId":"5e6645712b55823de7ea82f1","reference":"5e6be8e9e6aa436299950c41","anonymous":false,"amount":"0.1","marketValue":{"amount":"1235.56","currency":"EUR","sourceDate":1572031674384,"source":"fixer.io"},"created":1572031674384,"operationType":"PAYMENT","transactionType":"CREDIT_PAYMENT","currency":"BTC","counterAccountId":"5e6645712b55823de7ea82f1","transactionCode":"1_01_EXTERNAL_CODE","senderNote":"Sender note","recipientNote":"Private note","paymentId":"65426","attr":"123","address":"qrppgud79n5h5ehqt9s7x8uc82pcag82es0w9tada0","txId":"c6c176e3f6705596d58963f0ca79b34ffa5b78874a65df9c974e22cf86a7ba67"}]