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

Field

Interface Field#

Represents the configuration options for a hosted field.

Properties#

PropertyTypeRequiredDescription
selectorstring✅ YesThe CSS selector used to identify the field.
defaultValueboolean❌ NoDefines a default value for the field.
hiddenLabelstring❌ NoDefines a hidden label for accessibility purposes.
inputTypeInputTypeEnum❌ NoSpecifies the input type for the field.
isRequiredboolean❌ NoDefines whether the field is required.
labelstring❌ NoSpecifies the label text for the field.
maxCardLengthnumber❌ NoDefines the maximum length allowed for card numbers.
placeholderstring❌ NoSpecifies the placeholder text for the field.

Type Definitions#

selector#

The CSS selector used to identify the field.

defaultValue (optional)#

Defines a default value for the field.

hiddenLabel (optional)#

Defines a hidden label for accessibility purposes.

inputType (optional)#

Specifies the input type for the field.

isRequired (optional)#

Defines whether the field is required.

label (optional)#

Specifies the label text for the field.

maxCardLength (optional)#

Defines the maximum length allowed for card numbers.

placeholder (optional)#

Specifies the placeholder text for the field.
Modified at 2026-04-16 14:14:30
Previous
CardPayoutUniqueTokenResponse
Next
Fields
Built with