Options to initialize the Payments class.

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

Properties

appId?: string

The app id. This attribute is optional and helps to associate assets registered into Nevermined with a common identifier.

environment: EnvironmentName

The Nevermined environment to connect to. If you are developing an agent it's recommended to use the "testing" environment. When deploying to production use the "arbitrum" environment.

nvmApiKey?: string

The Nevermined API Key. This key identify your user and is required to interact with the Nevermined API. You can get your API key by logging in to the Nevermined App.

returnUrl?: string

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

version?: string

The version of the API to use.