Update a Card
After the card is created, you can update the Card expiry date and/or make the Card a default one.
$cardReq = Pencepay_Request_CreditCard::build()
->cardholderName('John Hancock')
->settings()
->makeDefault(true)
->done();
$card = Pencepay_CreditCard::update('card_uid', 'customer_uid', $cardReq);