list Transactions By Card Id And Type
Get a list of all Transactions for a certain type related to a virtual card.
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
String Identifier of the virtual card to list for related transactions.
TransactionType The type of transaction to retrieve.
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.