latestOpenAPI 3.0.02026-08-04134348905.1 KB
166864b1ec6d
Tax Reporting
List Deposit Transactions for Account
List deposit transactions for a specific tax account.
get/tax/accounts/{accountId}/transactions
Path parameters
accountIdstring required
The ID of the tax account
Query parameters
startDatestring date
The start date (inclusive) in YYYY-MM-DD format. Dates are always in UTC RFC 3339 'full-date'.
endDatestring date
The end date (inclusive) in YYYY-MM-DD format. Dates are always in UTC RFC 3339 'full-date'.
limitinteger
Maximum number of results to return per query
afterIdstring
When paginating this is used to provide the starting point for the page to fetch (retrieved from the previous response body)
hasCostBasisboolean
Filter deposit transactions by cost basis presence. Set to true to return only transactions with cost basis, false for transactions without cost basis, or omit to return all transactions regardless of cost basis.
Response
Successfully returned list of deposit transactions for the tax account
Example response
{
"data": [
{
"assetType": "BTC",
"externalId": "9be748be-d760-4d36-90f8-86b699c4e8bd",
"id": "9cd9f4d4-078b-4e44-a308-7662fec0f546",
"receivedAssets": [
{
"costBasis": "2500",
"quantity": "1.0"
}
],
"transactionTime": "2022-07-30T22:15:31.99999Z"
}
],
"page": {
"next": "<next page url>"
}
}