@bigcommerce/checkout-sdk / BaseCustomerInitializeOptions
A set of options that are required to initialize the customer step of the current checkout flow.
Some payment methods have specific requirements for setting the customer details for checkout. For example, Amazon Pay requires the customer to sign in using their sign-in button. As a result, you may need to provide additional information in order to initialize the customer step of checkout.
-
↳
BaseCustomerInitializeOptions
▪ [key: string
]: unknown
• Optional
amazonpay: AmazonPayV2CustomerInitializeOptions
The options that are required to initialize the customer step of checkout when using AmazonPayV2.
• Optional
braintreepaypalcredit: BraintreePaypalCreditCustomerInitializeOptions
The options that are required to facilitate Braintree Credit. They can be omitted unless you need to support Braintree Credit.
• Optional
braintreevisacheckout: BraintreeVisaCheckoutCustomerInitializeOptions
The options that are required to initialize the customer step of checkout when using Visa Checkout provided by Braintree.
• Optional
chasepay: ChasePayCustomerInitializeOptions
The options that are required to initialize the Chasepay payment method. They can be omitted unless you need to support Chasepay.
• Optional
masterpass: MasterpassCustomerInitializeOptions
The options that are required to initialize the Masterpass payment method. They can be omitted unless you need to support Masterpass.
• Optional
methodId: string
CustomerRequestOptions.methodId
• Optional
params: Object
The parameters of the request, if required.
• Optional
timeout: default
Provide this option if you want to cancel or time out the request. If the timeout object completes before the request, the request will be cancelled.