See also the ResourceCollection response object.

Returns a collection of CreditCard objects that expire between the specified dates.

C♯
DateTime beginning = new DateTime(2018, 1, 1);
DateTime end = new DateTime(2018, 12, 31);

ResourceCollection<CreditCard> collection = gateway.CreditCard.ExpiringBetween(beginning, end);
Arguments
StartDate required, string

The minimum expiration date of cards returned in the search (inclusive).

EndDate required, string

The maximum expiration date of cards returned in the search (inclusive).