getVirtualCardTransactions to query virtual card activity by card ID, transaction type, date range, or pagination options.
- Provide
virtualCardIdsto fetch transactions for specific cards. - Omit
virtualCardIdsto fetch transactions across all cards on the authenticated account.
PCI_COMPLIANCE, REVEAL_VIRTUALCARD
Arguments
input — GetVirtualCardTransactionsInput
Filters
Pagination
Defaults:
- When
virtualCardIdsis omitted andlimitis not specified, the defaultlimitis 100. - When
virtualCardIdsis provided andlimitis not specified, all matching transactions for each card may be returned. We recommend specifying alimitto control response size.
- When
virtualCardIdsis provided,limitandoffsetapply per card. - When
virtualCardIdsis omitted,limitandoffsetapply across the authenticated account.
Note: Requesting multiple cards with a high limit may result in large responses.
Validation Errors
The following inputs are rejected before execution:dateRangeStartanddateRangeEndmust be provided together.dateRangeEndmust be greater than or equal todateRangeStart.- Both must be valid ISO 8601 timestamps.
paginate.limitcannot exceed 500.virtualCardIds, when provided, must contain between 1 and 10 valid UUIDs.
Example: Specific cards
Example: All cards (date range)
Use this when you do not know which cards had activity during a specific time period.cURL Example
Response Fields
virtualCardId(UUID) — The virtual card associated with the returned transactions.transactions([VirtualCardTransaction!]) — List of transactions for the virtual card.transactionDate(String) — Date and time the transaction occurred in ISO 8601 format.transactionType(String) — Transaction type, such asPURCHASE,REFUND, orDECLINE.transactionAmount(Float) — Transaction amount in USD. May benull.transactionStatus(String) — Lifecycle status, such asCLEAREDorPROCESSING.transactionApproval(String) — Approval status of the transaction.transactionResponseCode(String) — Card network response code.merchantName(String) — Merchant name when available. May benull.paymentMethod(String) — Payment method used for the transaction.mcc(Int) — Merchant category code. May benull.merchantCountryCode(String) — Merchant country code. May benull.originalCurrencyCode(String) — ISO 4217 currency code of the original transaction (e.g. USD, HKD, EUR). May be null when the original currency is unknown or not applicable.originalCurrencyAmount(Float) — Original amount in the currency’s minor units. For example,6300for HKD meansHK$63.00.currencyConversionRate(Float) — FX conversion rate used to convert the original currency to USD.1.0for USD transactions.
Notes
- FX fields are returned together. They are either all populated or all null.
originalCurrencyAmountis returned in minor units:- HKD 6300 = HK$63.00
- JPY 100 = ¥100
- KWD 1000 = 1.000 KD