Pass in a APIContext
object to authenticate
the call and to send a unique request id
(that ensures idempotency). The SDK generates
a request id if you do not pass one explicitly.
See Configuration.cs to know more about APIContext.
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.
Get the credit card.
GetCreditCard Sample
This sample code demonstrates how you retrieve a previously saved Credit Card using the 'vault' API. API used: GET /v1/vault/credit-card/{id}