Skip to main content
Address elements collect a shopper’s structured postal address. Use billingAddress and shippingAddress standalone, or configure them as sections inside Checkout. Both elements share the same field set and options surface. billingAddress is designed to pair with a payment method (card or bank); shippingAddress is designed to pair with an order.

Elements

Fields

Both elements render the same address atoms:
  • line1 (street address)
  • line2 (apartment, suite, or unit; optional)
  • city
  • state
  • postalCode
  • country
Optional slots (opt-in):
  • fullName (a full-name element rendered above the address atoms)
  • companyName (a company-name element rendered between fullName and the atoms)

Standalone example

Autocomplete

Both address elements support optional address autocomplete. Opt in with a top-level addressAutocomplete option. The full configuration, provider details, and CSP guidance live on one page:

Country restriction

Restrict the country dropdown (and, when autocomplete is enabled, the suggestion pool) with fields.country.supportedCountries:
Set fields.country.defaultCountry to preselect a country. If unset, the element preselects based on the shopper’s inferred locale.

Hidden fields

Collapse any atom with fields.<atom>.hidden: true. Hidden fields are skipped during validation, so they never block completion.

Submitted value

Inside Checkout

Configure billing and shipping the same way inside Checkout:
When both are configured, Checkout renders a “Same as shipping” toggle on the billing section (default checked).

Next steps

Billing address

Billing-specific configuration.

Shipping address

Shipping-specific configuration.

Autocomplete

Google Places autocomplete configuration.

Reference

Full options and value reference.
Last modified on July 17, 2026