search
suspend fun search(ticket: Ticket, filters: List<SearchFilter>, ibanDetection: Boolean = false, limit: UInt? = null, details: List<ConnectionDetails> = emptyList()): List<ConnectionInfo>
Search for service connections (banks and other providers).
Returns connections that match every entry in filters.
Parameters
ibanDetection
When true, SearchFilter.Term values that look like an IBAN (e.g. NL58YAXI1234567890) also yield connections matching the IBAN's bank code, on top of the regular text matches.
limit
Maximum number of results to return. null (default) leaves the server-side cap in effect.
details
Extra per-connection details to populate (e.g. ConnectionDetails.BICS).
Samples
// Split input at whitespace for improved name matching
val filters = userInput.split("\\s".toRegex()).map { SearchFilter.Term(it) }
val connectionInfos = client.search(
ticket,
filters,
ibanDetection = true,
limit = 20u,
)Content copied to clipboard