initSecureDeviceToken method#
Parameters#
You must define the setup of the CVV hosted field* Define DeviceTokenRequest with a subscriptionId Deprecated! This field has been deprecated in this method as of version 1.6.3, and should no longer be used.
* If you want to prevent the fields from being autocomplete (default value is false).
* Set custom fields.
* Set custom styles.Returns#
Errors#
* If the options or kushkiInstance parameters are null or undefined, then throw error code E012.
* If any field of the options.fields parameter has an incorrect selector, then throw error code E013.Examples#
Secure Device Token basic configuration#
Define the container for the cvv field.Init subscription card instance#
Create an instance of SecureDeviceTokenOptions by sending a subscriptionId and declaring the field for the CVV.Card token for subscriptions, avoid autocomplete and custom fields.#
Container definition in html.Init subscription card instance#
* Review the information you can set when creating a DeviceTokenRequest instance.
* To enable autofill prevention on fields, the preventAutofill flag must be true.Defining custom styles#
Defining containers in html.#
Init subscription card instance#
Declaring custom styles for the CVV fieldModified at 2026-02-02 22:10:25