A resource representing a credit card that can be used to fund a payment.
Creates the credit card as a resource
in the PayPal vault. The response contains
an 'id' that you can use to refer to it
in the future payments.
(See bootstrap.php for more on ApiContext)
Create Credit Card Sample
Using the 'vault' API, you can store a Credit Card securely on PayPal. You can use a saved Credit Card to process a payment in the future. The following code demonstrates how can save a Credit Card on PayPal using the Vault API. API used: POST /v1/vault/credit-card