TurkPos WS TEST


Click here for a complete list of operations.

Pos_Odeme

Test

The test form is only available for requests from the local machine.

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 /turkpos.ws/service_turkpos_test.asmx HTTP/1.1
Host: test-dmz.param.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://turkpos.com.tr/Pos_Odeme"

<?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>
    <Pos_Odeme xmlns="https://turkpos.com.tr/">
      <G>
        <CLIENT_CODE>string</CLIENT_CODE>
        <CLIENT_USERNAME>string</CLIENT_USERNAME>
        <CLIENT_PASSWORD>string</CLIENT_PASSWORD>
      </G>
      <GUID>string</GUID>
      <KK_Sahibi>string</KK_Sahibi>
      <KK_No>string</KK_No>
      <KK_SK_Ay>string</KK_SK_Ay>
      <KK_SK_Yil>string</KK_SK_Yil>
      <KK_CVC>string</KK_CVC>
      <KK_Sahibi_GSM>string</KK_Sahibi_GSM>
      <Hata_URL>string</Hata_URL>
      <Basarili_URL>string</Basarili_URL>
      <Siparis_ID>string</Siparis_ID>
      <Siparis_Aciklama>string</Siparis_Aciklama>
      <Taksit>int</Taksit>
      <Islem_Tutar>string</Islem_Tutar>
      <Toplam_Tutar>string</Toplam_Tutar>
      <Islem_Hash>string</Islem_Hash>
      <Islem_Guvenlik_Tip>string</Islem_Guvenlik_Tip>
      <Islem_ID>string</Islem_ID>
      <IPAdr>string</IPAdr>
      <Ref_URL>string</Ref_URL>
      <Data1>string</Data1>
      <Data2>string</Data2>
      <Data3>string</Data3>
      <Data4>string</Data4>
      <Data5>string</Data5>
      <Data6>string</Data6>
      <Data7>string</Data7>
      <Data8>string</Data8>
      <Data9>string</Data9>
      <Data10>string</Data10>
    </Pos_Odeme>
  </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>
    <Pos_OdemeResponse xmlns="https://turkpos.com.tr/">
      <Pos_OdemeResult>
        <Islem_ID>long</Islem_ID>
        <UCD_URL>string</UCD_URL>
        <Sonuc>string</Sonuc>
        <Sonuc_Str>string</Sonuc_Str>
        <Banka_Sonuc_Kod>int</Banka_Sonuc_Kod>
      </Pos_OdemeResult>
    </Pos_OdemeResponse>
  </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 /turkpos.ws/service_turkpos_test.asmx HTTP/1.1
Host: test-dmz.param.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>
    <Pos_Odeme xmlns="https://turkpos.com.tr/">
      <G>
        <CLIENT_CODE>string</CLIENT_CODE>
        <CLIENT_USERNAME>string</CLIENT_USERNAME>
        <CLIENT_PASSWORD>string</CLIENT_PASSWORD>
      </G>
      <GUID>string</GUID>
      <KK_Sahibi>string</KK_Sahibi>
      <KK_No>string</KK_No>
      <KK_SK_Ay>string</KK_SK_Ay>
      <KK_SK_Yil>string</KK_SK_Yil>
      <KK_CVC>string</KK_CVC>
      <KK_Sahibi_GSM>string</KK_Sahibi_GSM>
      <Hata_URL>string</Hata_URL>
      <Basarili_URL>string</Basarili_URL>
      <Siparis_ID>string</Siparis_ID>
      <Siparis_Aciklama>string</Siparis_Aciklama>
      <Taksit>int</Taksit>
      <Islem_Tutar>string</Islem_Tutar>
      <Toplam_Tutar>string</Toplam_Tutar>
      <Islem_Hash>string</Islem_Hash>
      <Islem_Guvenlik_Tip>string</Islem_Guvenlik_Tip>
      <Islem_ID>string</Islem_ID>
      <IPAdr>string</IPAdr>
      <Ref_URL>string</Ref_URL>
      <Data1>string</Data1>
      <Data2>string</Data2>
      <Data3>string</Data3>
      <Data4>string</Data4>
      <Data5>string</Data5>
      <Data6>string</Data6>
      <Data7>string</Data7>
      <Data8>string</Data8>
      <Data9>string</Data9>
      <Data10>string</Data10>
    </Pos_Odeme>
  </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>
    <Pos_OdemeResponse xmlns="https://turkpos.com.tr/">
      <Pos_OdemeResult>
        <Islem_ID>long</Islem_ID>
        <UCD_URL>string</UCD_URL>
        <Sonuc>string</Sonuc>
        <Sonuc_Str>string</Sonuc_Str>
        <Banka_Sonuc_Kod>int</Banka_Sonuc_Kod>
      </Pos_OdemeResult>
    </Pos_OdemeResponse>
  </soap12:Body>
</soap12:Envelope>