try {

            options = new preauthOptions.CreatePreauth().validate(options);

        } catch (err) {