Instance Method

searchTransactions(_:)

Searches transactions using a general search term.

Declaration

func searchTransactions(_ searchTerm: String) async throws -> TransactionHistoryResponse

Parameters

searchTerm

The keyword or phrase to search for.

Return Value

A list of transactions matching the search term.

Discussion

This method allows searching across multiple fields such as transaction ID, cardholder name, or metadata, using a partial or full keyword.