Instance Method

transactionsByDateRange(startDate:endDate:)

Retrieves transactions within a specific date range.

Declaration

func transactionsByDateRange(startDate: Date, endDate: Date) async throws -> TransactionHistoryResponse

Parameters

startDate

The beginning of the date range.

endDate

The end of the date range.

Return Value

A list of transactions within the specified time period.

Discussion

Use this to pull transaction history between two dates. Time is considered in UTC.