ISO 3166-1 alpha-2 country code where the transaction is processed.
ISO 4217 alphabetic currency code.
Optional
merchantName?: stringYour merchant name, displayed in the Google Pay sheet.
Optional
isEmailRequired?: booleanSet to true to request an email address. Defaults to false.
Optional
allowCreditCards?: booleanSet to false if you don't support credit cards. Defaults to true.
Optional
existingPaymentMethodRequired?: booleanIf true, Google Pay is considered "available" if the customer's Google Pay wallet has an existing payment method. Defaults to false.
Optional
billingAddressConfig?: {Describes the configuration for billing address collection in the Google Pay sheet.
Optional
isRequired?: booleanSet to true if billing address is required for payment. Defaults to false.
Optional
isPhoneNumberRequired?: booleanSet to true if phone number is required for payment. Defaults to false.
Optional
format?: BillingAddressFormatDefines what address fields to collect. Defaults to BillingAddressFormat.Min
Optional
label?: stringAn optional label to display with the amount. Google Pay may or may not display this label depending on its own internal logic. Defaults to a generic label if none is provided.
Optional
amount?: numberAn optional amount to display for setup intents. Google Pay may or may not display this amount depending on its own internal logic. Defaults to 0 if none is provided. Provide this value in the currency’s smallest unit.
Set to true to run in a test environment with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing SDK.