Hide Properties
Hide Properties
FontFace[]
An array of
FontFace objects to specify custom fonts to be used in the checkout.Show FontFace
Show FontFace
string
A string that defines the font family of the text.
string
A string that defines the location of the font file.
string
A string that defines the Unicode range of the font.
string
A string that defines the variant of the font.
string
A string that defines the feature settings of the font.
string
A string that defines the variation settings of the font.
string
A string that defines the stretch of the font.
string
A string that defines the weight of the font.
string
A string that defines the style of the font.
Stylesheet[]
An array of
Stylesheet objects to specify custom stylesheets to be used in the checkout.Show Stylesheet
Show Stylesheet
string
Url of the stylesheet.
LoadingScreenStyle
An object of type
LoadingScreenStyle to configure the loading screen that appears during checkout processing.Show LoadingScreenStyle
Show LoadingScreenStyle
string
Color of the loading screen.
InputStyles
An object of type
InputStyles to configure the appearance of input fields in the checkout.Show InputStyles
Show InputStyles
InputStyle
An object of type InputStyle describing the base style of the input.
InputStyle
An object of type InputStyle describing the style of the input in an error state.
TextStyle
An object of type
TextStyle to configure the appearance of input field labels in the checkout.Show TextStyle
Show TextStyle
string
An optional string that defines the color of the text.
string
An optional string that defines the font family of the text.
string
An optional string that defines the weight of the text.
string
An optional string that defines the size of the text.
string
An optional string that defines the smoothing of the font.
string
An optional string that defines the height of the line.
string
An optional string that defines the transformation of the text.
string
An optional string that defines the spacing between letters in the text.
TextStyle & TextAlignmentStyle
An object of type
TextStyle & TextAlignmentStyle to configure the appearance of error text that appears below input fields.Show TextStyle
Show TextStyle
string
An optional string that defines the color of the text.
string
An optional string that defines the font family of the text.
string
An optional string that defines the weight of the text.
string
An optional string that defines the size of the text.
string
An optional string that defines the smoothing of the font.
string
An optional string that defines the height of the line.
string
An optional string that defines the transformation of the text.
string
An optional string that defines the spacing between letters in the text.
Show TextAlignmentStyle
Show TextAlignmentStyle
string
A string that defines the alignment of text.
FormSpacings
An object of type
FormSpacings to configure the spacing between form elements in the checkout.Show FormSpacings
Show FormSpacings
string
Specifies the amount of space between a form label and its corresponding
input element. The value is a string representing a CSS length, such as
“10px” or “1em”.
string
Specifies the amount of space between different input elements within a
form. The value is a string representing a CSS length, such as “10px” or
“1em”.
ShowMorePaymentMethodsButtonStyles
An object of type
ShowMorePaymentMethodsButtonStyles to configure the appearance of the “Show More Payment Methods” button in the checkout.NetworkErrorStyles
An object of type
NetworkErrorStyles to configure the appearance of the network error message that appears when the checkout cannot connect to the server.Show NetworkErrorStyles
Show NetworkErrorStyles
object
Show Properties
Show Properties
BlockStyle & TextStyle
Show Properties
Show Properties
string
An optional string that defines the color of the text.
string
An optional string that defines the font family of the text.
string
An optional string that defines the weight of the text.
string
An optional string that defines the size of the text.
string
An optional string that defines the smoothing of the font.
string
An optional string that defines the height of the line.
string
An optional string that defines the transformation of the text.
string
An optional string that defines the spacing between letters in the text.
string
A string that defines the background color or image of the box element.
number | string
A number or string that defines the radius of the box element’s corners.
string
A string that defines the shadow effect of the box element.
string
A string that defines the style of the box element’s border.
number | string
A number or string that defines the color of the box element’s border.
number | string
A number or string that defines the width of the box element’s border.
SubmitButtonStyles
An object of type
SubmitButtonStyles to configure the appearance of the checkout’s submit button.Show SubmitButtonStyles
Show SubmitButtonStyles
SubmitButtonStyle
Defines the base style for the submit button. The value is an object of type SubmitButtonStyle.
SubmitButtonStyle
Defines the style for the submit button when it’s disabled. The value is an object of type SubmitButtonStyle.
SubmitButtonStyle
Defines the style for the submit button when it’s loading. The value is an object of type SubmitButtonStyle.
TextStyle
An object of type
TextStyle to configure the appearance of the “Saved Payment Methods” title in the checkout.Show TextStyle
Show TextStyle
string
An optional string that defines the color of the text.
string
An optional string that defines the font family of the text.
string
An optional string that defines the weight of the text.
string
An optional string that defines the size of the text.
string
An optional string that defines the smoothing of the font.
string
An optional string that defines the height of the line.
string
An optional string that defines the transformation of the text.
string
An optional string that defines the spacing between letters in the text.
SavedPaymentMethodButtonStyles
An object of type
SavedPaymentMethodButtonStyles to configure the appearance of the buttons that represent saved payment methods in the checkout.Show SavedPaymentMethodButtonStyles
Show SavedPaymentMethodButtonStyles
SavedPaymentMethodButtonStyle
An object of type SavedPaymentMethodButtonStyle that defines the style for the saved payment method button.
SavedPaymentMethodButtonStyle
An object of type SavedPaymentMethodButtonStyle that defines the style for the saved payment method button when it’s selected.
PaymentMethodButtonStyle
An object of type
PaymentMethodButtonStyle to configure the appearance of the buttons that represent payment methods in the checkout.Show PaymentMethodButtonStyle
Show PaymentMethodButtonStyle
number
The height of the payment method button.
number
The minimum height of the payment method button.
number
The maximum height of the payment method button.
TextStyle
An object of type TextStyle which describes the styling properties for the primary text in the payment method button.
"DARK" | "LIGHT" | "COLORED"
The color of the payment method logo, which can be “DARK”, “LIGHT”, or
“COLORED”.
string
The top margin of the payment method button.
string
A string that defines the background color or image of the box element.
number | string
A number or string that defines the radius of the box element’s corners.
string
A string that defines the shadow effect of the box element.
string
A string that defines the style of the box element’s border.
number | string
A number or string that defines the color of the box element’s border.
number | string
A number or string that defines the width of the box element’s border.
ErrorMessageStyle
An object of type
ErrorMessageStyle to configure the appearance of error messages that appear in the checkout.Show ErrorMessageStyle
Show ErrorMessageStyle
string
The color of the error message.
string
An optional string that defines the color of the text.
string
An optional string that defines the font family of the text.
string
An optional string that defines the weight of the text.
string
An optional string that defines the size of the text.
string
An optional string that defines the smoothing of the font.
string
An optional string that defines the height of the line.
string
An optional string that defines the transformation of the text.
string
An optional string that defines the spacing between letters in the text.
string
A string that defines the background color or image of the box element.
number | string
A number or string that defines the radius of the box element’s corners.
string
A string that defines the shadow effect of the box element.
string
A string that defines the style of the box element’s border.
number | string
A number or string that defines the color of the box element’s border.
number | string
A number or string that defines the width of the box element’s border.
TextStyle
An object of type
TextStyle to configure the appearance of the small print that appears at the bottom of the checkout.Show TextStyle
Show TextStyle
string
An optional string that defines the color of the text.
string
An optional string that defines the font family of the text.
string
An optional string that defines the weight of the text.
string
An optional string that defines the size of the text.
string
An optional string that defines the smoothing of the font.
string
An optional string that defines the height of the line.
string
An optional string that defines the transformation of the text.
string
An optional string that defines the spacing between letters in the text.