Instantor API docs
  • Introduction
  • Getting started
  • Widget implementation
    • A step-by-step guide
  • Widget configuration
    • Identify your customer
    • Pre-select a bank
    • Listen to Widget events
    • Other methods
  • Report delivery
    • Delivery introduction
    • Delivery methods
    • Report example
    • Report status definitions
Powered by GitBook
On this page
  • Available key-value pairs
  • Example

Was this helpful?

  1. Widget configuration

Pre-select a bank

The .frameParam can be used to pre-select a bank and skip the bank selection step.

The frameParam method is an optional method used for altering the behaviour of the Instantor Widget.

instantor.frameParam(key, value)

Argument

Description

key (string)

Widget Information key

value (string | boolean)

Widget Information value

Available key-value pairs

Key

Effect

debug (bool)

If set to true, all events are logged to console. Default is false.

bankID (string)

This method is used for loading the Instantor Widget with a bank preselected, omitting the step which requires the customer to choose a bank. Providing an incorrect bankID fails silently and the bank-chooser component is displayed as fallback.

Example

const instantor = new Instantor('produktKey.de');
  
/* Set user-specific parameters */
instantor.frameParam('bankID', '4242');

instantor.load('#instantor_div');

Ask our tech support to provide the bankIDs for the banks you require.

PreviousIdentify your customerNextListen to Widget events

Last updated 5 years ago

Was this helpful?