Instance Method

transactionsByType(_:)

Retrieves transactions filtered by a specific PaymentType.

Declaration

func transactionsByType(_ type: PaymentType) async throws -> TransactionHistoryResponse

Parameters

type

The type of payment (e.g., .sale, .refund).

Return Value

A list of transactions matching the specified type.

Discussion