developer:soap-1.6:methods:runquickcredit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.6:methods:runquickcredit [2012/08/04 09:55]
tem created
developer:soap-1.6:methods:runquickcredit [2015/11/18 11:59]
yaya [XML]
Line 172: Line 172:
 ==== XML ==== ==== XML ====
  
 +Request:
 +<code xml>
 +<?xml version="​1.0"​ encoding="​UTF-8"?> ​
 +   <​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​ xmlns:​ns1="​urn:​usaepay"​
 +   ​xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema"​ xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​
 +   ​xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​
 +   ​SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
 +      <​SOAP-ENV:​Body>​
 +         <​ns1:​runQuickCredit>​
 +            <Token xsi:​type="​ns1:​ueSecurityToken">​
 +               <​ClientIP xsi:​type="​xsd:​string">​123.123.123.123</​ClientIP>​
 +               <​PinHash xsi:​type="​ns1:​ueHash">​
 +                  <​HashValue xsi:​type="​xsd:​string">​91524b471de4baf26cc6abec7e81e16108354d61</​HashValue>​
 +                  <Seed xsi:​type="​xsd:​string">​12115174123-test</​Seed>​
 +                  <Type xsi:​type="​xsd:​string">​sha1</​Type>​
 +               </​PinHash>​
 +               <​SourceKey xsi:​type="​xsd:​string">​_B4P7C4K2w2ZCQQQXRqrxDj6agrS2NIT</​SourceKey>​
 +            </​Token>​
 +            <RefNum xsi:​type="​xsd:​integer">​102164125</​RefNum>​
 +            <Details xsi:​type="​ns1:​TransactionDetail">​
 +               <​Amount xsi:​type="​xsd:​double">​22</​Amount>​
 +               <​Clerk xsi:​type="​xsd:​string">​John Doe</​Clerk>​
 +               <​Currency xsi:​type="​xsd:​string">​0</​Currency>​
 +               <​Description xsi:​type="​xsd:​string">​Example Transaction</​Description>​
 +               <​Discount xsi:​type="​xsd:​double">​10</​Discount>​
 +               <​Invoice xsi:​type="​xsd:​string">​44539</​Invoice>​
 +               <​OrderID xsi:​type="​xsd:​string">​12345</​OrderID>​
 +               <​PONum xsi:​type="​xsd:​string">​54321</​PONum>​
 +               <​Shipping xsi:​type="​xsd:​double">​2</​Shipping>​
 +               <​Subtotal xsi:​type="​xsd:​double">​12</​Subtotal>​
 +               <​Table xsi:​type="​xsd:​string">​1</​Table>​
 +               <​Tax xsi:​type="​xsd:​double">​10</​Tax>​
 +               <​Terminal xsi:​type="​xsd:​string">​15</​Terminal>​
 +               <​Tip xsi:​type="​xsd:​double">​8</​Tip>​
 +            </​Details>​
 +            <param3 xsi:​type="​xsd:​boolean">​false</​param3>​
 +         </​ns1:​runQuickCredit>​
 +      </​SOAP-ENV:​Body>​
 +   </​SOAP-ENV:​Envelope>​
 +</​code>​
  
 +Response:
 <code xml> <code xml>
