Skip to main content

HostedFieldsOptions

type HostedFieldsOptions = Pick<PurseHeadlessCheckoutUIOptions, "locale"> & HostedFieldsUIOptions & object;

HostedFieldsOptions let you override theme configuration, render targets and placeholders for hosted fields.

Type Declaration

NameTypeDescription
themeHostedFieldsThemeThis section holds the theme configuration. Matters like, font, colors, spacing can be override using this config. HostedFieldsTheme

See

Options.locale for locale configuration