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)citystatepostalCodecountry
fullName(a full-name element rendered above the address atoms)companyName(a company-name element rendered betweenfullNameand the atoms)
Standalone example
Autocomplete
Both address elements support optional address autocomplete. Opt in with a top-leveladdressAutocomplete 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) withfields.country.supportedCountries:
fields.country.defaultCountry to preselect a country. If unset, the element preselects based on the shopper’s inferred locale.
Hidden fields
Collapse any atom withfields.<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:Next steps
Billing address
Billing-specific configuration.
Shipping address
Shipping-specific configuration.
Autocomplete
Google Places autocomplete configuration.
Reference
Full options and value reference.