getId() $cardId = "CARD-44D10970C24287906KRCTWNI"; /// ### Retrieve card // (See bootstrap.php for more on `ApiContext`) try { $card = CreditCard::get($cardId, $apiContext); } catch (PayPal\Exception\PPConnectionException $ex) { echo "Exception: " . $ex->getMessage() . PHP_EOL; var_dump($ex->getData()); exit(1); } ?> Lookup a saved credit card
Retrieving saved credit card:
toJSON(128);?>
Back