Interface CreditCheckLoanProperties

interface CreditCheckLoanProperties {
    clientReference?: string;
    clientReferenceKey?: string;
    cmsServer?: string;
    demoPdf?: string;
    iban?: string;
    jsStaticResourcesServer?: string;
    mandatorId?: string;
    processToken?: string;
    processctlServer?: string;
    processctlSolutionsServer?: string;
    scroll?: {
        enabled?: number;
        scrollYOffset?: number;
    };
    styleOverrides?: string;
    theme?: string;
    themeOverrides?: Record<string, unknown>;
    useContainedDialogs?: boolean;
}

Hierarchy (view full)

Properties

clientReference?: string

clientReference will be considered only when you authenticate with mandatorId.

The clientReference setting can be used to customize the widget's process. Not all widgets use this setting, so please refer to the widget's documentation for more details.

clientReferenceKey?: string

clientReferenceKey will be considered only when you authenticate with mandatorId.

The clientReferenceKey allows you to label the widget instance with a keyword, so you can monitor the success of the widgets with the given reference key.

For instance, if you are running various campaigns to advertise a new product, you could provide campaign identifiers in the reference key. Then, the user usage data can be retrieved from the Process Controller API.

cmsServer?: string

Server URL of the Content Management System.

Default

https://cms-finapi-general-live.finapi.io
demoPdf?: string

Specifies the URL of a PDF file containing the results. Under typical circumstances, when reaching the final view displaying the results, users have the option to download the results in PDF format from the Process Controller API. If this property is configured, the application will directly open the specified URL in a new tab, bypassing the need to query the API.

iban?: string

If you provide the iban, the account import will begin with the predefined IBAN, and the user will not be able to select any other account.

jsStaticResourcesServer?: string

Server URL where the static resources are hosted.

Default

https://js-static-resources-finapi-general-live.finapi.io
mandatorId?: string

Widget's authentication can be done by providing either a processToken or a mandatorId. If both are provided, the processToken will take precedence.

After registering, you will be provided with a UUID known as the 'mandatorId'. Once you provide the 'mandatorId', the widget will automatically generate a 'processToken' for the predefined Client associated with your Mandator.

processToken?: string

Widget's authentication can be done by providing either a processToken or a mandatorId. If both are provided, the processToken will take precedence.

The processToken is a UUID and must be obtained from the API before authentication by providing Client credentials.

processctlServer?: string

Server URL of the Process Controller API.

Default

https://di-processctl-finapi-general-live.finapi.io
processctlSolutionsServer?: string

Server URL of the Process Controller Solutions API.

Default

https://di-processctl-finapi-general-live.finapi.io
scroll?: {
    enabled?: number;
    scrollYOffset?: number;
}

Type declaration

  • Optional enabled?: number

    Upon setting this parameter to true window.history.scrollRestoration behaviour will be changed to manual in order for manual scroll to restore its position properly when navigating usign back/forward buttons.

  • Optional scrollYOffset?: number

    ' Sets offset relative to widget element offset. Usually used for adding offset for the main menu.

styleOverrides?: string

styleOverrides enables you to supply the URL of a stylesheet which will be loaded in the widget scope using <link rel="stylesheet" href={styleOverrides} type="text/css" />. To find out which CSS classes are available for override, please refer to the widget class documentation.

theme?: string

The theme property enables you to select a predefined theme to be applied to the widget.

Default

finapi
themeOverrides?: Record<string, unknown>

Our theme extends the default Material UI theme, which can be found at https://mui.com/material-ui/customization/default-theme/#main-content. themeOverrides can be used to customize the theme settings for specific cases. If you need help with this, please contact our customer support for assistance.

useContainedDialogs?: boolean

The widget will be embedded in a container that you provide. If useContainedDialogs is set to true, the dialogs and modal elements, along with the overlay, will be contained within the container. If it is set to false, the overlay and modals will cover the entire host page.

Default

true

Generated using TypeDoc