Skip to content
BuyerInputInput

Buyer details for an unauthenticated checkout. Required when the caller is not signed in and the target product or activity allows guest checkout. Ignored when the caller is signed in. The server finds an existing user by email or creates a new one inline; when createAccount is true (the default), a magic-link email is sent so the buyer can claim the account.

Fields

emailString!
nameString
createAccountBoolean= true

Whether to send a magic-link sign-in email to the buyer so they can claim and manage the account that was created on their behalf. Defaults to true.

countryString

Buyer's destination address, used for tax calculation. Required when the seller has tax collection enabled and the line items aren't all in-person services (which use the activity location instead). ISO 3166-1 alpha-2 country code.

regionString

ISO 3166-2 region (state / province / etc.) sub-code.

postalCodeString

Postal or ZIP code. Required for sub-region precision in the US.

Used in

BuyerInput