Address validation
Numeral validates customer location before finalizing tax. For example, a New York postal code paired with California as the state is not silently accepted as a taxing jurisdiction.- State or province and postal code are collected together where both are needed.
- Mismatches remain correctable in the Numeral collector instead of ending the checkout.
- Numeral asks only for fields the tax calculation still requires.
- If a merchant-provided address is invalid, the server receives a structured API error that can be shown in the merchant’s own address form.
- Buyer address and tax ID values are not included in merchant-facing collector events.
Use ISO 3166-1 alpha-2 country codes such as
US, CA, GB, or DE. Use the standard state, province, or region abbreviation when one exists.Send a complete address
Use the address path when your application already collects billing, shipping, or service address information.basis that matches how your configuration and business establish the place of sale:
billing_addressshipping_addressservice_addressmerchant_asserted
url normally points directly to Stripe Checkout.
Send the customer IP
If your server knows the customer’s public IP address, send it as an alternative toaddress. Do not send both in the same location object.
collection_mode obtains the missing information.
Numeral-hosted collection
Hosted collection is the simplest fallback when your checkout does not collect an address. Send the known country or partial address and setcollection_mode to hosted.
Embedded collection on your site
Embedded mode keeps the location step inside your checkout. Your server creates the session, then passes only the session ID and session-scopedclient_secret to your browser.
Selecting the right path
My checkout already collects a full address
My checkout already collects a full address
Send the address in the initial request. This gives the fastest buyer experience and lets Numeral validate the address before Stripe Checkout is created.
I know the customer's public IP but do not collect an address
I know the customer's public IP but do not collect an address
Send
tax_context.location.ip. Choose hosted or embedded collection as the fallback in case the IP does not resolve with enough confidence.I want the least frontend work
I want the least frontend work
Use hosted collection. Your application only redirects to the opaque URL returned by Numeral.
I want address collection to remain inside my checkout
I want address collection to remain inside my checkout
Use embedded collection. The Numeral custom element renders a secure cross-origin iframe and exposes redacted lifecycle events to your page.