Get account activity details

View as Markdown
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

transactionIdstringRequired
Transaction ID retrieved from a Trustly Authorization transaction.

Query parameters

cursorstringOptional

Opaque pagination cursor returned in nextCursor from a prior response.

countintegerOptional>=1
Maximum number of activity entries to return per page.
lookbackWindowMonthsenumOptionalDefaults to 3

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
accountslist of objects
Accounts that have activity entries in the selected lookback window.
hasMoreboolean
Indicates whether more results are available.
nextCursorstring
Cursor to use on the next request when additional results are available.

Errors

400
Bad Request Error
401
Unauthorized Error