See also the Payment Method response object.
Look up a payment method by token.
PHP
$paymentMethod = $gateway->paymentMethod()->find('token');
If the payment method can't be found, you'll receive a Braintree\Exception\NotFound
exception.
Arguments
Examples
Single PayPal account
If you want to look up a single PayPal account using its token, use the find method.
PHP
$paypalAccount = $gateway->payPalAccount()->find('token');
If the PayPal account can't be found, you'll receive a Braintree\Exception\NotFound
exception.