Get Card Transactions
Card
Get Card Transactions
Retrieve paginated card transaction history with optional filtering
GET
Get Card Transactions
Overview
Retrieves detailed card transaction history with support for pagination and multiple filtering options. Returns comprehensive transaction information including merchant details, amounts, fees, currency conversions, and funding source breakdown.Real-Time DataTransactions appear in this endpoint within seconds of authorization. Pending transactions are included alongside confirmed ones with appropriate status indicators.
Authentication
This endpoint requires authentication via Bearer token:Request
Headers
Your public API client key
Set to
true to route requests to the US backend environmentBearer token for authentication
Query Parameters
Start date for filtering transactions in ISO 8601 format (
YYYY-MM-DD)Required: Only if dateTo is providedExample: 2024-10-24End date for filtering transactions in ISO 8601 format (
YYYY-MM-DD)Required: Only if dateFrom is providedExample: 2024-10-25Note: Both dateFrom and dateTo must be provided togetherSearch term to filter transactions by merchant name or locationExample:
PayPal, Starbucks, AmazonBehavior: Case-insensitive partial matchingComma-separated list of merchant category codes (MCC) to filter transactionsAccepted Values:
SUBSCRIPTIONS- Recurring subscription servicesFOOD- Restaurants, grocery stores, food deliveryTRAVEL- Airlines, hotels, car rentals, transportationENTERTAINMENT- Movies, concerts, streaming servicesHEALTH- Pharmacies, medical services, fitnessATM- ATM withdrawals and feesUTILITIES- Bills, utilities, telecommunicationsMISC- Miscellaneous purchases
FOOD,ENTERTAINMENT or SUBSCRIPTIONSPage number for pagination (0-indexed)Example:
0, 1, 5Note: If page doesn’t exist, returns page 0Request Examples
Response
Success Response
Returns an array of transaction objects, ordered by most recent first.Unique transaction identifier (UUID)
Unique card identifier
Last 4 digits of the card used
External transaction ID from payment processor
Transaction timestamp in ISO 8601 format
Transaction directionValues:
DEBIT- Money leaving the card (purchase, withdrawal)CREDIT- Money entering the card (refund, reversal)
Merchant name and location information
Type of merchant or transaction contextExample:
OutOfWalletOnline, InStore, ATMMerchant Category Code (4-digit industry code)
Human-readable category derived from MCCValues:
SUBSCRIPTIONS, FOOD, TRAVEL, ENTERTAINMENT, HEALTH, ATM, UTILITIES, MISCCurrency used for the card transaction (typically card’s base currency)Example:
EUR, USD, GBPTransaction amount in the card’s currency
Fees charged in the card’s currency
Currency used at the merchant (may differ from card currency)Example:
USD, EUR, GBPTransaction amount in the merchant’s original currency
Fees in the merchant’s original currency
Conversion rate used for billing between original and transaction currency
European Central Bank reference exchange rate at transaction time
Current transaction statusValues:
CONFIRMED- Transaction completed successfullyPENDING- Transaction authorized but not yet settledDECLINED- Transaction authorization failedREVERTED- Transaction was reversed/refunded
Explanation for declined transactions (only present when
status=DECLINED)Array of funding sources used to pay for this transaction
Error Responses
Pagination
Transactions are returned in pages. The default page size is determined by the backend configuration (typically 20-50 transactions per page).Common Use Cases
Recent Transactions
Spending by Category
Transaction Search
Monthly Statement Data
Transaction Status Explained
CONFIRMED
CONFIRMED
Meaning: Transaction completed successfully and has been settledActions: Funds have been deducted/added, blockchain transactions confirmedDisplay: Show as final transaction in transaction history
PENDING
PENDING
Meaning: Transaction authorized but not yet settledActions: Funds are held/reserved but not yet transferredDisplay: Show with pending indicator, may take 1-3 business days to confirmNote: Pending transactions can still be reversed
DECLINED
DECLINED
Meaning: Transaction authorization failedActions: No funds were transferredCommon Reasons:
- Insufficient balance
- Card frozen or blocked
- Security concerns
- Merchant restrictions
- Network issues
REVERTED
REVERTED
Meaning: Previously confirmed transaction was reversed/refundedActions: Funds returned to original funding sourceCommon Causes:
- Merchant refund
- Dispute resolution
- Chargeback
- Transaction cancellation
Edge Cases and Important Notes
Pagination BehaviorIf you request a page that doesn’t exist (e.g., page 100 when only 10 pages exist), the API returns page 0 instead of an error.
Currency ConversionTransactions show both the original merchant currency and the card’s transaction currency, along with the conversion rate used. This transparency helps users understand exchange rate costs.
Funding SourcesEach transaction may have multiple funding sources. The sum of all funding source amounts equals the total transaction amount plus fees.
Related Endpoints
GET /v1/card/transactions/statement- Generate downloadable transaction statement (CSV/PDF)GET /v1/card/status- Get card informationPOST /v1/card/freeze- Freeze card to prevent future transactions