CustomerTransactionsRepository
public protocol CustomerTransactionsRepository
Undocumented
-
Retrieve a list of previously executed transactions for the customer.
Declaration
Swift
func list( paymentRequestId: String?, page: Int?, pageSize: Int?, endTime: Date?, startTime: Date?, completion: @escaping ApiCompletion<CustomerTransactionSummaries> )
Parameters
paymentRequestId
If present, limits the list of transactions to those that relate to the payment request.
page
The page of results to return with 1 indicating the first page (defaults to 1).
pageSize
The number of records to return for this page (current default is 25)
endTime
If present, transactions newer than this time will not be returned.
startTime
If present, transactions older than this time will not be returned
-
Retrieve details about a specific transaction
Declaration
Swift
func getBy( transactionId: String, completion: @escaping ApiCompletion<CustomerTransactionDetails> )
Parameters
transactionId
The transaction id