List all Crypto Transactions

Retrieves list of all transactions that belong to a crypto wallet
Crypto
List all Crypto Transactions
 last updated: 
August 16, 2022

Retrieves list of all transactions that belong to a crypto wallet. You can use the walletId parameter to list the transactions and query parameters to filter the transactions.

ENDPOINT

  1. GET /v1/crypto/:id/transaction/

FILTERS

The table below describes various filters that can be passed as query parameters to narrow the response.

Filter Type Description
offset int start index (default = 0)
limit int number of records to return (default = 25, max = 100)
status enum transaction status code
txnType enum credit, debit
transferType enum buy, sell, send, receive
subType enum see Transaction Subtype Matrix
currency string cryptocurrency symbol (eg. BTC)
accountId string account ID
cardId string card ID
walletId string crypto wallet ID
businessId string business ID
export enum csv, json, pdf (default = json)
startTime string created time in ISO UTC format (YYYY-MM-DDThh:mm:ssZ)
endTime string created time in ISO UTC format (YYYY-MM-DDThh:mm:ssZ)
modifiedStartTime string modified time in ISO UTC format (YYYY-MM-DDThh:mm:ssZ)
modifiedEndTime string modified time in ISO UTC format (YYYY-MM-DDThh:mm:ssZ)

Example: GET /v1/account/:id/transaction?startTime={{startTime}}&endTime={{endTime}}&minAmount={{minAmount}}&maxAmount={{maxAmount}}&offset={{offset}}&limit={{limit}}

RESPONSE

  1. {
  2.   "total": 1,
  3.   "data": [
  4.     {
  5.       "id": "txn-30c6b3b4-3f05-449c-a11f-53e70b6d25e8",
  6.       "txnType": "credit",
  7.       "title": "Crypto Buy Transfer",
  8.       "amount": "0.00457436",
  9.       "transferType": "buy",
  10.       "subType": "originated",
  11.       "description": "crypto buy one",
  12.       "walletId": "cpw-4c3560e4-582c-4d9a-be54-e3725de54c8d",
  13.       "businessId": "",
  14.       "programId": "prg-ddb08641-6565-465d-ba94-ed199497299f",
  15.       "personId": "per-c1df28cb-a889-41ea-9ab3-6b33c8985c0f",
  16.       "balance": "0.00457436",
  17.       "status": "settled",
  18.       "card": null,
  19.       "send": null,
  20.       "buy": {
  21.         "quoteId": "qtn-fbfc127b-8786-4258-b20a-4896aa9424c0",
  22.         "quotedPrice": "21860.9902049713",
  23.         "quotedCurrency": "USD",
  24.         "accountId": "acc-cdc4ca0a-2f1b-4c0b-9964-2339268c2d7b"
  25.       },
  26.       "sell": null,
  27.       "receive": null,
  28.       "createdAt": "2022-06-21T14:49:35Z",
  29.       "modifiedAt": "2022-06-21T14:49:35Z",
  30.       "txnDate": "2022-06-21T14:49:35Z",
  31.       "currency": "BTC",
  32.       "familyId": "",
  33.       "parentTxnId": "",
  34.       "reviewCode": "",
  35.       "reviewMessage": "",
  36.       "parentTransferId": "",
  37.       "enrichedData": null,
  38.       "transferId": ""
  39.     }
  40.   ]
  41. }