Reference for https://icredit.rivhit.co.il/API/PaymentPageRequest.svc/SaleDetails
Get sale details
Url: https://icredit.rivhit.co.il/API/PaymentPageRequest.svc/SaleDetails
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example request Xml body:
<SaleDetailsRequestDTO xmlns="https://icredit.rivhit.co.il/api"> <SaleId>1627aea5-8e0a-4371-9022-9b504344e724</SaleId> <SalePrivateToken>1627aea5-8e0a-4371-9022-9b504344e724</SalePrivateToken> </SaleDetailsRequestDTO>
The following is an example request Json body:
{
"SaleId":"1627aea5-8e0a-4371-9022-9b504344e724",
"SalePrivateToken":"1627aea5-8e0a-4371-9022-9b504344e724"
}
The following is an example response Xml body:
<SaleDetailsResponseDTO xmlns="https://icredit.rivhit.co.il/api">
<Address>String content</Address>
<Amount>12678967.543233</Amount>
<AuthNum>String content</AuthNum>
<CardDueDate>String content</CardDueDate>
<CardHolderId>2147483647</CardHolderId>
<CardLable>2147483647</CardLable>
<CardName>String content</CardName>
<CardNum>String content</CardNum>
<CardProducer>2147483647</CardProducer>
<City>String content</City>
<Comments>String content</Comments>
<CreditTerms>2147483647</CreditTerms>
<Custom1>String content</Custom1>
<Custom2>String content</Custom2>
<Custom3>String content</Custom3>
<Custom4>String content</Custom4>
<Custom5>String content</Custom5>
<Custom6>String content</Custom6>
<Custom7>String content</Custom7>
<Custom8>String content</Custom8>
<Custom9>String content</Custom9>
<CustomerFirstName>String content</CustomerFirstName>
<CustomerId>2147483647</CustomerId>
<CustomerLastName>String content</CustomerLastName>
<CustomerTransactionId>1627aea5-8e0a-4371-9022-9b504344e724</CustomerTransactionId>
<DefrayelCompany>2147483647</DefrayelCompany>
<Discount>12678967.543233</Discount>
<DocumentNum>2147483647</DocumentNum>
<DocumentType>2147483647</DocumentType>
<DocumentURL>String content</DocumentURL>
<EmailAddress>String content</EmailAddress>
<FaxNumber>String content</FaxNumber>
<FirstAmount>12678967.543233</FirstAmount>
<ForeignSign>2147483647</ForeignSign>
<GroupId>1627aea5-8e0a-4371-9022-9b504344e724</GroupId>
<IdNumber>2147483647</IdNumber>
<Is3DS>true</Is3DS>
<Items>
<SaleItem xmlns="http://schemas.datacontract.org/2004/07/iCreditManagementAPI">
<Description>String content</Description>
<IsTicket>true</IsTicket>
<ItemCatalog>String content</ItemCatalog>
<ItemId>1627aea5-8e0a-4371-9022-9b504344e724</ItemId>
<Quantity>12678967.543233</Quantity>
<RivhitItemId>2147483647</RivhitItemId>
<RowNum>2147483647</RowNum>
<TicketId>1627aea5-8e0a-4371-9022-9b504344e724</TicketId>
<TicketStatus>2147483647</TicketStatus>
<TicketStatusDatetime>1999-05-31T11:20:00</TicketStatusDatetime>
<UnitPrice>12678967.543233</UnitPrice>
</SaleItem>
<SaleItem xmlns="http://schemas.datacontract.org/2004/07/iCreditManagementAPI">
<Description>String content</Description>
<IsTicket>true</IsTicket>
<ItemCatalog>String content</ItemCatalog>
<ItemId>1627aea5-8e0a-4371-9022-9b504344e724</ItemId>
<Quantity>12678967.543233</Quantity>
<RivhitItemId>2147483647</RivhitItemId>
<RowNum>2147483647</RowNum>
<TicketId>1627aea5-8e0a-4371-9022-9b504344e724</TicketId>
<TicketStatus>2147483647</TicketStatus>
<TicketStatusDatetime>1999-05-31T11:20:00</TicketStatusDatetime>
<UnitPrice>12678967.543233</UnitPrice>
</SaleItem>
</Items>
<NonFirstAmount>12678967.543233</NonFirstAmount>
<NumOfPayment>2147483647</NumOfPayment>
<Order>String content</Order>
<POB>2147483647</POB>
<PayPalPayingCustomer>String content</PayPalPayingCustomer>
<PayPalTransactionId>String content</PayPalTransactionId>
<PhoneNumber>String content</PhoneNumber>
<PhoneNumber2>String content</PhoneNumber2>
<ReceiptNum>2147483647</ReceiptNum>
<ReceiptType>2147483647</ReceiptType>
<ReceiptURL>String content</ReceiptURL>
<RecurringId>1627aea5-8e0a-4371-9022-9b504344e724</RecurringId>
<Reference>2147483647</Reference>
<SaleId>1627aea5-8e0a-4371-9022-9b504344e724</SaleId>
<SalePrivateToken>1627aea5-8e0a-4371-9022-9b504344e724</SalePrivateToken>
<SaleTime>1999-05-31T11:20:00</SaleTime>
<SolekSapak>String content</SolekSapak>
<Status>2147483647</Status>
<TerminalName>String content</TerminalName>
<Token>1627aea5-8e0a-4371-9022-9b504344e724</Token>
<TransactionAmount>12678967.543233</TransactionAmount>
<TransactionDateTime>1999-05-31T11:20:00</TransactionDateTime>
<TransactionId>1627aea5-8e0a-4371-9022-9b504344e724</TransactionId>
<TransactionParamJ>2147483647</TransactionParamJ>
<TransactionStatus>2147483647</TransactionStatus>
<TransactionType>2147483647</TransactionType>
<VatNumber>2147483647</VatNumber>
<Zipcode>String content</Zipcode>
</SaleDetailsResponseDTO>
The following is an example response Json body:
{
"Address":"String content",
"Amount":12678967.543233,
"AuthNum":"String content",
"CardDueDate":"String content",
"CardHolderId":2147483647,
"CardLable":2147483647,
"CardName":"String content",
"CardNum":"String content",
"CardProducer":2147483647,
"City":"String content",
"Comments":"String content",
"CreditTerms":2147483647,
"Custom1":"String content",
"Custom2":"String content",
"Custom3":"String content",
"Custom4":"String content",
"Custom5":"String content",
"Custom6":"String content",
"Custom7":"String content",
"Custom8":"String content",
"Custom9":"String content",
"CustomerFirstName":"String content",
"CustomerId":2147483647,
"CustomerLastName":"String content",
"CustomerTransactionId":"1627aea5-8e0a-4371-9022-9b504344e724",
"DefrayelCompany":2147483647,
"Discount":12678967.543233,
"DocumentNum":2147483647,
"DocumentType":2147483647,
"DocumentURL":"String content",
"EmailAddress":"String content",
"FaxNumber":"String content",
"FirstAmount":12678967.543233,
"ForeignSign":2147483647,
"GroupId":"1627aea5-8e0a-4371-9022-9b504344e724",
"IdNumber":2147483647,
"Is3DS":true,
"Items":[{
"Description":"String content",
"IsTicket":true,
"ItemCatalog":"String content",
"ItemId":"1627aea5-8e0a-4371-9022-9b504344e724",
"Quantity":12678967.543233,
"RivhitItemId":2147483647,
"RowNum":2147483647,
"TicketId":"1627aea5-8e0a-4371-9022-9b504344e724",
"TicketStatus":2147483647,
"TicketStatusDatetime":"\/Date(928138800000+0300)\/",
"UnitPrice":12678967.543233
}],
"NonFirstAmount":12678967.543233,
"NumOfPayment":2147483647,
"Order":"String content",
"POB":2147483647,
"PayPalPayingCustomer":"String content",
"PayPalTransactionId":"String content",
"PhoneNumber":"String content",
"PhoneNumber2":"String content",
"ReceiptNum":2147483647,
"ReceiptType":2147483647,
"ReceiptURL":"String content",
"RecurringId":"1627aea5-8e0a-4371-9022-9b504344e724",
"Reference":2147483647,
"SaleId":"1627aea5-8e0a-4371-9022-9b504344e724",
"SalePrivateToken":"1627aea5-8e0a-4371-9022-9b504344e724",
"SaleTime":"\/Date(928138800000+0300)\/",
"SolekSapak":"String content",
"Status":2147483647,
"TerminalName":"String content",
"Token":"1627aea5-8e0a-4371-9022-9b504344e724",
"TransactionAmount":12678967.543233,
"TransactionDateTime":"\/Date(928138800000+0300)\/",
"TransactionId":"1627aea5-8e0a-4371-9022-9b504344e724",
"TransactionParamJ":2147483647,
"TransactionStatus":2147483647,
"TransactionType":2147483647,
"VatNumber":2147483647,
"Zipcode":"String content"
}
The following is the request Xml Schema:
<xs:schema xmlns:tns="https://icredit.rivhit.co.il/api" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="https://icredit.rivhit.co.il/api" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:complexType name="SaleDetailsRequestDTO">
<xs:sequence>
<xs:element minOccurs="0" name="SaleId" type="ser:guid" />
<xs:element minOccurs="0" name="SalePrivateToken" type="ser:guid" />
</xs:sequence>
</xs:complexType>
<xs:element name="SaleDetailsRequestDTO" nillable="true" type="tns:SaleDetailsRequestDTO" />
</xs:schema>
Additional request Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>
The following is the response Xml Schema:
<xs:schema xmlns:tns="https://icredit.rivhit.co.il/api" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="https://icredit.rivhit.co.il/api" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:import namespace="http://schemas.datacontract.org/2004/07/iCreditManagementAPI" />
<xs:complexType name="SaleDetailsResponseDTO">
<xs:sequence>
<xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Amount" nillable="true" type="xs:decimal" />
<xs:element minOccurs="0" name="AuthNum" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CardDueDate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CardHolderId" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="CardLable" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="CardName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CardNum" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CardProducer" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Comments" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CreditTerms" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="Custom1" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom3" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom4" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom5" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom6" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom7" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom8" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Custom9" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomerFirstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="CustomerLastName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomerTransactionId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="DefrayelCompany" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="Discount" type="xs:decimal" />
<xs:element minOccurs="0" name="DocumentNum" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="DocumentType" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="DocumentURL" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="EmailAddress" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FaxNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FirstAmount" nillable="true" type="xs:decimal" />
<xs:element minOccurs="0" name="ForeignSign" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="GroupId" type="ser:guid" />
<xs:element minOccurs="0" name="IdNumber" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="Is3DS" type="xs:boolean" />
<xs:element minOccurs="0" name="Items" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/iCreditManagementAPI" type="q1:ArrayOfSaleItem" />
<xs:element minOccurs="0" name="NonFirstAmount" nillable="true" type="xs:decimal" />
<xs:element minOccurs="0" name="NumOfPayment" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="Order" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="POB" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="PayPalPayingCustomer" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PayPalTransactionId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PhoneNumber2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ReceiptNum" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="ReceiptType" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="ReceiptURL" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="RecurringId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="Reference" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="SaleId" type="ser:guid" />
<xs:element minOccurs="0" name="SalePrivateToken" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="SaleTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="SolekSapak" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Status" type="xs:int" />
<xs:element minOccurs="0" name="TerminalName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Token" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="TransactionAmount" nillable="true" type="xs:decimal" />
<xs:element minOccurs="0" name="TransactionDateTime" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="TransactionId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="TransactionParamJ" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="TransactionStatus" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="TransactionType" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="VatNumber" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="Zipcode" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="SaleDetailsResponseDTO" nillable="true" type="tns:SaleDetailsResponseDTO" />
</xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/iCreditManagementAPI" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/iCreditManagementAPI" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:complexType name="ArrayOfSaleItem">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="SaleItem" nillable="true" type="tns:SaleItem" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfSaleItem" nillable="true" type="tns:ArrayOfSaleItem" />
<xs:complexType name="SaleItem">
<xs:sequence>
<xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="IsTicket" type="xs:boolean" />
<xs:element minOccurs="0" name="ItemCatalog" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ItemId" type="ser:guid" />
<xs:element minOccurs="0" name="Quantity" type="xs:decimal" />
<xs:element minOccurs="0" name="RivhitItemId" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="RowNum" type="xs:int" />
<xs:element minOccurs="0" name="TicketId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="TicketStatus" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="TicketStatusDatetime" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="UnitPrice" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
<xs:element name="SaleItem" nillable="true" type="tns:SaleItem" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>