Get account activity details
Returns transaction-level account activity grouped by account for a Retrieval authorization transaction. This endpoint is the migration target for the deprecated legacy `accountTransactions` API and adds support for a configurable historical window through `lookbackWindowMonths`, evaluated as calendar months relative to the request date.
**Warning**</br>Please wait to receive the [DataReady](/api-reference/api/event-notifications/data-ready) event before calling this endpoint. Requests made before the DataReady event may return partial data.
Authentication
AuthorizationBasic
Path parameters
transactionId
Transaction ID retrieved from a Trustly Authorization transaction.
Query parameters
cursor
Opaque pagination cursor returned in nextCursor from a prior response.
count
Maximum number of activity entries to return per page.
lookbackWindowMonths
Historical window for the activity query in calendar months. Trustly converts the selected month window to days based on the request date. If omitted, the endpoint defaults to 3 months.
Allowed values:
Response
OK
accounts
Accounts that have activity entries in the selected lookback window.
hasMore
Indicates whether more results are available.
nextCursor
Cursor to use on the next request when additional results are available.
Errors
400
Bad Request Error
401
Unauthorized Error