Add Sub-merchant

Pazaryeri_TP_AltUyeIsyeri_Ekleme

This method is used to add sub-merchant in the Pazaryeri.


Parameter Required Type Length Description
G * Object - ST_WS_Guvenlik Object
ETS_GUID * String 36 Value of Marketplace GUID
Tip * Integer 100 Sub-Merchant Type( 2= Sole Proprietorship, 3= Limited /Incorporated company)
Ad_Soyad * String 150 Authorized Person Name-Surname
Unvan String - Authorized Person Title
TC_VN * String - According to the Customer Type entry; TR Identity Number or Tax Number is written. Individual Customer=1,TC Number is mandatory for Tip=2 (Sole Proprietorship) Tax Number is mandatory for Tip=3 (Limited /Incorporated company).
GSM_No * String 10 GSM number of the merchant Ex:5xx123xxxx
IBAN_No * String 26 IBAN number of the merchant
IBAN_Unvan * String 250 Name-Surname/Title information of Merchant IBAN number
Adres String 200 Address of the merchant
Il * Integer 2 Mernis Province Code
Ilce * Integer 4 Mernis District Code
EPosta String 150 E-mail of the merchant
Website String - Web-address of the merchant
MCC_Kod String - Product Category Code
Yetkili_Kisi_TC No / Yes if “Tip”=3 String 11 Personal identification number of authorized person If the Customer Type information is sent as Type = 3 (Limited / Incorporated company ), it is obligatory to send the Yetkili_Kisi_TC parameter information.
Vergi_Daire * String - Tax Office Area If it is sent as Tip=2 (Sole Proprietorship) and Tip=3 (Limited / Incorporated company), it is mandatory under all circumstances.
Parameter Required Field Rules:
  • If Vergi_Daire Parameter is sent as Tip=2 and Tip=3, it is mandatory under all circumstances.
  • If TC_VN parameter is sent as Tip=2 Personal Company), TC Number must be entered.
  • If TC_VN parameter is sent as Tip=3 (Limited / Incorporated company) it is mandatory to enter the Tax Number.
  • Yetkili_Kisi_TC parameter is mandatory if Tip=3 sent as (Limited / Incorporated company)

G Object:

Parameter Required Type Length Description
CLIENT_CODE * Integer 5 Terminal ID will be forwarded by us.
CLIENT_USERNAME * String max 16 Username will be transmitted by us.
CLIENT_PASSWORD * String max 11 Password will be transmitted by us.
Parameter Type Length Description
Sonuc Integer - Result Value
Sonuc_Str String 150 Result Description, Sonuc_Ack Parameter > 0 Operation Successful, otherwise failed.
GUID_AltUyeIsyeri String 36 GUID of the sub-merchant
<?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>
<Pazaryeri_TP_AltUyeIsyeri_Ekleme xmlns="https://turkpos.com.tr/">
<G>
<CLIENT_CODE>10738</CLIENT_CODE>
<CLIENT_USERNAME>Test</CLIENT_USERNAME>
<CLIENT_PASSWORD>Test</CLIENT_PASSWORD>
</G> <ETS_GUID>0c13d406-873b-403b-9c09-a5766840d98c</ETS_GUID>
<Tip>1</Tip>
<Ad_Soyad>Test Deneme</Ad_Soyad>
<Unvan>Test Deneme</Unvan>
<TC_VN>5788924350</TC_VN>
<GSM_No>5312920320</GSM_No>
<IBAN_No>123456</IBAN_No>
<IBAN_Unvan>Test Deneme</IBAN_Unvan>
<Adres>AdanaMerkez</Adres>
<Il>1</Il>
<Ilce>1218</Ilce>
<EPosta>test.deneme@hotmail.com</Eposta>
<Website>www.google.com</Website>
<MCC_Kod>1000</MCC_Kod>
<Yetkili_Kisi_TC>61057998660</Yetkili_Kisi_TC>
<Vergi_Daire>1000587</Vergi_Daire>
</Pazaryeri_TP_AltUyeIsyeri_Ekleme>
</soap:Body>
</soap:Envelope>
<?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>
<Pazaryeri_TP_AltUyeIsyeri_EklemeResponse xmlns="https://turkpos.com.tr/">
<Pazaryeri_AltUyeIsyeriEklemeResult>
<Sonuc xsi:type="xsd:int">1</Sonuc>
<Sonuc_Str xsi:type="xsd:string">Başarılı</Sonuc_Str>
<GUID_AltUyeIsyeri xsi:type="xsd:string">a5c158be-8aaa-4716-abdc-f6f99eadfc81</GUID_AltUyeIsyeri>
</Pazaryeri_TP_AltUyeIsyeri_EklemeResult>
</Pazaryeri_TP_AltUyeIsyeri_EklemeResponse>
</soap:Body>
</soap:Envelope>