In this first step the FlexCapture object should be instantiated with the Form Configuration Parameters.

<div id="demo">
</div>

var tokenRequest = {
    "action": "tokenize",
    //The fields for tokenization are detailed in the following section.
};

var capture = new FlexCapture({
    "key": " h3SXMZndLJqWg7wQC749qPao",
    "payload": tokenRequest,
    "additionalFields": []
});
CODE

Continue to Show Tokenization Form ➡️