1. Interfaces
Español
  • Español
  • English
  • Home Page
  • Libraries & SDKs (Online Payments)
    • Release notes
    • Mobile
      • Kushki Android
      • Kushki iOS 
      • Kushki iOS ARM Setup
    • Web
      • Kushki.js 🌐
      • kushki.js-hosted-fields
        • kushki.js Hosted Fields
        • Guía de migración a Kushki.js 2.0
        • Antifraud
          • Interfaces
            • SecureInitRequest
            • SecureInitResponse
            • SiftScienceObject
          • Methods
            • requestInitAntiFraud
            • requestSecureInit
            • requestValidate3DS
        • Card
          • CarApplePay interface
            • ICardApplePay Interface
          • Card-Interface
            • ICard Interface
            • ICardSubscriptions Interface
          • Errors
            • Error list
          • Interfaces
            • Amount
            • ApplePayGetTokenOptions Interface
            • ApplePayOptions Interface
            • ApplePayPaymentContact
            • AppleTokenResponse
            • BrandByMerchantResponse Interface
            • CardFieldValues
            • CardInfo
            • CardOptions
            • CardTokenResponse
            • DeferredByBinOptionsResponse
            • DeferredInputValues
            • DeferredValuesResponse
            • DeviceTokenRequest
            • Field
            • FieldInstance
            • Fields
            • FieldValidity
            • FormValidity
            • MasterCardBrandingRequest
            • SecureDeviceTokenOptions
            • Styles
            • TokenResponse
            • VisaBrandingRequest
          • Methods
            • initApplePayButton
            • initCardToken
            • initSecureDeviceToken
            • requestBrandsByMerchant method
            • requestDeviceToken method
            • requestInitCardBrandingAnimation
          • Types
            • CssProperties
            • Currency
            • FieldTypeEnum
        • Card Payouts
          • Card Payouts Interface
            • ICardPayouts
          • Enumerations
            • Enumeration `InputModelEnum`
          • Errors
            • Errors
          • Interfaces
            • CardPayoutOptions
            • CardPayoutSubscriptionTokenResponse
            • CardPayoutUniqueTokenResponse
            • Field
            • Fields
            • FieldValidity
            • Interface FormValidity
            • Interface `Styles`
          • Methods
            • initCardPayoutToken
          • Type Aliases
            • CardPayoutTokenResponse
            • InputTypeEnum
          • Types
            • CssProperties
        • Kushki
          • Methods
            • init function
            • requestBankList function
            • requestCommissionConfiguration function
          • Classes
            • KushkiError
          • Interfaces
            • CommissionConfigurationRequest
            • IKushki
            • KushkiOptions
Bienvenida
Perú 🇵🇪México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
Bienvenida
Perú 🇵🇪México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
  1. Interfaces

Interface `Styles`

Styles Interface#

Defines the customizable CSS properties for various hosted fields.

Properties#

PropertyTypeRequiredDescription
cardNumberCssProperties❌ NoDefines the styles for the card number field.
cardholderNameCssProperties❌ NoDefines the styles for the cardholder name field.
containerCssProperties❌ NoDefines the styles for the container that wraps the hosted fields.
focusCssProperties❌ NoDefines the styles applied when an input field is focused.
inputCssProperties❌ NoDefines the styles for the input fields.
invalidCssProperties❌ NoDefines the styles applied when an input field contains an invalid value.
isSubscriptionCssProperties❌ NoDefines the styles for the subscription checkbox field.
labelCssProperties❌ NoDefines the styles for field labels.
validCssProperties❌ NoDefines the styles applied when an input field contains a valid value.

Type Definitions#

cardNumber (optional)#

Defines the styles for the card number field.

cardholderName (optional)#

Defines the styles for the cardholder name field.

container (optional)#

Defines the styles for the container that wraps the hosted fields.

focus (optional)#

Defines the styles applied when an input field is focused.

input (optional)#

Defines the styles for the input fields.

invalid (optional)#

Defines the styles applied when an input field contains an invalid value.

isSubscription (optional)#

Defines the styles for the subscription checkbox field.

label (optional)#

Defines the styles for field labels.

valid (optional)#

Defines the styles applied when an input field contains a valid value.
Modified at 2026-04-16 14:14:30
Previous
Interface FormValidity
Next
initCardPayoutToken
Built with