Reference for https://payments.usiopay.com/2.0/payments.svc/JSON/SubmitCCPayment
Url: https://payments.usiopay.com/2.0/payments.svc/JSON/SubmitCCPayment
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:
<CreditCreditPaymentInfo xmlns="http://schemas.datacontract.org/2004/07/"> <AccountCode1>String content</AccountCode1> <AccountCode2>String content</AccountCode2> <AccountCode3>String content</AccountCode3> <AdditionalSearch>String content</AdditionalSearch> <Address1>String content</Address1> <Address2>String content</Address2> <AllowTip>true</AllowTip> <Amount>String content</Amount> <AuthOnly>true</AuthOnly> <CVV>String content</CVV> <CardNumber>String content</CardNumber> <City>String content</City> <ConvFeeAmount>String content</ConvFeeAmount> <Country>String content</Country> <DisableDuplicateCheck>true</DisableDuplicateCheck> <EmailAddress>String content</EmailAddress> <EnhancedDataFields> <LineItems> <CreditCreditPaymentInfo.EnhancedData.Items> <DiscountName>String content</DiscountName> <ProductCode>String content</ProductCode> <ProductName>String content</ProductName> <Quantity>12678967.543233</Quantity> <UnitCost>12678967.543233</UnitCost> <UnitDiscountAmount>12678967.543233</UnitDiscountAmount> <UnitOfMeasure>String content</UnitOfMeasure> <UnitTaxAmount>12678967.543233</UnitTaxAmount> </CreditCreditPaymentInfo.EnhancedData.Items> <CreditCreditPaymentInfo.EnhancedData.Items> <DiscountName>String content</DiscountName> <ProductCode>String content</ProductCode> <ProductName>String content</ProductName> <Quantity>12678967.543233</Quantity> <UnitCost>12678967.543233</UnitCost> <UnitDiscountAmount>12678967.543233</UnitDiscountAmount> <UnitOfMeasure>String content</UnitOfMeasure> <UnitTaxAmount>12678967.543233</UnitTaxAmount> </CreditCreditPaymentInfo.EnhancedData.Items> </LineItems> <PurchaseOrder>String content</PurchaseOrder> <SalesTax>12678967.543233</SalesTax> <ShippingCharges>12678967.543233</ShippingCharges> </EnhancedDataFields> <ExpDate>String content</ExpDate> <FirstName>String content</FirstName> <LastName>String content</LastName> <Login>String content</Login> <MerchantID>String content</MerchantID> <MerchantPayAccount>String content</MerchantPayAccount> <MobileWalletCryptogram>String content</MobileWalletCryptogram> <MobileWalletECI>String content</MobileWalletECI> <MobileWalletType>String content</MobileWalletType> <OfficeID>String content</OfficeID> <Password>String content</Password> <Province>String content</Province> <State>String content</State> <TerminalID>String content</TerminalID> <TrackData>String content</TrackData> <UserID>String content</UserID> <Zip>String content</Zip> <secure3D>String content</secure3D> </CreditCreditPaymentInfo>
The following is an example request Json body:
{ "AccountCode1":"String content", "AccountCode2":"String content", "AccountCode3":"String content", "AdditionalSearch":"String content", "Address1":"String content", "Address2":"String content", "AllowTip":true, "Amount":"String content", "AuthOnly":true, "CVV":"String content", "CardNumber":"String content", "City":"String content", "ConvFeeAmount":"String content", "Country":"String content", "DisableDuplicateCheck":true, "EmailAddress":"String content", "EnhancedDataFields":{ "LineItems":[{ "DiscountName":"String content", "ProductCode":"String content", "ProductName":"String content", "Quantity":12678967.543233, "UnitCost":12678967.543233, "UnitDiscountAmount":12678967.543233, "UnitOfMeasure":"String content", "UnitTaxAmount":12678967.543233 }], "PurchaseOrder":"String content", "SalesTax":12678967.543233, "ShippingCharges":12678967.543233 }, "ExpDate":"String content", "FirstName":"String content", "LastName":"String content", "Login":"String content", "MerchantID":"String content", "MerchantPayAccount":"String content", "MobileWalletCryptogram":"String content", "MobileWalletECI":"String content", "MobileWalletType":"String content", "OfficeID":"String content", "Password":"String content", "Province":"String content", "State":"String content", "TerminalID":"String content", "TrackData":"String content", "UserID":"String content", "Zip":"String content", "secure3D":"String content" }
The following is an example response Xml body:
<PaymentReturnData xmlns="http://schemas.datacontract.org/2004/07/"> <Confirmation>String content</Confirmation> <Message>String content</Message> <Status>String content</Status> </PaymentReturnData>
The following is an example response Json body:
{ "Confirmation":"String content", "Message":"String content", "Status":"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="CreditCreditPaymentInfo"> <xs:sequence> <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="AdditionalSearch" 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="AllowTip" type="xs:boolean" /> <xs:element minOccurs="0" name="Amount" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AuthOnly" type="xs:boolean" /> <xs:element minOccurs="0" name="CVV" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CardNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ConvFeeAmount" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="DisableDuplicateCheck" type="xs:boolean" /> <xs:element minOccurs="0" name="EmailAddress" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="EnhancedDataFields" nillable="true" type="tns:CreditCreditPaymentInfo.EnhancedData" /> <xs:element minOccurs="0" name="ExpDate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" /> <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="MerchantPayAccount" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="MobileWalletCryptogram" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="MobileWalletECI" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="MobileWalletType" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="OfficeID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Province" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TerminalID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TrackData" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="UserID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="secure3D" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="CreditCreditPaymentInfo" nillable="true" type="tns:CreditCreditPaymentInfo" /> <xs:complexType name="CreditCreditPaymentInfo.EnhancedData"> <xs:sequence> <xs:element minOccurs="0" name="LineItems" nillable="true" type="tns:ArrayOfCreditCreditPaymentInfo.EnhancedData.Items" /> <xs:element minOccurs="0" name="PurchaseOrder" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SalesTax" type="xs:decimal" /> <xs:element minOccurs="0" name="ShippingCharges" type="xs:decimal" /> </xs:sequence> </xs:complexType> <xs:element name="CreditCreditPaymentInfo.EnhancedData" nillable="true" type="tns:CreditCreditPaymentInfo.EnhancedData" /> <xs:complexType name="ArrayOfCreditCreditPaymentInfo.EnhancedData.Items"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="CreditCreditPaymentInfo.EnhancedData.Items" nillable="true" type="tns:CreditCreditPaymentInfo.EnhancedData.Items" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfCreditCreditPaymentInfo.EnhancedData.Items" nillable="true" type="tns:ArrayOfCreditCreditPaymentInfo.EnhancedData.Items" /> <xs:complexType name="CreditCreditPaymentInfo.EnhancedData.Items"> <xs:sequence> <xs:element minOccurs="0" name="DiscountName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ProductCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ProductName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Quantity" type="xs:decimal" /> <xs:element minOccurs="0" name="UnitCost" type="xs:decimal" /> <xs:element minOccurs="0" name="UnitDiscountAmount" type="xs:decimal" /> <xs:element minOccurs="0" name="UnitOfMeasure" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="UnitTaxAmount" type="xs:decimal" /> </xs:sequence> </xs:complexType> <xs:element name="CreditCreditPaymentInfo.EnhancedData.Items" nillable="true" type="tns:CreditCreditPaymentInfo.EnhancedData.Items" /> </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="PaymentReturnData"> <xs:sequence> <xs:element minOccurs="0" name="Confirmation" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="PaymentReturnData" nillable="true" type="tns:PaymentReturnData" /> </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>