searchAccounts

abstract fun searchAccounts(page: Int, size: Int, sortOrder: List<SortOrder>, accountRequestData: AccountDataRequestDto, includeBankData: Boolean): AccountsResponseDto

Searches for accounts based on the specified parameters.

Return

The response containing the requested accounts.

Parameters

page

The page number of the result set.

size

The size of each page in the result set.

sortOrder

The sort order for the result set. Each sort order consists of a direction (ASC or DESC) and a field name.

accountRequestData

The account data request object specifying the search criteria.

includeBankData

Indicates whether to include bank data in the response.

Throws

If an I/O error occurs during the search.

If the search execution encounters an exception.

If the search execution is interrupted.