See also the ResourceCollection response object.

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

Python
Copy
Copied
collection = gateway.credit_card.expiring_between(date(2018, 1, 1), date(2018, 12, 31))
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.
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).

Still have questions?

If you can’t find an answer, contact our Support team