public static function confirmPayment($options)
    {
        $api = new Api\ConfirmPayment();

        if (isset($options['hash'])) {
            $api->setHash($options['hash']);
        }
        if (isset($options['emailAddress'])) {
            $api->setEmailAddress($options['emailAddress']);
        }
        if (isset($options['languageId'])) {
            $api->setLanguageId($options['languageId']);
        }

        $result = $api->doRequest();
        return new Result\ConfirmPayment($result);
    }