See also the Address response object.

If the address cannot be found, the error in the callback will set set.

Node.js
gateway.address.find("aCustomerId", "anAddressId", function (err, address) {
  err.type
  // braintree.errorTypes.notFoundError
});
Node.js
gateway.address.find("aCustomerId", "anAddressId", function (err, address) {
});
Arguments
customerId
required

The identification value of the customer. The value must be less than or equal to 36 characters. Valid characters are letters, numbers, - and _. The words "all" and "new" currently cannot be used.

addressId
required

The two-letter value for an address associated with a specific customer ID. The maximum number of addresses per customer is 50.

Still Have Questions?

If you can’t find an answer, give us a call at 877.434.2894 or email our Support team.