Service


Click here for a complete list of operations.

ProcessMethodbyParam

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
MerchantNo:
MerchantPassword:
TransactionType:
Brand:
PAN:
ExpireDate:
CVV2:
Amount:
SurchargeAmount:
AmountCurrencyCode:
InstalmentAmount:
ECI:
CAVV:
TrnxID:
RefTrnxID:
LoyaltyAmount:
LoyaltyCurrencyCode:
ExpSign:
IsOpportunitySale:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx HTTP/1.1
Host: sanalpos.ziraatbank.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.innova.com.tr/WS/ProcessMethodbyParam"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessMethodbyParam xmlns="http://www.innova.com.tr/WS">
      <MerchantNo>string</MerchantNo>
      <MerchantPassword>string</MerchantPassword>
      <TransactionType>None or Auth or AuthRefund or AuthCancel or Capture or CaptureRefund or CaptureCancel or Sale or SaleRefund or SaleCancel or SaledCustomInstallment or MaximumOpportunitySearch or Credit or CreditRefund or LoyaltyEnquiry or Reversal or BatchTest or BatchOpen or BatchClose</TransactionType>
      <Brand>Visa or Master or Troy</Brand>
      <PAN>string</PAN>
      <ExpireDate>string</ExpireDate>
      <CVV2>string</CVV2>
      <Amount>int</Amount>
      <SurchargeAmount>int</SurchargeAmount>
      <AmountCurrencyCode>int</AmountCurrencyCode>
      <InstalmentAmount>int</InstalmentAmount>
      <ECI>string</ECI>
      <CAVV>string</CAVV>
      <TrnxID>string</TrnxID>
      <RefTrnxID>string</RefTrnxID>
      <LoyaltyAmount>int</LoyaltyAmount>
      <LoyaltyCurrencyCode>int</LoyaltyCurrencyCode>
      <ExpSign>boolean</ExpSign>
      <IsOpportunitySale>string</IsOpportunitySale>
    </ProcessMethodbyParam>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessMethodbyParamResponse xmlns="http://www.innova.com.tr/WS">
      <ProcessMethodbyParamResult>
        <Host>
          <AuthCode>string</AuthCode>
          <RRN>string</RRN>
          <TrxDate>string</TrxDate>
          <TrxTime>string</TrxTime>
          <RC>string</RC>
        </Host>
        <iPayResult>
          <Code>int</Code>
          <ResultText>string</ResultText>
          <ErrorMessage>string</ErrorMessage>
        </iPayResult>
        <LoyaltyInfo>
          <KazanilanPuan>int</KazanilanPuan>
          <KalanPuan>int</KalanPuan>
          <HarcananPuan>int</HarcananPuan>
          <HarcananPara>int</HarcananPara>
        </LoyaltyInfo>
        <TrnxID>string</TrnxID>
      </ProcessMethodbyParamResult>
    </ProcessMethodbyParamResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx HTTP/1.1
