Payment Method

Payment Method: Find

See also the Payment Method response object. Look up a payment method by token.
  1. Node
gateway.paymentMethod.find("token", (err, paymentMethod) => {
});
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. Callback
  2. Promise
gateway.paypalAccount.find("theToken", (err, paypalAccount) => {
});
If the PayPal account can't be found, it will return a notFoundError.