Payment Method: Find
Note Results are limited according to the PayPal Data Protection Addendum For Card Processing Products policy.
- Node
gateway.paymentMethod.find("token", (err, paymentMethod) => { });Arguments
tokenrequired, StringThe alphanumeric value that references a specific payment method stored in your Vault.
Examples
Single PayPal account
If you want to look up a single PayPal account using its token, use the find method. - Callback
- Promise
gateway.paypalAccount.find("theToken", (err, paypalAccount) => { });notFoundError.