---
updatedAt: 2026-04-21T08:17:24.000Z
agentTools:
  projectIndex: https://developers.getdefacto.com/llms.txt
---

# /cards/{card_id}/entries

List entries for a credit card.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "API Reference",
    "version": "v1.0.0"
  },
  "paths": {
    "/cards/{card_id}/entries": {
      "get": {
        "description": "List entries for a credit card.",
        "parameters": [
          {
            "in": "path",
            "name": "card_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from_date",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "in": "query",
            "name": "to_date",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "*/*": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ApiCardEntry"
                  },
                  "type": "array"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "tags": [
          "Credit card"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api-sandbox.getdefacto.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    },
    "schemas": {
      "ApiCardEntry": {
        "properties": {
          "amount": {
            "type": "integer"
          },
          "created": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "entry_type": {
            "default": "transaction",
            "type": "string"
          },
          "funding_obligation_id": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "merchant_amount": {
            "default": null,
            "type": "integer",
            "nullable": true
          },
          "merchant_category": {
            "type": "string"
          },
          "merchant_currency": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "merchant_name": {
            "type": "string"
          },
          "transaction_type": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "created",
          "currency",
          "id",
          "merchant_category",
          "merchant_name",
          "transaction_type"
        ],
        "type": "object"
      }
    }
  }
}
```