Inttegro Web SDKs - v0.5.4
    Preparing search index...

    Interface InttegroRuntime

    The validated runtime currently served from Inttegro's controlled origin.

    Obtain this object from loadInttegro; do not read or fabricate the browser global directly.

    interface InttegroRuntime {
        version: string;
        createCheckout(options: CheckoutOptions): CheckoutController;
    }
    Index
    version: string

    Hosted runtime release currently executing on the page.

    • Creates an unmounted controller for a finalized Order or a Purchase Intent whose price is selected by the customer inside Checkout.

      Creation validates configuration synchronously but performs no network or DOM work. Register lifecycle handlers before calling CheckoutController.mount so early events are not missed.

      Parameters

      • options: CheckoutOptions

        Exactly one Checkout reference and the initial presentation configuration.

      Returns CheckoutController

      A controller in the idle state.

      InttegroCheckoutError with invalid_checkout_reference, invalid_order_id, invalid_purchase_intent_id, invalid_locale, or invalid_timeout for invalid options.