BIN Codes

Method Name: BIN_SanalPos

Returns credit card BIN-bank information and SanalPOS_ID value. If BIN value is empty, all records will be returned.

Parameter Required Type Length Description
G Yes Object - ST_WS_Guvenlik Object
BIN No String 6 or 8 If empty, returns all BIN codes.
If filled, returns information for that BIN code.
Parameter Type Length Description
Sonuc Integer - Operation Result
Sonuc_Str String - Operation result description
DT_Bilgi Object - Returns card-bank information related to credit card
<?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>
<BIN_SanalPos xmlns="https://turkpos.com.tr/">
<G>
<CLIENT_CODE>10738</CLIENT_CODE>
<CLIENT_USERNAME>Test</CLIENT_USERNAME>
<CLIENT_PASSWORD>Test</CLIENT_PASSWORD>
</G>
<BIN>454671</BIN>
</BIN_SanalPos>
</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<BIN_SanalPosResponse xmlns="https://turkpos.com.tr/">
<BIN_SanalPosResult>
<DT_Bilgi>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="Temp" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Temp">
<xs:complexType>
<xs:sequence>
<xs:element name="BIN" type="xs:string" minOccurs="0" />
<xs:element name="SanalPOS_ID" type="xs:int" minOccurs="0" />
<xs:element name="Kart_Banka" type="xs:string" minOccurs="0" />
<xs:element name="DKK" type="xs:int" minOccurs="0" />
<xs:element name="Kart_Tip" type="xs:string" minOccurs="0" />
<xs:element name="Kart_Org" type="xs:string" minOccurs="0" />
<xs:element name="Banka_Kodu" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet xmlns="">
<Temp diffgr:id="Temp1" msdata:rowOrder="0">
<BIN>454671</BIN>
<SanalPOS_ID>1008</SanalPOS_ID>
<Kart_Banka>T.C. ZİRAAT BANKASI A.Ş.</Kart_Banka>
<DKK>0</DKK>
<Kart_Tip>Kredi Kartı</Kart_Tip>
<Kart_Org>VISA</Kart_Org>
<Banka_Kodu>10</Banka_Kodu>
</Temp>
</NewDataSet>
</diffgr:diffgram>
</DT_Bilgi>
<Sonuc>1</Sonuc>
<Sonuc_Str>Başarılı</Sonuc_Str>
</BIN_SanalPosResult>
</BIN_SanalPosResponse>
</soap:Body>
</soap:Envelope>

DT_Info Object

Parameter Type Length Description
BIN String - BIN value
SanalPOS_ID String - SanalPOS ID value
Kart_Banka String - Bank name
DKK String - Debit credit card
Kart_Tip String - Card type (e.g., Visa, Mastercard)
Kart_Org String - Card Information
(VISA-MASTER-TROY-AMEX)
Banka_Kodu String - Bank Code