Instance Method

transactionsByStatus(_:)

Retrieves all transactions matching a specific status.

Declaration

func transactionsByStatus(_ status: String) async throws -> TransactionHistoryResponse

Parameters

status

The status string to match (e.g. "captured").

Return Value

A list of transactions matching the status.

Discussion

Use this to filter transactions by a single status such as captured, refunded, etc.