Skip to main content

PurseHeadlessCheckoutUIOptions

type PurseHeadlessCheckoutUIOptions = object;

Options let you override theme configuration and translations on our UIs.

Properties

hostedForm?

optional hostedForm: PurseHeadlessCheckoutHostedFormUIOptions;

Labels that can be found in a form HostedFormUIOptions


locale?

optional locale: `${string}-${Uppercase<string>}` | `${string}`;

Locale code is a combination of ISO 639-1 language code and ISO 3166-1 country code. For example, fr_FR is a locale code for French language in France.


redirection?

optional redirection: RedirectionUIOptions;

Redirection config, used to override the title of the redirection RedirectionUIOptions


theme?

optional theme: PurseHeadlessCheckoutPartnerUIOptionsTheme;

This section holds the style configuration. Matters like, font, colors, spacing can be override using this config. PartnerUIOptionsTheme


xPayButton?

optional xPayButton: PurseHeadlessCheckoutXPayButtonUIOptions;

Transparent config toward XPay partners (e.g. GooglePay ApplePay ...) XPayButtonUIOptions