• Creates a controller for one Checkout Session. The caller owns the controller lifecycle and must destroy it when it is no longer needed.

    Parameters

    Returns Promise<CheckoutController>

    This API is in private preview and can change without notice.