public static PaymentPreAuth create(CreatePaymentRequest request, Options options) { return HttpClient.create() .post( options.getBaseUrl() + "/payment/iyzipos/preauth/ecom", getHttpHeaders(request, options), request, PaymentPreAuth.class); }
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; }