clsZCreditWS
Click here for a complete list of operations.
GetTransactionStatusByTransactionUniqueIdForQuery
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 /ZCreditWS.asmx HTTP/1.1 Host: pci.zcredit.co.il Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://z-credit.com/GetTransactionStatusByTransactionUniqueIdForQuery" <?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> <GetTransactionStatusByTransactionUniqueIdForQuery xmlns="http://z-credit.com/"> <TerminalNumber>string</TerminalNumber> <Password>string</Password> <TransactionUniqueIdForQuery>string</TransactionUniqueIdForQuery> </GetTransactionStatusByTransactionUniqueIdForQuery> </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> <GetTransactionStatusByTransactionUniqueIdForQueryResponse xmlns="http://z-credit.com/"> <GetTransactionStatusByTransactionUniqueIdForQueryResult> <HasError>boolean</HasError> <ReturnCode>int</ReturnCode> <ReturnMessage>string</ReturnMessage> <ReferenceNumber>int</ReferenceNumber> <ClientReciept>string</ClientReciept> <ClientRecieptPP>string</ClientRecieptPP> <SellerReciept>string</SellerReciept> <SellerRecieptPP>string</SellerRecieptPP> <ApprovalNumber>string</ApprovalNumber> <CardBrandCode>string</CardBrandCode> <CardFinancerCode>string</CardFinancerCode> <CardIssuerCode>string</CardIssuerCode> <CardName>string</CardName> <CardNumber>string</CardNumber> <ExpDate_MMYY>string</ExpDate_MMYY> <Token>string</Token> <VoucherNumber>string</VoucherNumber> <SaveDate>dateTime</SaveDate> <TransactionSum>double</TransactionSum> <NumberOfPayments>int</NumberOfPayments> <FirstPaymentSum>double</FirstPaymentSum> <OtherPaymentsSum>double</OtherPaymentsSum> <J>int</J> <HolderID>string</HolderID> <IsCustomerPresent>boolean</IsCustomerPresent> <CustomerName>string</CustomerName> <CustomerAddress>string</CustomerAddress> <CustomerEmail>string</CustomerEmail> <DealTypeCode>int</DealTypeCode> <CreditTypeCode>int</CreditTypeCode> <CurrencyTypeCode>int</CurrencyTypeCode> <CustomerPhone>string</CustomerPhone> <StarsSum>double</StarsSum> <ExtraInfo>string</ExtraInfo> <ApprovalType>string</ApprovalType> <LocationData>string</LocationData> <ItemDescription>string</ItemDescription> <ApplicationType>int</ApplicationType> <DepositId>int</DepositId> <StatusCode>int</StatusCode> <StatusDescription>string</StatusDescription> <IntOt_JSON>string</IntOt_JSON> <IntOt>string</IntOt> <PanEntryMode>string</PanEntryMode> <PaymentMethod>Regular or Secured3DS or Bit or MaxPay or ApplePay or CDCVM or GooglePay</PaymentMethod> <PinpadId>int</PinpadId> <TPN>string</TPN> </GetTransactionStatusByTransactionUniqueIdForQueryResult> </GetTransactionStatusByTransactionUniqueIdForQueryResponse> </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 /ZCreditWS.asmx HTTP/1.1 Host: pci.zcredit.co.il 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> <GetTransactionStatusByTransactionUniqueIdForQuery xmlns="http://z-credit.com/"> <TerminalNumber>string</TerminalNumber> <Password>string</Password> <TransactionUniqueIdForQuery>string</TransactionUniqueIdForQuery> </GetTransactionStatusByTransactionUniqueIdForQuery> </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> <GetTransactionStatusByTransactionUniqueIdForQueryResponse xmlns="http://z-credit.com/"> <GetTransactionStatusByTransactionUniqueIdForQueryResult> <HasError>boolean</HasError> <ReturnCode>int</ReturnCode> <ReturnMessage>string</ReturnMessage> <ReferenceNumber>int</ReferenceNumber> <ClientReciept>string</ClientReciept> <ClientRecieptPP>string</ClientRecieptPP> <SellerReciept>string</SellerReciept> <SellerRecieptPP>string</SellerRecieptPP> <ApprovalNumber>string</ApprovalNumber> <CardBrandCode>string</CardBrandCode> <CardFinancerCode>string</CardFinancerCode> <CardIssuerCode>string</CardIssuerCode> <CardName>string</CardName> <CardNumber>string</CardNumber> <ExpDate_MMYY>string</ExpDate_MMYY> <Token>string</Token> <VoucherNumber>string</VoucherNumber> <SaveDate>dateTime</SaveDate> <TransactionSum>double</TransactionSum> <NumberOfPayments>int</NumberOfPayments> <FirstPaymentSum>double</FirstPaymentSum> <OtherPaymentsSum>double</OtherPaymentsSum> <J>int</J> <HolderID>string</HolderID> <IsCustomerPresent>boolean</IsCustomerPresent> <CustomerName>string</CustomerName> <CustomerAddress>string</CustomerAddress> <CustomerEmail>string</CustomerEmail> <DealTypeCode>int</DealTypeCode> <CreditTypeCode>int</CreditTypeCode> <CurrencyTypeCode>int</CurrencyTypeCode> <CustomerPhone>string</CustomerPhone> <StarsSum>double</StarsSum> <ExtraInfo>string</ExtraInfo> <ApprovalType>string</ApprovalType> <LocationData>string</LocationData> <ItemDescription>string</ItemDescription> <ApplicationType>int</ApplicationType> <DepositId>int</DepositId> <StatusCode>int</StatusCode> <StatusDescription>string</StatusDescription> <IntOt_JSON>string</IntOt_JSON> <IntOt>string</IntOt> <PanEntryMode>string</PanEntryMode> <PaymentMethod>Regular or Secured3DS or Bit or MaxPay or ApplePay or CDCVM or GooglePay</PaymentMethod> <PinpadId>int</PinpadId> <TPN>string</TPN> </GetTransactionStatusByTransactionUniqueIdForQueryResult> </GetTransactionStatusByTransactionUniqueIdForQueryResponse> </soap12:Body> </soap12:Envelope>