Payment Method
Payment Method: Find
See also the Payment Method response object.
Look up a payment method by token.
- Python
payment_method = gateway.payment_method.find("token")
Arguments
token
required, strThe 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.
- Python
paypal_account = gateway.paypal_account.find("token")
If the PayPal account can't be found, it will throw a NotFoundError
exception.