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
string
required
Your public API client key
boolean
default:false
Set to
true to route requests to the US backend environmentstring
required
Bearer token for authentication
Query Parameters
string
Start date for filtering transactions in ISO 8601 format (
YYYY-MM-DD)Required: Only if dateTo is providedExample: 2024-10-24string
End 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 togetherstring
Search term to filter transactions by merchant name or locationExample:
PayPal, Starbucks, AmazonBehavior: Case-insensitive partial matchingstring
Comma-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 SUBSCRIPTIONSnumber
default:0
Page 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.string
Unique transaction identifier (UUID)
string
Unique card identifier
string
Last 4 digits of the card used
string
External transaction ID from payment processor
string
Transaction timestamp in ISO 8601 format
string
Transaction directionValues:
DEBIT- Money leaving the card (purchase, withdrawal)CREDIT- Money entering the card (refund, reversal)
string
Merchant name and location information
string
Type of merchant or transaction contextExample:
OutOfWalletOnline, InStore, ATMnumber
Merchant Category Code (4-digit industry code)
string
Human-readable category derived from MCCValues:
SUBSCRIPTIONS, FOOD, TRAVEL, ENTERTAINMENT, HEALTH, ATM, UTILITIES, MISCstring
Currency used for the card transaction (typically card’s base currency)Example:
EUR, USD, GBPstring
Transaction amount in the card’s currency
string
Fees charged in the card’s currency
string
Currency used at the merchant (may differ from card currency)Example:
USD, EUR, GBPstring
Transaction amount in the merchant’s original currency
string
Fees in the merchant’s original currency
string
Conversion rate used for billing between original and transaction currency
string
European Central Bank reference exchange rate at transaction time
string
Current transaction statusValues:
CONFIRMED- Transaction completed successfullyPENDING- Transaction authorized but not yet settledDECLINED- Transaction authorization failedREVERTED- Transaction was reversed/refunded
string
Explanation for declined transactions (only present when
status=DECLINED)array
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