See also the Customer response object.

If you want to look up a single customer using its ID, use the find method.

PHP
$customer = $gateway->customer()->find('a_customer_id');
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

If the customer can't be found, you'll receive a Braintree_Exception_NotFound exception.

Arguments
customerId required, string

A string value representing an existing customer in your Vault.