See also the ResourceCollection response object.

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

C♯
Copy
Copied
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).

Still have questions?

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