See also the
var updateRequest = new AddressRequest
FirstName = "Jenna",
LastName = "Smith",
Company = "Braintree",
StreetAddress = "1 E Main St",
ExtendedAddress = "Suite 403",
Locality = "Chicago",
Region = "Illinois",
PostalCode = "60622",
CountryCodeAlpha2 = "US"
gateway.Address.Update("TheCustomerId", "TheAddressId", updateRequest);
If the address or customer can't be found, it will throw a
A string value representing an existing customer in your Vault.
The two-letter value for an address associated with a specific customer ID. The maximum number of addresses per customer is 50. You must pass
address_id in order to successfully update this value.
Company name. 255 character maximum.
The extended address information—such as apartment or suite number. 255 character maximum.
The first name. The first name value must be less than or equal to 255 characters.
The last name. The last name value must be less than or equal to 255 characters.
The locality/city. 255 character maximum.
The postal code. Postal code must be a string of 4-9 alphanumeric characters, optionally separated by a dash or a space. Spaces and hyphens are ignored.
The state or province. For PayPal addresses, the region must meet
PayPal's state restrictions; for all other payment methods, it must be less than or equal to 255 characters.
The street address. 255 character maximum. Required when used to create payment methods or transactions that perform verification when AVS rules are configured to require street address.