Search for credit cards
You can find a single CreditCard
by using its UID.
$card = Pencepay_CreditCard::find('card_uid', 'customer_uid');
CreditCard
object is returned on success.
Find all cards for a customer
$search = Pencepay_CreditCard::build()->limit(10);
$collection = Pencepay_CreditCard::search('customer_uid', $search);
CreditCardCollection
object is returned on success.