Skip to main content
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 environment
string
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-24
string
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 together
string
Search term to filter transactions by merchant name or locationExample: PayPal, Starbucks, AmazonBehavior: Case-insensitive partial matching
string
Comma-separated list of merchant category codes (MCC) to filter transactionsAccepted Values:
  • SUBSCRIPTIONS - Recurring subscription services
  • FOOD - Restaurants, grocery stores, food delivery
  • TRAVEL - Airlines, hotels, car rentals, transportation
  • ENTERTAINMENT - Movies, concerts, streaming services
  • HEALTH - Pharmacies, medical services, fitness
  • ATM - ATM withdrawals and fees
  • UTILITIES - Bills, utilities, telecommunications
  • MISC - Miscellaneous purchases
Example: FOOD,ENTERTAINMENT or SUBSCRIPTIONS
number
default:0
Page number for pagination (0-indexed)Example: 0, 1, 5Note: If page doesn’t exist, returns page 0

Request 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, ATM
number
Merchant Category Code (4-digit industry code)
string
Human-readable category derived from MCCValues: SUBSCRIPTIONS, FOOD, TRAVEL, ENTERTAINMENT, HEALTH, ATM, UTILITIES, MISC
string
Currency used for the card transaction (typically card’s base currency)Example: EUR, USD, GBP
string
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, GBP
string
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 successfully
  • PENDING - Transaction authorized but not yet settled
  • DECLINED - Transaction authorization failed
  • REVERTED - 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

Monthly Statement Data

Transaction Status Explained

Meaning: Transaction completed successfully and has been settledActions: Funds have been deducted/added, blockchain transactions confirmedDisplay: Show as final transaction in transaction history
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
Meaning: Transaction authorization failedActions: No funds were transferredCommon Reasons:
  • Insufficient balance
  • Card frozen or blocked
  • Security concerns
  • Merchant restrictions
  • Network issues
Display: Show with declined indicator and reason if available
Meaning: Previously confirmed transaction was reversed/refundedActions: Funds returned to original funding sourceCommon Causes:
  • Merchant refund
  • Dispute resolution
  • Chargeback
  • Transaction cancellation
Display: Show as refund/reversal in transaction history

Edge Cases and Important Notes

Date Range ValidationBoth dateFrom and dateTo must be provided together. Providing only one will result in both being ignored.
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.
  • GET /v1/card/transactions/statement - Generate downloadable transaction statement (CSV/PDF)
  • GET /v1/card/status - Get card information
  • POST /v1/card/freeze - Freeze card to prevent future transactions