import { MerchantTransactionDetails, MerchantTransactionSummaries } from "../model";
/**
* @category API
*/
export interface MerchantTransactionsApi {
/**
* Retrieve a list of previously executed transactions with the merchant.
*
* @param page The page of results to return with 1 indicating the first page (defaults to 1).
* @param pageSize The number of records to return for this page (current default is 25)
* @param endTime If present, transactions newer than this time will not be returned.
* @param startTime If present, transactions older than this time will not be returned
*/
list(
page?: number,
pageSize?: number,
endTime?: Date,
startTime?: Date
): Promise<MerchantTransactionSummaries>;
/**
* Retrieve details about a specific transaction
*
* @param transactionId The transaction id
*/
getById(transactionId: string): Promise<MerchantTransactionDetails>;
}
Source