See also the ResourceCollection response object.

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

Java
Copy
Copied
Calendar start = Calendar.getInstance();
start.set(2018, 0, 1);
Calendar end = Calendar.getInstance();
end.set(2018, 11, 30);

ResourceCollection<CreditCard> expiredCards = gateway.creditCard().expiringBetween(start, 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