@nevermined-io/payments
    Preparing search index...

    Interface PaymentOptions

    interface PaymentOptions {
        appId?: string;
        environment: EnvironmentName;
        nvmApiKey: string;
        organizationId?: string;
        returnUrl?: string;
        scheme?: "nvm";
        version?: string;
    }
    Index

    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 "sandbox" environment. When deploying to live use the "live" 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.

    organizationId?: string

    Optional organization ID to use as the active workspace for every authenticated backend request. When set, the SDK sends an X-Current-Org-Id header so the backend scopes published agents, plans, and other resources to this organization.

    If omitted the backend falls back to the API key's org tag or to the caller's most-recent active membership (see CurrentOrgContextGuard in nvm-monorepo).

    Override per-call via the organizationId option on create methods.

    Payments.setOrganizationId

    returnUrl?: string

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

    scheme?: "nvm"

    The payment scheme to use. Defaults to 'nvm'.

    version?: string

    The version of the API to use.