예제 #1
0
        public static BasicBkmInitialize Create(CreateBasicBkmInitializeRequest request, Options options)
        {
            BasicBkmInitialize response = RestHttpClient.Create().Post <BasicBkmInitialize>(options.BaseUrl + "/payment/bkm/initialize/basic", request, options);

            if (response != null)
            {
                response.HtmlContent = DigestHelper.decodeString(response.HtmlContent);
            }
            return(response);
        }
예제 #2
0
        public static ThreedsInitializePreAuth Create(CreatePaymentRequest request, Options options)
        {
            ThreedsInitializePreAuth response = RestHttpClient.Create().Post <ThreedsInitializePreAuth>(options.BaseUrl + "/payment/3dsecure/initialize/preauth", GetHttpHeaders(request, options), request);

            if (response != null)
            {
                response.HtmlContent = DigestHelper.decodeString(response.HtmlContent);
            }
            return(response);
        }
예제 #3
0
        public static ThreeDSInitialize Create(CreateThreeDSInitializeRequest request, Options options)
        {
            ThreeDSInitialize response = RestHttpClient.Create().Post <ThreeDSInitialize>(options.BaseUrl + "/payment/iyzipos/initialize3ds/ecom", GetHttpHeaders(request, options), request);

            if (response != null)
            {
                response.HtmlContent = DigestHelper.decodeString(response.HtmlContent);
            }
            return(response);
        }
예제 #4
0
        public static ConnectBKMInitialize Create(CreateConnectBKMInitializeRequest request, Options options)
        {
            ConnectBKMInitialize response = RestHttpClient.Create().Post <ConnectBKMInitialize>(options.BaseUrl + "/payment/iyziconnect/bkm/initialize", GetHttpHeaders(request, options), request);

            if (response != null)
            {
                response.HtmlContent = DigestHelper.decodeString(response.HtmlContent);
            }
            return(response);
        }