iFrame Functions


๐Ÿ“˜

BIN lookup is a subscription service. Contact [email protected] or [email protected] to gain access to our BIN lookup product.

The TokenEx iFrame library exposes the following functions:

LoadLoads the iFrame and adds it to the DOM
FocusSet the focus of the page to the input element within the iFrame
BlurRemove focus from the input element within the iFrame
CvvFocusSet the focus of the page to the CVV input element within the iFrame
CvvBlurRemove focus from the CVV input element within the iFrame
ResetRestore iFrame contents to initial state
RemoveRemove iFrame from the DOM
ValidateInvokes validation routines on the contents of the iFrame
TokenizeValidates and tokenizes the contents of the iFrame (if validations succeed)
ValidateConfigOutputs whether the config passed in to the iframe instance is valid
BinLookupInvoke Bin Lookup and output the response
SetPANInserts a value into the iFrame input element
iframe.load();
iframe.focus();
iframe.blur();
iframe.cvvFocus();
iframe.cvvBlur();
iframe.reset();
iframe.remove();
iframe.validate();
iframe.tokenize();
iframe.validateConfig();
iframe.binLookup();
iframe.setPAN("5454545454545454");