Credit Card

Credit Card: Expiring Between

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

  1. PHP
$collection = $gateway->creditCard()->expiringBetween(
    mktime(0, 0, 0, 1, 1, 2018),
    mktime(23, 59, 59, 12, 31, 2018)
Arguments
endDaterequired, string
The maximum expiration date of cards returned in the search (inclusive).
startDaterequired, string
The minimum expiration date of cards returned in the search (inclusive).