Host: sanalpos.ziraatbank.com.tr
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ProcessMethodbyParam xmlns="http://www.innova.com.tr/WS">
      <MerchantNo>string</MerchantNo>
      <MerchantPassword>string</MerchantPassword>
      <TransactionType>None or Auth or AuthRefund or AuthCancel or Capture or CaptureRefund or CaptureCancel or Sale or SaleRefund or SaleCancel or SaledCustomInstallment or MaximumOpportunitySearch or Credit or CreditRefund or LoyaltyEnquiry or Reversal or BatchTest or BatchOpen or BatchClose</TransactionType>
      <Brand>Visa or Master or Troy</Brand>
      <PAN>string</PAN>
      <ExpireDate>string</ExpireDate>
      <CVV2>string</CVV2>
      <Amount>int</Amount>
      <SurchargeAmount>int</SurchargeAmount>
      <AmountCurrencyCode>int</AmountCurrencyCode>
      <InstalmentAmount>int</InstalmentAmount>
      <ECI>string</ECI>
      <CAVV>string</CAVV>
      <TrnxID>string</TrnxID>
      <RefTrnxID>string</RefTrnxID>
      <LoyaltyAmount>int</LoyaltyAmount>
      <LoyaltyCurrencyCode>int</LoyaltyCurrencyCode>
      <ExpSign>boolean</ExpSign>
      <IsOpportunitySale>string</IsOpportunitySale>
    </ProcessMethodbyParam>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ProcessMethodbyParamResponse xmlns="http://www.innova.com.tr/WS">
      <ProcessMethodbyParamResult>
        <Host>
          <AuthCode>string</AuthCode>
          <RRN>string</RRN>
          <TrxDate>string</TrxDate>
          <TrxTime>string</TrxTime>
          <RC>string</RC>
        </Host>
        <iPayResult>
          <Code>int</Code>
          <ResultText>string</ResultText>
          <ErrorMessage>string</ErrorMessage>
        </iPayResult>
        <LoyaltyInfo>
          <KazanilanPuan>int</KazanilanPuan>
          <KalanPuan>int</KalanPuan>
          <HarcananPuan>int</HarcananPuan>
          <HarcananPara>int</HarcananPara>
        </LoyaltyInfo>
        <TrnxID>string</TrnxID>
      </ProcessMethodbyParamResult>
    </ProcessMethodbyParamResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Service.asmx/ProcessMethodbyParam?MerchantNo=string&MerchantPassword=string&TransactionType=string&Brand=string&PAN=string&ExpireDate=string&CVV2=string&Amount=string&SurchargeAmount=string&AmountCurrencyCode=string&InstalmentAmount=string&ECI=string&CAVV=string&TrnxID=string&RefTrnxID=string&LoyaltyAmount=string&LoyaltyCurrencyCode=string&ExpSign=string&IsOpportunitySale=string HTTP/1.1
Host: sanalpos.ziraatbank.com.tr
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<iPayResponse xmlns="http://www.innova.com.tr/WS">
  <Host>
    <AuthCode>string</AuthCode>
    <RRN>string</RRN>
    <TrxDate>string</TrxDate>
    <TrxTime>string</TrxTime>
    <RC>string</RC>
  </Host>
  <iPayResult>
    <Code>int</Code>
    <ResultText>string</ResultText>
    <ErrorMessage>string</ErrorMessage>
  </iPayResult>
  <LoyaltyInfo>
    <KazanilanPuan>int</KazanilanPuan>
    <KalanPuan>int</KalanPuan>
    <HarcananPuan>int</HarcananPuan>
    <HarcananPara>int</HarcananPara>
  </LoyaltyInfo>
  <TrnxID>string</TrnxID>
</iPayResponse>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx/ProcessMethodbyParam HTTP/1.1
Host: sanalpos.ziraatbank.com.tr
Content-Type: application/x-www-form-urlencoded
Content-Length: length

MerchantNo=string&MerchantPassword=string&TransactionType=string&Brand=string&PAN=string&ExpireDate=string&CVV2=string&Amount=string&SurchargeAmount=string&AmountCurrencyCode=string&InstalmentAmount=string&ECI=string&CAVV=string&TrnxID=string&RefTrnxID=string&LoyaltyAmount=string&LoyaltyCurrencyCode=string&ExpSign=string&IsOpportunitySale=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<iPayResponse xmlns="http://www.innova.com.tr/WS">
  <Host>
    <AuthCode>string</AuthCode>
    <RRN>string</RRN>
    <TrxDate>string</TrxDate>
    <TrxTime>string</TrxTime>
    <RC>string</RC>
  </Host>
  <iPayResult>
    <Code>int</Code>
    <ResultText>string</ResultText>
    <ErrorMessage>string</ErrorMessage>
  </iPayResult>
  <LoyaltyInfo>
    <KazanilanPuan>int</KazanilanPuan>
    <KalanPuan>int</KalanPuan>
    <HarcananPuan>int</HarcananPuan>
    <HarcananPara>int</HarcananPara>
  </LoyaltyInfo>
  <TrnxID>string</TrnxID>
</iPayResponse>