// Taksit Sorgulama public ActionResult Get() { var request = new GetInstallmentsRequest { ApiKey = _apiKey, BinNumber = "454360" }; var apiUrl = _apiUrl + "/merchants/installments"; var response = _installmentProcessor.GetInstallments(request, apiUrl, _secretKey); return(View(new InstallmentResultModel { Success = response.Success, MessageCode = response.MessageCode, Message = response.Message, UserMessage = response.UserMessage, InstallmentDtos = response.InstallmentDtos })); }
public GetInstallmentsResponse GetInstallments(GetInstallmentsRequest reqModel, string apiUrl, string secretKey) { var installmentResponse = RestCallPost <GetInstallmentsResponse>(apiUrl, reqModel, secretKey); return(installmentResponse); }