Payment Method

Payment Method: Find

See also the Payment Method response object.

Look up a payment method by token.
  1. DOTNET
PaymentMethod paymentMethod = gateway.PaymentMethod.Find("token");
Arguments
Tokenrequired, string
The alphanumeric value that references a specific payment method stored in your Vault.

ExamplesAnchorIcon

Single PayPal accountAnchorIcon

If you want to look up a single PayPal account using its token, use the find method.
  1. C#
PayPalAccount paypalAccount = gateway.PayPalAccount.Find("the_token");
If the PayPal account can't be found, it will throw a NotFoundException.

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more