Options to initialize the Payments class.

interface PaymentOptions {
    appId?: string;
    environment: EnvironmentName;
    returnUrl: string;
    version?: string;
}

Properties

appId?: string

The app id.

environment: EnvironmentName

The environment to connect to.

returnUrl: string

The URL to return to the app after a successful login.

version?: string

The version of the library.