Reference for https://payments.usiopay.com/2.0/payments.svc/JSON/GetTransactionDetails
Url: https://payments.usiopay.com/2.0/payments.svc/JSON/GetTransactionDetails
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:
<TransactionInfoRequestInfo xmlns="http://schemas.datacontract.org/2004/07/"> <Confirmation>String content</Confirmation> <IncludeHPPValues>true</IncludeHPPValues> <Login>String content</Login> <MerchantID>String content</MerchantID> <Password>String content</Password> <ReturnAccountMask>true</ReturnAccountMask> </TransactionInfoRequestInfo>
The following is an example request Json body:
{ "Confirmation":"String content", "IncludeHPPValues":true, "Login":"String content", "MerchantID":"String content", "Password":"String content", "ReturnAccountMask":true }
The following is an example response Xml body:
<TransactionInfoReturnData xmlns="http://schemas.datacontract.org/2004/07/"> <Message>String content</Message> <Status>String content</Status> <Transactions> <TransactionInfoReturnData.TransactionInfoData> <ACHOpt1>String content</ACHOpt1> <ACHOpt2>String content</ACHOpt2> <AVSCode>String content</AVSCode> <AccountCode1>String content</AccountCode1> <AccountCode2>String content</AccountCode2> <AccountCode3>String content</AccountCode3> <AccountMask>String content</AccountMask> <AccountName>String content</AccountName> <AccountType>String content</AccountType> <AdditionalSearch1>String content</AdditionalSearch1> <Address1>String content</Address1> <Address2>String content</Address2> <Amount>12678967.543233</Amount> <AuthCode>String content</AuthCode> <BatchNumber>String content</BatchNumber> <CVVResp>String content</CVVResp> <City>String content</City> <Confirmation>String content</Confirmation> <ConvFee>12678967.543233</ConvFee> <EmailAddress>String content</EmailAddress> <ErrorMessage>String content</ErrorMessage> <FinalStatus>String content</FinalStatus> <FirstName>String content</FirstName> <HPPValues> <PageID>String content</PageID> <SiteName>String content</SiteName> <customFields> <Customfield> <Value>String content</Value> <fieldLabel>String content</fieldLabel> </Customfield> <Customfield> <Value>String content</Value> <fieldLabel>String content</fieldLabel> </Customfield> </customFields> <designations> <Designation> <Value>String content</Value> <amount>String content</amount> <fieldLabel>String content</fieldLabel> </Designation> <Designation> <Value>String content</Value> <amount>String content</amount> <fieldLabel>String content</fieldLabel> </Designation> </designations> </HPPValues> <LastName>String content</LastName> <MerchantPayAccount>String content</MerchantPayAccount> <PaymentOrigination>String content</PaymentOrigination> <PaymentType>String content</PaymentType> <RefConfirmation>String content</RefConfirmation> <RepeatConfirmation>String content</RepeatConfirmation> <ResponseCode>String content</ResponseCode> <ReturnDate>String content</ReturnDate> <SimpResp>String content</SimpResp> <State>String content</State> <SubmitDate>1999-05-31T11:20:00</SubmitDate> <UserID>String content</UserID> <Zip>String content</Zip> </TransactionInfoReturnData.TransactionInfoData> <TransactionInfoReturnData.TransactionInfoData> <ACHOpt1>String content</ACHOpt1> <ACHOpt2>String content</ACHOpt2> <AVSCode>String content</AVSCode> <AccountCode1>String content</AccountCode1> <AccountCode2>String content</AccountCode2> <AccountCode3>String content</AccountCode3> <AccountMask>String content</AccountMask> <AccountName>String content</AccountName> <AccountType>String content</AccountType> <AdditionalSearch1>String content</AdditionalSearch1> <Address1>String content</Address1> <Address2>String content</Address2> <Amount>12678967.543233</Amount> <AuthCode>String content</AuthCode> <BatchNumber>String content</BatchNumber> <CVVResp>String content</CVVResp> <City>String content</City> <Confirmation>String content</Confirmation> <ConvFee>12678967.543233</ConvFee> <EmailAddress>String content</EmailAddress> <ErrorMessage>String content</ErrorMessage> <FinalStatus>String content</FinalStatus> <FirstName>String content</FirstName> <HPPValues> <PageID>String content</PageID> <SiteName>String content</SiteName> <customFields> <Customfield> <Value>String content</Value> <fieldLabel>String content</fieldLabel> </Customfield> <Customfield> <Value>String content</Value> <fieldLabel>String content</fieldLabel> </Customfield> </customFields> <designations> <Designation> <Value>String content</Value> <amount>String content</amount> <fieldLabel>String content</fieldLabel> </Designation> <Designation> <Value>String content</Value> <amount>String content</amount> <fieldLabel>String content</fieldLabel> </Designation> </designations> </HPPValues> <LastName>String content</LastName> <MerchantPayAccount>String content</MerchantPayAccount> <PaymentOrigination>String content</PaymentOrigination> <PaymentType>String content</PaymentType> <RefConfirmation>String content</RefConfirmation> <RepeatConfirmation>String content</RepeatConfirmation> <ResponseCode>String content</ResponseCode> <ReturnDate>String content</ReturnDate> <SimpResp>String content</SimpResp> <State>String content</State> <SubmitDate>1999-05-31T11:20:00</SubmitDate> <UserID>String content</UserID> <Zip>String content</Zip> </TransactionInfoReturnData.TransactionInfoData> </Transactions> </TransactionInfoReturnData>
The following is an example response Json body:
{ "Message":"String content", "Status":"String content", "Transactions":[{ "ACHOpt1":"String content", "ACHOpt2":"String content", "AVSCode":"String content", "AccountCode1":"String content", "AccountCode2":"String content", "AccountCode3":"String content", "AccountMask":"String content", "AccountName":"String content", "AccountType":"String content", "AdditionalSearch1":"String content", "Address1":"String content", "Address2":"String content", "Amount":12678967.543233, "AuthCode":"String content", "BatchNumber":"String content", "CVVResp":"String content", "City":"String content", "Confirmation":"String content", "ConvFee":12678967.543233, "EmailAddress":"String content", "ErrorMessage":"String content", "FinalStatus":"String content", "FirstName":"String content", "HPPValues":{ "PageID":"String content", "SiteName":"String content", "customFields":[{ "Value":"String content", "fieldLabel":"String content" }], "designations":[{ "Value":"String content", "amount":"String content", "fieldLabel":"String content" }] }, "LastName":"String content", "MerchantPayAccount":"String content", "PaymentOrigination":"String content", "PaymentType":"String content", "RefConfirmation":"String content", "RepeatConfirmation":"String content", "ResponseCode":"String content", "ReturnDate":"String content", "SimpResp":"String content", "State":"String content", "SubmitDate":"\/Date(928167600000-0500)\/", "UserID":"String content", "Zip":"String content" }] }
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="TransactionInfoRequestInfo"> <xs:sequence> <xs:element minOccurs="0" name="Confirmation" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IncludeHPPValues" type="xs:boolean" /> <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="MerchantID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ReturnAccountMask" type="xs:boolean" /> </xs:sequence> </xs:complexType> <xs:element name="TransactionInfoRequestInfo" nillable="true" type="tns:TransactionInfoRequestInfo" /> </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="http://schemas.datacontract.org/2004/07/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="TransactionInfoReturnData"> <xs:sequence> <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Transactions" nillable="true" type="tns:ArrayOfTransactionInfoReturnData.TransactionInfoData" /> </xs:sequence> </xs:complexType> <xs:element name="TransactionInfoReturnData" nillable="true" type="tns:TransactionInfoReturnData" /> <xs:complexType name="ArrayOfTransactionInfoReturnData.TransactionInfoData"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="TransactionInfoReturnData.TransactionInfoData" nillable="true" type="tns:TransactionInfoReturnData.TransactionInfoData" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfTransactionInfoReturnData.TransactionInfoData" nillable="true" type="tns:ArrayOfTransactionInfoReturnData.TransactionInfoData" /> <xs:complexType name="TransactionInfoReturnData.TransactionInfoData"> <xs:sequence> <xs:element minOccurs="0" name="ACHOpt1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ACHOpt2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AVSCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AccountCode1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AccountCode2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AccountCode3" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AccountMask" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AccountName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AccountType" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AdditionalSearch1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Address1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Address2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Amount" type="xs:decimal" /> <xs:element minOccurs="0" name="AuthCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BatchNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CVVResp" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Confirmation" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ConvFee" type="xs:decimal" /> <xs:element minOccurs="0" name="EmailAddress" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FinalStatus" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="HPPValues" nillable="true" type="tns:HPPValues" /> <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="MerchantPayAccount" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PaymentOrigination" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PaymentType" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="RefConfirmation" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="RepeatConfirmation" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ResponseCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ReturnDate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SimpResp" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SubmitDate" type="xs:dateTime" /> <xs:element minOccurs="0" name="UserID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="TransactionInfoReturnData.TransactionInfoData" nillable="true" type="tns:TransactionInfoReturnData.TransactionInfoData" /> <xs:complexType name="HPPValues"> <xs:sequence> <xs:element minOccurs="0" name="PageID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SiteName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="customFields" nillable="true" type="tns:ArrayOfCustomfield" /> <xs:element minOccurs="0" name="designations" nillable="true" type="tns:ArrayOfDesignation" /> </xs:sequence> </xs:complexType> <xs:element name="HPPValues" nillable="true" type="tns:HPPValues" /> <xs:complexType name="ArrayOfCustomfield"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Customfield" nillable="true" type="tns:Customfield" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfCustomfield" nillable="true" type="tns:ArrayOfCustomfield" /> <xs:complexType name="Customfield"> <xs:sequence> <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="fieldLabel" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Customfield" nillable="true" type="tns:Customfield" /> <xs:complexType name="ArrayOfDesignation"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Designation" nillable="true" type="tns:Designation" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfDesignation" nillable="true" type="tns:ArrayOfDesignation" /> <xs:complexType name="Designation"> <xs:sequence> <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="amount" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="fieldLabel" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Designation" nillable="true" type="tns:Designation" /> </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>
<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>