Address
Address: Find
See also the Address response object.
- PHP
$address = $gateway->address()->find('a_customer_id', 'an_address_id');
If the address or customer can't be found, you'll receive a Braintree\Exception\NotFound
exception.
Arguments
addressId
required, stringThe two-letter value for an address associated with a specific customer ID. The maximum number of addresses per customer is 50.
customerId
required, stringA string value representing an existing customer in your Vault.
Additional Parameters
'phoneNumber'
stringThe phone number that belongs to the address. Phone number must be 10-14 characters and can only contain numbers, hyphens and parentheses.