Type alias CheckoutWidgetsConfig

CheckoutWidgetsConfig: {
    theme?: checkout.WidgetTheme;
    environment?: config.Environment;
    version?: checkout.SemanticVersion;
    isOnRampEnabled?: boolean;
    isSwapEnabled?: boolean;
    isBridgeEnabled?: boolean;
}

Represents the global configuration options for the Checkout Widgets.

Type declaration

  • Optional theme?: checkout.WidgetTheme

    The theme of the Checkout Widget (default: "DARK")

  • Optional environment?: config.Environment

    The environment configuration (default: "SANDBOX")

  • Optional version?: checkout.SemanticVersion

    The version of the checkout widgets js file to use (default: "0.1.x")

  • Optional isOnRampEnabled?: boolean

    Enable on-ramp top-up method (default: "true")

  • Optional isSwapEnabled?: boolean

    Enable swap top-up method (default: "true")

  • Optional isBridgeEnabled?: boolean

    Enable bridge top-up method (default: "true")

Generated using TypeDoc