예제 #1
0
 public static PaymentPreAuth create(CreatePaymentRequest request, Options options) {
   return HttpClient.create()
       .post(
           options.getBaseUrl() + "/payment/iyzipos/preauth/ecom",
           getHttpHeaders(request, options),
           request,
           PaymentPreAuth.class);
 }
예제 #2
0
 public static BKMInitialize create(CreateBKMInitializeRequest request, Options options) {
   BKMInitialize response =
       HttpClient.create()
           .post(
               options.getBaseUrl() + "/payment/iyzipos/bkm/initialize/ecom",
               getHttpHeaders(request, options),
               request,
               BKMInitialize.class);
   if (response != null) {
     response.setHtmlContent(DigestHelper.decodeString(response.getHtmlContent()));
   }
   return response;
 }