Virtual Cards

Get card transactions

Retrieve transaction history for a specific card

get/cards/{id}/transactions

Request

  • Base URL: https://api.quackr.io
  • URL: https://api.quackr.io/cards/{id}/transactions
  • Auth: API key in header x-api-key

Path parameters

idstring required

Card ID

Query parameters

type'debit' | 'credit' | 'load' | 'unload'

Filter by transaction type

status'pending' | 'completed' | 'failed' | 'reversed'

Filter by transaction status

startDateinteger

Filter transactions after this timestamp (milliseconds)

endDateinteger

Filter transactions before this timestamp (milliseconds)

limitinteger

Maximum number of transactions to return

Response

Successfully retrieved transactions

successboolean
countinteger

Example response

{
  "success": true,
  "data": [
    {
      "id": "txn_123abc",
      "cardId": "card_abc123xyz",
      "amount": 9.99,
      "currency": "USD",
      "type": "debit",
      "status": "completed",
      "description": "Purchase at Amazon.com",
      "merchantName": "Amazon",
      "timestamp": 1704153600000
    }
  ],
  "count": 5
}

Changes

No recorded changes to this operation across all 1 revision of this API.