Add from_date and to_date filters to GET /cards/{card_id}/entries
10 days ago by ReadMe API
Summary
- Added optional
from_dateandto_datequery parameters to theGET /cards/{card_id}/entriesendpoint. - 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_datequery parameter (timezone-aware datetime). - Added
to_datequery 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]andcreated[lte]timestamps.
- Added
