Delete a credit card

CreditCard can be deleted only if it is not used by any live Transactions.

$result = Pencepay_CreditCard::delete('card_uid', 'customer_uid');

Result

DeleteResult object is returned, indicating the status of the delete operation.