See also the Customer response object.

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

Node.js
gateway.customer.find("theCustomerId", function(err, customer) {
});

If the customer can't be found, it will return a notFoundError.

Arguments
customerId required, String

A string value representing an existing customer in your Vault.