interface ModFinancialDecisionProperties {
    demoPdf?: string;
    errorRedirectUrl?: string;
    fdeVariant: "FDE_KC_B2C";
    redirectUrl?: string;
}

Hierarchy (view full)

Properties

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.

errorRedirectUrl?: string

Where the browser goes when the widget fails, in place of showing the error view and in place of the error redirect URL in your finAPI configuration.

The same rules as for redirectUrl apply, checked against the error redirect URL pattern of your finAPI configuration.

fdeVariant: "FDE_KC_B2C"

Selects the use case the widget runs. This property is mandatory, the widget shows a validation error when it is not provided.

redirectUrl?: string

Where the browser goes once the user has completed the flow, in place of the redirect URL in your finAPI configuration.

The URL is used only if your finAPI configuration has a redirect URL pattern and the URL matches that pattern as a whole. It must also be an absolute http or https URL of at most 255 characters. Otherwise the property is ignored, the reason is logged as a warning in the browser console, and the widget goes on as if the property had not been set.

Generated using TypeDoc