See also the
Address response object.
gateway.address.update("the_customer_id", "the_address_id", :first_name => 'Jenna', :last_name => 'Smith', :company => 'Braintree', :street_address => '1 E Main St', :extended_address => 'Suite 403', :locality => 'Chicago', :region => 'Illinois', :postal_code => '60622', :country_code_alpha2 => 'US' )
If the address or customer can't be found, it will raise a
The country name specified in an address. We only accept specific country names.
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.
Still have questions?
If you can’t find an answer, contact our Support team