try {
$card = CreditCard::get($card->getId(), $apiContext);
} catch (Exception $ex) {
ResultPrinter::printError("Get Credit Card", "Credit Card", $card->getId(), null, $ex);
exit(1);
}
ResultPrinter::printResult("Get Credit Card", "Credit Card", $card->getId(), null, $card);
return $card;
Get Credit Card Sample
The CreditCard resource allows you to retrieve previously saved CreditCards. API called: '/v1/vault/credit-card' The following code takes you through the process of retrieving a saved CreditCard