Find transactions for a customer across all of the customer's accounts.

POST {{baseUrl}}/v3/ledger/transaction/customer?pageSize=10&offset=0&count=true

1 credit per API call.


Finds transactions for all accounts of the customer identified by the given internal customer ID.

Request Params

KeyDatatypeRequiredDescription
pageSizenumberMax number of items per page is 50. Either count or pageSize is accepted.
offsetnumberOffset to obtain the next page of data.
countbooleanGet total transaction count based on the filter. Either count or pageSize is accepted.

Request Body

{"id"=>"5e6be8e9e6aa436299950c41", "account"=>"5e6be8e9e6aa436299950c41", "counterAccount"=>"5e6be8e9e6aa436299950c41", "currency"=>"BTC", "from"=>1571833231000, "to"=>1571833231000, "amount"=>[{"op"=>"gte", "value"=>"1.5"}, {"op"=>"gte", "value"=>"1.5"}], "currencies"=>["BTC", "BTC"], "transactionType"=>"ut proident irure non", "transactionTypes"=>["CREDIT_PAYMENT", "CREDIT_PAYMENT"], "opType"=>"PAYMENT", "transactionCode"=>"1_01_EXTERNAL_CODE", "paymentId"=>"65426", "recipientNote"=>"65426", "senderNote"=>"65426"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

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"}]