Add from_date and to_date filters to GET /cards/{card_id}/entries

Summary

  • Added optional from_date and to_date query parameters to the GET /cards/{card_id}/entries endpoint.
  • These filters allow retrieving entries filtered by date range, pushing filtering down to Stripe using Unix timestamps.

Updated Endpoints

  • GET /cards/{card_id}/entries
    • Added from_date query parameter (timezone-aware datetime).
    • Added to_date query parameter (timezone-aware datetime).
    • Both parameters apply filters to settled transactions and pending authorizations, consistent with the rest of the codebase.
    • Filtering is applied in Stripe API calls using created[gte] and created[lte] timestamps.