Store a mock card that can be deleted later.
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 later.
(See bootstrap.php for more on ApiContext)
deletes saved credit card
(See bootstrap.php for more on ApiContext)
Delete CreditCard Sample
This sample code demonstrate how you can delete a saved credit card. API used: /v1/vault/credit-card/{}
NOTE: HTTP method used here is DELETE