get Payments
abstract suspend fun getPayments(page: Int = 0, sortQuery: String?, status: TransactionStatus? = null): 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
sort Query
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
.