list Transactions
Get a list of all Transactions across all virtual cards.
This API returns a ListAPIResult:
On ListAPIResult.Success result, contains the list of requested Transactions.
On ListAPIResult.Partial result, contains the list of PartialTransactions representing transactions that could not be unsealed successfully and the exception indicating why the unsealing failed. A transaction may fail to unseal if the client version is not up to date or the required cryptographic key is missing from the client device.
If no Transactions can be found, the result will contain null for the nextToken field and contain an empty item list.
To ensure you obtain all the transactions that match, you should continue to call this method whenever the nextToken field is not null, even if the items list is empty.
Return
A ListAPIResult.Success or a ListAPIResult.Partial result containing either a list of Transactions or PartialTransactions respectively. Returns an empty list if no transactions can be found.
Parameters
Int Maximum number of Transactions to return. If omitted the limit defaults to 100.
String A token generated from previous calls to listTransactionsByCardId. This is to allow for pagination. This value should be generated from a previous pagination call, otherwise it will throw an exception. You should call this method with the same argument if you are using a previously generated nextToken.
DateRange The date range of transactions to return.
SortOrder The order in which the transactions are returned. Defaults to descending.