-<?xml version="​1.0"​ encoding="​UTF-8"?>​ +<?xml version="​1.0"​ encoding="​utf-8"?>​ 
-<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/" ​ +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​ xmlns:​ns1="​urn:​usaepay"​ 
-xmlns:​ns1="​urn:​usaepay"​ xmlns:xsd="​http://​www.w3.org/​2001/​XMLSchema" ​ + xmlns:xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" xmlns:xsd="​http://​www.w3.org/​2001/​XMLSchema"​ 
-xmlns:xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"  + ​xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​ 
-xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​  + ​SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​ 
-SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​ +  <​SOAP-ENV:​Body>​ 
-<​SOAP-ENV:​Body>​ +    <ns1:runQuickCreditResponse
-<ns1:runQuickCredit+      <runQuickCreditReturn ​xsi:​type="​ns1:​TransactionResponse">​ 
-<Token xsi:​type="​ns1:​ueSecurityToken">​ +        <AcsUrl ​xsi:nil="true" /> 
-<ClientIP ​xsi:type="xsd:string">​192.168.0.1<​/ClientIP+        <AuthAmount ​xsi:​type="​xsd:double">​0</​AuthAmount
-<PinHash ​xsi:​type="​ns1:ueHash">​ +        <AuthCode ​xsi:​type="​xsd:​string">​102174451</AuthCode
-<HashValue ​xsi:​type="​xsd:​string">​11ac55b0a0b59f8f028dbf85bc32266fa973dd0e</HashValue+        <AvsResult ​xsi:​type="​xsd:​string">​Unmapped AVS response ( )</AvsResult
-<Seed xsi:​type="​xsd:​string">​12678150211876663375</Seed+        <AvsResultCode ​xsi:​type="​xsd:​string"></​AvsResultCode
-<Type xsi:​type="​xsd:​string">​sha1</Type+        <BatchNum ​xsi:​type="​xsd:​integer">198205</BatchNum
-</​PinHash>​ +        <BatchRefNum ​xsi:​type="​xsd:​integer">​198205</BatchRefNum
-<​SourceKey ​xsi:​type="​xsd:​string">HB4P7C4K2w2ZCQQQXRqrxDj6agrS2NIT</SourceKey+        <CardCodeResult ​xsi:​type="​xsd:string">No CVV2/CVC data available for transaction.</​CardCodeResult
-</​Token>​ +        <CardCodeResultCode ​xsi:​type="​xsd:​string"></​CardCodeResultCode
-<​RefNum ​xsi:​type="​xsd:​integer">​1118268</RefNum+        <CardLevelResult ​xsi:​type="​xsd:​string">​Unknown Code</CardLevelResult
-<Details ​xsi:​type="​ns1:TransactionDetail">​ +        <CardLevelResultCode ​xsi:​type="​xsd:​string"></​CardLevelResultCode
-<Amount ​xsi:​type="​xsd:​double">29</Amount+        <ConversionRate ​xsi:​type="​xsd:​double">0</ConversionRate
-<Clerk xsi:​type="​xsd:​string">​John Doe</Clerk+        <ConvertedAmount ​xsi:​type="​xsd:​double">​0</ConvertedAmount
-<Currency ​xsi:​type="​xsd:​integer">0</Currency+        <ConvertedAmountCurrency xsi:​nil="​true"​ /> 
-<Description ​xsi:​type="​xsd:​string">Example Transaction</Description+        <​CustNum ​xsi:​type="​xsd:​integer">0</CustNum
-<Discount ​xsi:​type="​xsd:​double">​1</Discount+        <Error xsi:​type="​xsd:​string"></​Error
-<Invoice ​xsi:​type="​xsd:​string">44539</Invoice+        <ErrorCode xsi:​nil="​true"​ /> 
-<OrderID ​xsi:​type="​xsd:​string">​12345</OrderID+        <​isDuplicate ​xsi:​type="​xsd:​boolean">false</isDuplicate
-<PONum xsi:​type="​xsd:​string">54321</PONum+        <Payload xsi:​nil="​true"​ /> 
-<Shipping ​xsi:​type="​xsd:​double">2</Shipping+        <​RefNum ​xsi:​type="​xsd:​integer">102164428</RefNum
-<Subtotal ​xsi:​type="​xsd:​double">16</Subtotal+        <Result ​xsi:​type="​xsd:​string">Approved</Result
-<Table xsi:​type="​xsd:​string">​1</Table+        <ResultCode ​xsi:​type="​xsd:​string">​A</ResultCode
-<Tax xsi:​type="​xsd:​double">4</Tax+        <Status ​xsi:​type="​xsd:​string">Pending</Status
-<Terminal ​xsi:​type="​xsd:​string">​15</Terminal+        <StatusCode ​xsi:​type="​xsd:​string">​P</StatusCode
-<Tip xsi:​type="​xsd:​double">8</Tip+        <VpasResultCode ​xsi:​type="​xsd:​string"></​VpasResultCode
-</Details+      </runQuickCreditReturn
-</ns1:runQuickCredit+    </ns1:runQuickCreditResponse
-</​SOAP-ENV:​Body>​+  </​SOAP-ENV:​Body>​
 </​SOAP-ENV:​Envelope>​ </​SOAP-ENV:​Envelope>​
 </​code>​ </​code>​
developer/soap-1.6/methods/runquickcredit.txt · Last modified: 2015/11/18 11:59 by yaya

Page Tools