Transaction
Find transactions for a customer across all of the customer's accounts.
/v3/ledger/transaction/customer
1 credit per API call.
Finds transactions for all accounts of the customer identified by the given internal customer ID.
post/v3/ledger/transaction/customer
Request
- Base URLhttps://api.tatum.io
- URLhttps://api.tatum.io/v3/ledger/transaction/customer
- AuthAPI key in header x-api-key
Query parameters
pageSizenumber
Example:10
Max number of items per page is 50. Either count or pageSize is accepted.
offsetnumber
Offset to obtain the next page of data.
countboolean
Get total transaction count based on the filter. Either count or pageSize is accepted.
Request body
Example request
{
"id": "5e6be8e9e6aa436299950c41",
"account": "5e6be8e9e6aa436299950c41",
"counterAccount": "5e6be8e9e6aa436299950c41",
"currency": "BTC",
"from": 1571833231000,
"to": 1571833231000,
"amount": [
{
"op": "gte",
"value": "1.5"
}
],
"currencies": [
"BTC"
],
"transactionTypes": [
"CREDIT_PAYMENT"
],
"opType": "PAYMENT",
"transactionCode": "1_01_EXTERNAL_CODE",
"paymentId": "65426",
"recipientNote": "65426",
"senderNote": "65426"
}Response
OK
Example response
[
{
"accountId": "5e6645712b55823de7ea82f1",
"counterAccountId": "5e6645712b55823de7ea82f1",
"currency": "BTC",
"amount": "0.1",
"created": 1572031674384,
"marketValue": {
"amount": "1235.56",
"sourceDate": 1572031674384,
"source": "fixer.io"
},
"operationType": "PAYMENT",
"transactionType": "CREDIT_PAYMENT",
"reference": "5e6be8e9e6aa436299950c41",
"transactionCode": "1_01_EXTERNAL_CODE",
"senderNote": "Sender note",
"recipientNote": "Private note",
"paymentId": "65426",
"attr": "123",
"address": "qrppgud79n5h5ehqt9s7x8uc82pcag82es0w9tada0",
"txId": "c6c176e3f6705596d58963f0ca79b34ffa5b78874a65df9c974e22cf86a7ba67"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.