MerchantTransactionsRepository

public protocol MerchantTransactionsRepository

Undocumented

  • Retrieve a list of previously executed transactions with the merchant.

    Declaration

    Swift

    func list(
    	page: Int?,
    	pageSize: Int?,
    	endTime: Date?,
    	startTime: Date?,
    	completion: @escaping ApiCompletion<MerchantTransactionSummaries>
    )

    Parameters

    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<MerchantTransactionDetails>
    )

    Parameters

    transactionId

    The transaction id