See also the ResourceCollection response object.

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

Python
collection = gateway.credit_card.expiring_between(date(2018, 1, 1), date(2018, 12, 31))
Arguments
start_date required, str

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

end_date required, str

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