Represents the configuration that is required in order to configure the SDK.

interface SdkConfiguration {
    apiEnvironment: ApiEnvironment;
    configToken: string;
}

Properties

apiEnvironment: ApiEnvironment

The environment that the SDK is running against.

Example

ApiEnvironment.TEST
configToken: string

The config JWT that was issued through the Paysafe API.

The configToken is an essential part of the SDK configuration. It is used to bootstrap the SDK and prepare it for further use.