getPayments

open suspend override fun getPayments(page: Int, sortQuery: String?, status: TransactionStatus?): PaymentsOverview

Function to retrieve the payments history overview

Return

a list of payment transactions, by default sorted by transaction time, descending

Parameters

page

the page of data to be fetched

sortQuery

a string representing the sorting order: asc or desc and

status

optional filter value for Transaction.status the field to sort by, currently Transaction.transactionTime. The string should look like: transactionTime,desc.

Throws