CystomStyle properties

Property Definitions

Below is a detailed description of the editable and customizable components:

PropertyObjectDescription
themeObjectObject defining the theme global settings for colors and styles.
theme.typography.primaryFontFamilyStringPrimary font for widgets.
theme.colors.primaryTextColorStringPrimary color of the text.
theme.colors.backgroundSecondaryStringSecondary background color (for example, in OTP view).
theme.colors.backgroundPrimaryStringPrimary background color.
theme.colors.buttonPrimaryFillStringPrimary button fill color.
theme.colors.buttonPrimaryHoverStringColor of the primary button on hover.
theme.colors.buttonPrimaryActiveStringColor of the primary button on click.
theme.colors.inputBorderStringColor of the input border in default state.
theme.colors.inputBorderErrorStringColor of the input border in error state.
theme.colors.inputEnhancerFillStringBackground color of the input when in focus (active).
theme.colors.inputBorderPositiveStringBorder color of the input when successful.
theme.buttons.borderRadiusStringBorder radius for buttons.
theme.inputs.borderRadiusStringBorder radius for input fields.
theme.inputs.inputModeStringInput mode: validated (iconographic validator), clearable (text reset) or none.
HeaderPatternObjectObject defining overrides for the header.
HeaderPattern.overridesObjectContains specific overrides for header components.
HeaderPattern.overrides.LogoObjectObject defining properties for the logo component.
HeaderPattern.overrides.Logo.props.urlStringURL of the logo to be displayed in the header.
HeaderPattern.overrides.Logo.props.styleStringDefines the size of the logo.
HeaderPattern.overrides.Logo.props.positionStringDefines which alignment to display the logo, left or center.
CardInfoPatternObjectObject that defines the card information.
CardInfoPattern.titleStringTitle of the card information section.
CardInfoPattern.subtitle.contentStringContent of the subtitle.
UpperTagPatternObjectObject that defines a custom upper tag and is displayed below the widget header.
UpperTagPattern.titleStringTitle of the upper tag.
UpperTagPattern.descriptionStringDescription of the upper tag.
UpperTagPattern.iconColorStringColor of the icon of the upper tag.
UpperTagPattern.styleObjectStyle of the upper tag, such as color(text color), box-shadow, margin-top and backgroundColor.
UserCardPatternObjectObject defining translations and settings for user card management.
UserCardPattern.translations.enObjectSpanish translations for user card management components.
UserCardPattern.translations.en.addNewCard.infoStringText for the "Add new card" option.
UserCardPattern.translations.en.moreOptions.payWithStringText for the "Pay with" option.
UserCardPattern.translations.en.paymentMethods.seeAllMyCardsStringText to see all the saved cards.
UserCardPattern.translations.en.paymentMethods.expiredCardStringText indicating an expired card.
UserCardPattern.translations.en.paymentMethods.warningExpiredCardStringWarning message to select a valid payment method.
UserCardPattern.translations.en.paymentMethods.confirmDeleteMethodTitleStringTitle for the card deletion confirmation method.
UserCardPattern.translations.en.paymentMethods.deleteMainTextStringMain text for the delete option.
UserCardPattern.translations.en.paymentMethods.confirmDeleteMethodAcceptStringText for the accept button in the delete confirmation.
UserCardPattern.translations.en.paymentMethods.confirmDeleteMethodCancelStringText for the cancel button in the delete confirmation.
UserCardPattern.translations.en.paymentMethods.confirmDeleteMethodStringMessage indicating that the deletion is irreversible.
PaymentMethodsPatternObjectObject defining translations and settings for input fields related to payment methods.
PaymentMethodsPattern.translations.inputs.card.cardNumber.labelStringLabel for the card number field: "Card Number".
PaymentMethodsPattern.translations.en.inputs.card.cardNumber.placeholderStringHelp text for the card number field: "0000 0000 0000 0000 0000 0000".
PaymentMethodsPattern.translations.en.inputs.card.cardHolder.labelStringLabel for cardholder name field: "Name as it appears on card".
PaymentMethodsPattern.translations.en.inputs.card.cardHolder.placeholderStringHelp text for cardholder name field: "e.g. Juan Zapata".
PaymentMethodsPattern.translations.en.inputs.card.expirationDate.labelStringLabel for expiration date field: "Expiration Date".
PaymentMethodsPattern.translations.en.inputs.card.expirationDate.placeholderStringHelp text for expiration date: "MM / YY".
PaymentMethodsPattern.translations.en.inputs.card.securityCode.labelStringLabel for security code: "CVV".
PaymentMethodsPattern.translations.en.inputs.card.installment.labelStringLabel for the fee field: "Fees".
PaymentMethodsPattern.translations.en.inputs.card.installment.pay_byStringText to indicate payment in installments: "Paga en" Text to indicate payment in installments: "Paga en".
PaymentMethodsPattern.translations.en.inputs.card.installment.first_payStringText to indicate first payment: "First payment".
PaymentMethodsPattern.translations.es.inputs.card.installment.without_interestStringText to indicate no interest: "No interest".
PaymentMethodsPattern.translations.en.inputs.card.installment.without_installmentsStringText to indicate without installments: "Without installments".
PaymentMethodsPattern.translations.en.inputs.card.installment.loadingStringText displayed during installment validation: "Validating installments..." Text to indicate no installment: "No installment
PaymentMethodsPattern.translations.en.inputs.paymentMethods.info.card.titleStringCustom title for the card: "Custom title".
PaymentMethodsPattern.translations.en.inputs.paymentMethods.info.card.subtitleStringCustom subtitle for the card: "Custom subtitle".
cardHolderObjectObject defining the label for the cardholder name field.
cardHolder.labelStringCustom label for the cardholder name field.
installmentObjectObject defining the label for the installment field.
installment.labelStringCustom label for the installment field.
installment.withoutInstallmentsStringText to indicate that there are no installments.
LowerTagPatternObjectObject that defines a custom lower tag and is displayed in the lower area of the widget above the T&Cs and the payment button.
LowerTagPattern.titleStringTitle of the lower tag.
LowerTagPattern.descriptionStringDescription of the lower tag.
LowerTagPattern.iconColorStringColor of the icon of the lower tag.
LowerTagPattern.styleObjectStyle of the upper tag, such as color(text color), box-shadow and backgroundColor.
TermsConditionsPatternObjectObject defining the terms and conditions settings.
TermsConditionsPattern.showForGuestBooleanIndicates whether terms and conditions are shown for guest users.
TermsConditionsPattern.showForAuthBooleanIndicates whether the terms and conditions for authenticated users are shown.
TermsConditionsPattern.legalMessageStringCustom legal message.
TermsConditionsPattern.connectorTextStringConnector text in the terms and conditions.
TermsConditionsPattern.hideCompanyDisclaimerBooleanIndicates if the company disclaimer is hidden.
TermsConditionsPattern.termsAndConditionsUrlstringDefines the URL to be used as a hyperlink for the Terms and Conditions that the user will see.
TermsConditionsPattern.privacyPolicyUrlstringDefines the URL to be used as a hyperlink for the Privacy Policy that the user will see.
PaymentButtonPatternObjectObject that defines the label, style and configuration of the payment button.
PaymentButtonPattern.labelStringText for the payment button.
PaymentButtonPattern.showOrderTotalBooleanIndicates whether the order total is shown on the form.
PaymentButtonPattern.stylesObjectStyles of the payment button, such as padding and border radius.
PaymentButtonPattern.styles.paddingStringPadding of the payment button.
PaymentButtonPattern.styles.borderRadiusStringBorder radius of the payment button.
PoweredByPatternObjectObject defining style and configuration of the Power by DEUNA disclaimer.
PoweredByPattern.hideBooleanIndicates whether the "Powered by DEUNA" flag is hidden.
PoweredByPattern.hidetextBooleanIndicates whether the "Powered by" flag is hidden.
PoweredByPattern.urlStringURL of the logo to be displayed in Power by.
PoweredByPattern.imageStyleObjectStyle of the Power By logo, width and height.
ThankYouViewObjectObject defining translations and settings for the thank you view after a payment.
ThanksYouView.translations.en.thankYouPage.status.succeededStringMessage displayed when the payment was successful.
ThankYouView.translations.en.thankYouPage.status.pendingStringMessage displayed while the payment is being processed.
ThankYouView.translations.en.thankYouPage.status.deniedStringMessage displayed when the payment was denied.
ThankYouView.overrides.Body.props.titleStringTitle displayed in the body of the thank you view.
ThankYouView.overrides.Actions.props.hideDownloadActionBooleanDefines whether to hide the option to download the receipt.
ThankYouView.overrides.Actions.props.hideBackToCommerceActionBooleanDefines whether to hide the option to return to the store.
ThankYouView.overrides.Actions.props.downloadTextStringText of the button to save the receipt.
ThankYouView.overrides.Actions.props.backTextStringText of the button to return to the store.
VoucherPageObjectObject defining the voucher page configuration for different payment methods.
VoucherPage.apmName.overrides.Header.props.titleStringMain title shown in the voucher header for OXXO.
VoucherPage.apmName.overrides.Header.props.subtitleStringSubtitle indicating the action to present the code in store.
VoucherPage.apmName.overrides.Header.props.referenceTitleStringText identifying the payment reference field.
VoucherPage.apmName.overrides.Header.props.payBeforeStringDeadline to make the payment.
VoucherPage.OapmName.overrides.Footer.props.downloadReferenceStringText of the button to download the voucher.
VoucherPage.apmName.overrides.Footer.props.showPoweredByDeunaBooleanIndicates if the "Powered by Deuna" label is shown.
OtpPageObjectObject defining overrides for the OTP page.
OtpPage.overridesObjectContains overrides specific to components of the OTP page.
OtpPage.overrides.HeaderObjectObject defining header-related overrides for the OTP page.
OtpPage.overrides.Header.propsObjectProperties for the header, such as the logo URL.
OtpPage.overrides.Header.props.urlStringURL of the logo to be displayed on the OTP page.
OtpPage.overrides.HeadingsObjectObject defining the title and description for the OTP page.
OtpPage.overrides.Headings.titleStringCustom title for the OTP page.
OtpPage.overrides.Headings.descriptionStringDescriptive text for the OTP page.
OtpPage.overrides.OtpChangeChannelButtonObjectObject defining the description for the OTP channel change button.
OtpPage.overrides.OtpChangeChannelButton.descriptionObjectDescriptions for sending OTP by SMS or email.
OtpPage.overrides.OtpChangeChannelButton.description.smsStringCustom description to send OTP by SMS.
OtpPage.overrides.OtpChangeChannelButton.description.emailStringCustom description to send OTP by email.
OtpPage.overrides.ContinueAsGuestButtonObjectObject defining the description for the "continue as guest" button.
OtpPage.overrides.ContinueAsGuestButton.descriptionStringDescriptive text to continue as guest.
BillingPatternXObjectObject defining the input structure for the billing data.
BillingPatternX.translations.en.titleStringMain title for the billing section.
BillingPatternX.translations.en.addBillingData.errorStringError message when not completing billing data.
BillingPatternX.translations.en.addBillingData.optionalTagStringTag to indicate non-mandatory fields.
BillingPatternX.translations.en.addBillingData.titleStringTitle to add billing information.
BillingPatternX.translations.en.billingSummary.dniStringLabel for document in billing summary.
BillingPatternX.translations.en.billingSummary.updateStringText to modify the information.
BillingPatternX.translations.en.billingView.cancelStringText to cancel the action.
BillingPatternX.translations.en.billingView.saveStringText to save billing changes.
BillingPatternX.translations.en.billingView.titleStringTitle for billing data entry view.
BillingPatternX.translations.en.billingWithSameData.titleStringText to use the same billing data.
BillingPatternX.translations.en.inputs.companyBilling.labelStringLabel for the legal entity.
BillingPatternX.translations.en.inputs.companyBilling.name.labelStringLabel for company name.
BillingPatternX.translations.en.inputs.companyBilling.activity.labelStringLabel for line of business or activity.
BillingPatternX.translations.en.inputs.companyBilling.address.labelStringLabel for fiscal address.
BillingPatternX.translations.en.inputs.companyBilling.city.labelStringLabel for city.
BillingPatternX.translations.es.inputs.companyBilling.email.labelStringLabel for email.
BillingPatternX.translations.en.inputs.companyBilling.identityDocument.labelStringLabel for tax registration.
BillingPatternX.translations.en.inputs.companyBilling.phone.labelStringLabel for contact phone number.
BillingPatternX.translations.en.inputs.personBilling.labelStringLabel for natural person.
BillingPatternX.translations.en.inputs.personBilling.firstName.labelStringLabel for first name.
BillingPatternX.translations.en.inputs.personBilling.lastName.labelStringLabel for family name.
BillingPatternX.translations.en.inputs.personBilling.city.label1StringAlternative label 1 for city.
BillingPatternX.translations.en.inputs.personBilling.stateName.label1StringLabel for province.
BillingPatternX.translations.en.inputs.personBilling.zipCode.labelStringLabel for zip code.
BillingPatternX.translations.en.inputs.errors.inputRequiredStringMessage for required field.
BillingPatternX.translations.en.inputs.errors.invalidEmailStringMessage for invalid email.
BillingPatternX.translations.en.inputs.personBilling.identityDocument.labelStringLabel for identity document.
BillingPatternX.translations.en.inputs.personBilling.identityDocument.invalidByCountry.ARStringError for country: Invalid ID (Argentina).
UserInfoPatternObjectObject defining the input structure for user data.
UserInfoPattern.titleStringCustom title for the user data section.
UserInfoPattern.translations.inputs.email.labelStringCustom label for the email field.
UserInfoPattern.translations.en.inputs.firstName.labelStringCustom label for the name field.
UserInfoPattern.translations.en.inputs.lastName.labelStringCustom label for the last name field.
UserInfoPattern.translations.en.inputs.phone.labelStringCustom label for the phone field.
UserInfoPattern.translations.en.inputs.identityDocument.label.COStringLabel for Colombia: Cédula / Doc de identidad.
UserInfoPattern.translations.en.inputs.identityDocument.label.CLStringLabel for Chile: RUT/DNI.
UserInfoPattern.translations.en.inputs.identityDocument.label.ECStringLabel for Ecuador: Cédula / Doc de identidad.
UserInfoPattern.translations.en.inputs.identityDocument.label.MXStringLabel for Mexico: RFC Number.
UserInfoPattern.translations.en.inputs.identityDocument.label.BRStringLabel for Brazil: Registro Geral.
UserInfoPattern.translations.en.inputs.identityDocument.label.ARStringLabel for Argentina: DNI / Doc de Identidad.
UserInfoPattern.translations.es.inputs.identityDocument.label.UYStringLabel for Uruguay: Cédula / Doc de identidad.