Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. API requests:
  2. API response:

...

Top

...

...

...

...

Anchor
example_without_fraud
example_without_fraud

Top

Code Block
languagexml
titleREQUEST - Credit Card request: PAYMENT or RESERVE
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="SOAP-ENV">
   <soapenv:Header>
      <wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-9" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsse:Username>~~~SOAP Username goes here~~~</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goes here~~~</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
         <Api>ONE_ZERO</Api>
         <Safekey>~~~SAFEKEY goes here ~~~</Safekey>
         <TransactionType>~~~a value of PAYMENT or RESERVE~~~</TransactionType>
         <AdditionalInformation>
            <merchantReference>~~~Merchant ref goes here~~~</merchantReference>
            <notificationUrl>http://example.com/notification-page/</notificationUrl>
         </AdditionalInformation>
         <Customer>
            <countryCode>27</countryCode>
            <countryOfResidence>ZAR</countryOfResidence>
            <merchantUserId>0123465798</merchantUserId>
            <email>john.doe@example.com</email>
            <firstName>John</firstName>
            <lastName>Doe</lastName>
            <mobile>0827777777</mobile>
            <regionalId>5612124567897</regionalId>
            <ip>127.0.0.1</ip>
         </Customer>
         <Basket>
            <amountInCents>12000</amountInCents>
            <currencyCode>ZAR</currencyCode>
            <description>Fraud Basket</description>
         </Basket>
         <Creditcard>
            <amountInCents>12000</amountInCents>
            <cardExpiry>122014</cardExpiry>
            <cardNumber>4111120000005078</cardNumber>
            <cvv>123</cvv>
            <nameOnCard>Fred Fraud</nameOnCard>
         </Creditcard>
      </soap:doTransaction>
   </soapenv:Body>
</soapenv:Envelope>

...

Anchor
save_card_1
save_card_1

 

Top

Code Block
languagexml
titleREQUEST - Credit Card with Token (Save Card) - first requesteBucks (PAYMENT)
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/">
    <soapenv:Header/> xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="SOAP-ENV">
      <soapenv:Body>
 
      <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
  
         <Api>ONE_ZERO</Api>
  
         <Safekey>{86903CCB00000000-79A90000-42EE0000-01740000-1ACE90185507000000000000}</Safekey>
            <TransactionType>PAYMENT</TransactionType>
            <AuthenticationType>NA</AuthenticationType>
<TransactionType>PAYMENT/RESERVE</TransactionType>
           <AdditionalInformation>
                <merchantReference>MerchRef001<<merchantReference>1234567890</merchantReference>           
     <supportedPaymentMethods>CREDITCARD</supportedPaymentMethods>    </AdditionalInformation>
         <Customer>
  <storePaymentMethod>true</storePaymentMethod>             <<countryCode>27</AdditionalInformation>countryCode>
            <Customer>
                <countryCode>27</countryCode>
  <countryOfResidence>ZAR</countryOfResidence>
             <merchantUserId>MechUser001<<merchantUserId>0123465798</merchantUserId>
                <email>name.surname@mail<email>john.doe@example.com</email>
                <firstName>Name<<firstName>John</firstName>
                <lastName>Surname<<lastName>Doe</lastName>
                <mobile>27887592452<<mobile>0827777777</mobile>
                <regionalId>2345679888<<regionalId>5612124567897</regionalId>
  
         </Customer>
  
         <Basket>
            <amountInCents>12000</amountInCents> <!-- amount in <amountInCents>1000</amountInCents>zar cents   -->
            <currencyCode>ZAR</currencyCode>
         </Basket>
         <description>Goods</description><Ebucks>
            <<amountInCents>12000</Basket>amountInCents> <!-- amount in eBucks cents (EB * 10) -->
   <Creditcard>      </Ebucks>
        <Customfield>
 <amountInCents>1000</amountInCents>           <key>ebucksOtp</key>
     <cardExpiry>122013</cardExpiry>       <value>909059</value>
         <cardNumber>5111120000091349<</cardNumber>Customfield>
         <Customfield>
       <cvv>123</cvv>     <key>ebucksAccountNumber</key>
           <nameOnCard>N Surname</nameOnCard>
  <value>80000278865</value>
         </Creditcard>
 Customfield>
      </soap:doTransaction>
    </soapenv:Body>
</soapenv:Envelope>

Anchor
saverequest_card_2creditsave
request_card_2credit

Top

Code Block
languagexml
titleCredit Card with Token (Save Card) Subsequent REQUEST:REQUEST - Crediting a transaction
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:doTransaction xmlns:ns2SOAPENV="http://soap.apischemas.controller.web.payjar.comxmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <Api>ONE_ZERO</Api>    <wsse:Security      <Safekey>{86903CCB-79A9-42EE-0174-1ACE90185507}</Safekey>
         <TransactionType>PAYMENT</TransactionType>
         <AuthenticationType>TOKEN</AuthenticationType>SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
           <AdditionalInformation> <wsse:UsernameToken          <merchantReference>MerchRef001</merchantReference>
          <supportedPaymentMethods>CREDITCARD</supportedPaymentMethods>
         </AdditionalInformation>wsu:Id="UsernameToken-9" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <Customer>       <wsse:Username>~~~SOAP Username goes    <countryCode>27</countryCode>
  here~~~</wsse:Username>
         <merchantUserId>MechUser001</merchantUserId>             <email>name.surname@mail.com</email>
            <firstName>Name</firstName>
            <lastName>Surname</lastName><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goes
            <mobile>27887592452<here~~~</mobile>wsse:Password>
            <regionalId>2345679888</regionalId>
</wsse:UsernameToken>
        </Customer>wsse:Security>
    </soapenv:Header>
    <Basket><soapenv:Body>
            <amountInCents>1000</amountInCents>
            <currencyCode>ZAR</currencyCode><soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <description>Goods</description>
          </Basket><Api>ONE_ZERO</Api>
            <Safekey>~~~SAFEKEY goes here ~~~</Safekey>
 <Creditcard           <TransactionType>CREDIT</TransactionType>
 <pmId>DyZ7XBB5QxF5FEoIADAkMCQAUnlDEmIRVXNTa3xUYVUWfEUT</pmId>           <AdditionalInformation>
 <amountInCents>1000</amountInCents>             <cvv>123</cvv>  <merchantReference>~~~Merchant ref goes here ~~~</merchantReference>
   </Creditcard>       </soap:doTransaction>    </soapenv:Body> </soapenv:Envelope>

...

Top

Code Block
languagexml
titleREQUEST - Crediting a transaction
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header> <payUReference>~~~PayU ref goes here ~~~</payUReference>
            </AdditionalInformation>
            <Basket>
            <wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">    <amountInCents>1000</amountInCents>
              <wsse:UsernameToken wsu:Id="UsernameToken-9" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  <currencyCode>ZAR</currencyCode>
            </Basket>
        </soap:doTransaction>
     <wsse:Username>~~~SOAP Username goes here~~~</wsse:Username>
   </soapenv:Body>
</soapenv:Envelope>

 

Anchor
response_without_bank_ref
response_without_bank_ref

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
            <wsse:Password Type<ns2:doTransactionResponse xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goessoap.api.controller.web.payjar.com/">
         <return>
    here~~~</wsse:Password>        <resultCode>00</resultCode>
    </wsse:UsernameToken>         </wsse:Security>
<resultMessage>Successful</resultMessage>
   </soapenv:Header>     <soapenv:Body>    <successful>true</successful>
    <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">       <displayMessage>Successful</displayMessage>
     <Api>ONE_ZERO</Api>       <merchantReference>1234567890</merchantReference>
     <Safekey>~~~SAFEKEY goes here ~~~</Safekey>    <payUReference>21976214819</payUReference>
        <TransactionType>CREDIT</TransactionType>    <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <AdditionalInformation>          <amountInCents>1000</amountInCents>
      <merchantReference>~~~Merchant ref goes here ~~~</merchantReference>     <cardExpiry>122015</cardExpiry>
           <payUReference>~~~PayU ref goes here ~~~</payUReference> <cardNumber>400000******1000</cardNumber>
            </AdditionalInformation>   <gatewayReference>37149772</gatewayReference>
         <Basket>      <information>VISA</information>
          <amountInCents>1000</amountInCents>     <nameOnCard>John Doe</nameOnCard>
          <currencyCode>ZAR</currencyCode>   </paymentMethodsUsed>
         </Basket>
return>
       </soapns2:doTransaction>
doTransactionResponse>
   </soapenvsoap:Body>
</soapenvsoap:Envelope>

...


Anchor
response_withoutwith_bank_ref3D
response_withoutwith_bank_ref3D

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE
linenumberstrue
(with 3D Secure enabled - card enrolled)
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
 
    <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
        <return>
  <return>          <displayMessage>Transaction Pending 3DS <resultCode>00</resultCode>Completion</displayMessage>
            <fraud>
                <resultMessage>Successful</resultMessage><resultCode>V030</resultCode>
                <successful>true<<resultMessage>Success</successful>resultMessage>
            <displayMessage>Successful<</displayMessage>fraud>
            <merchantReference>1234567890<<merchantReference>0123456789</merchantReference>
            <payUReference>21976214819<<payUReference>31982857915</payUReference>
            <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <amountInCents>1000<<amountInCents>350</amountInCents>
                <cardExpiry>122015<<cardExpiry>092014</cardExpiry>
                <cardNumber>400000<cardNumber>456546******1000<6016</cardNumber>
               <gatewayReference>37149772< <gatewayReference>37117846</gatewayReference>
                <information>VISA</information>
                <nameOnCard>Jon Doe </nameOnCard>
            </paymentMethodsUsed>
     <nameOnCard>John Doe</nameOnCard>      <resultCode>P3DS</resultCode>
      </paymentMethodsUsed>      <resultMessage>Transaction Pending 3DS  <Completion</return>resultMessage>
      </ns2:doTransactionResponse>    </soap:Body> </soap:Envelope>

...

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with 3D Secure enabled - card enrolled)
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <secure3D>
          <soap:Body>     <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>
        <return>        <secure3DUrl><![CDATA[<form name="downloadForm" action="http://acstest.bankserv.co.za/V3DSStart?osb=visa-3&VAA=B"
    <displayMessage>Transaction    Pending 3DS Completion</displayMessage>      method="POST">
      <fraud>          <table name="dataTable" border="0" cellpadding="0">
   <resultCode>V030</resultCode>             <INPUT TYPE="hidden" NAME="TransactionID"  <resultMessage>Success</resultMessage>value="A5ufG1Q3sp3qGDxu5de3">
             </fraud>   <INPUT TYPE="hidden" NAME="PaReq"
       <merchantReference>0123456789</merchantReference>         value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTL
   <payUReference>31982857915</payUReference>             <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh
                <amountInCents>350</amountInCents>zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQ
                <cardExpiry>092014</cardExpiry>B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno
                <cardNumber>456546******6016</cardNumber>pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA==">
                <INPUT TYPE="hidden" NAME="TermUrl" VALUE="http://staging.safeshop.co.za/s2s/Secure3D/Encode_Finish.asp">
      <gatewayReference>37117846</gatewayReference>          <INPUT TYPE="hidden" NAME="MD" VALUE="37117846">
   <information>VISA</information>             </table>
   <nameOnCard>Jon Doe </nameOnCard>           <center><p><font  </paymentMethodsUsed>
      type="Arial" size=2>Transfering to your bank for credit card authentication.
     <resultCode>P3DS</resultCode>           <p> If <resultMessage>Transactionyou Pendingare 3DSnot Completion</resultMessage>redirected please <a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your <secure3D>banking
                <secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>institution.<p>
                <secure3DUrl><![CDATA[<form name<input type="downloadFormimage" actionsrc="http://acsteststaging.images.bankservsafeshop.co.za/V3DSStart?osb=visa-3&VAA=B/PaymentMethods/Secure3D/VbyV_blue_120x69.gif" name="continue"
                methodvalue="POSTContinue">></center>
                <table name="dataTable" border="0" cellpadding="0"></form>
                <script   <INPUT TYPE="hidden" NAME="TransactionID" value="A5ufG1Q3sp3qGDxu5de3language="Javascript">
                <INPUT TYPE="hidden" NAME="PaReq"<!--
                function  value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTLAutoSubmitForm() {document.downloadForm.submit();
                zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh}
                zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQAutoSubmitForm();
                B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno//--></script>]]></secure3DUrl>
                pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA=="></secure3D>
            <successful>true</successful>
        </return>
    </ns2:doTransactionResponse>
   <INPUT TYPE="hidden" NAME="TermUrl" VALUE </soap:Body>
</soap:Envelope>

Anchor
response_with_bank_ref
response_with_bank_ref

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference)
linenumberstrue
<soap:Envelope xmlns:soap="http://stagingschemas.safeshop.coxmlsoap.zaorg/s2ssoap/Secure3Denvelope/Encode_Finish.asp">
   <soap:Body>
            <INPUT TYPE="hidden" NAME="MD" VALUE="37117846"<ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
         <return>
      </table>      <resultCode>00</resultCode>
          <center><p><font type="Arial" size=2>Transfering to your bank for credit card authentication. <resultMessage>Successful</resultMessage>
                   <successful>true</successful>
   <p> If you are not redirected please <a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking <displayMessage>Successful</displayMessage>
            <merchantReference>1234567890</merchantReference>
          institution.<p>  <payUReference>21976214819</payUReference>
            <paymentMethodsUsed  <input xsi:type="imagens2:creditCard" srcxmlns:xsi="http://stagingwww.images.safeshop.co.za/PaymentMethods/Secure3D/VbyV_blue_120x69.gif" name="continue"
 w3.org/2001/XMLSchema-instance">
               value="Continue"></center> <amountInCents>1000</amountInCents>
               <cardExpiry>122015</cardExpiry>
  </form>             <cardNumber>400000******1000</cardNumber>
   <script language="Javascript">           <gatewayReference>37149772</gatewayReference>
     <!--          <information>VISA</information>
      function AutoSubmitForm() {document.downloadForm.submit();       <nameOnCard>John Doe</nameOnCard>
        }    </paymentMethodsUsed> 
           AutoSubmitForm(); <customFields>
               //--></script>]]></secure3DUrl><key>bankReference</key>
                <<value>DEMO12</secure3D>value>
            <successful>true<</successful>customFields>
         </return>
    <  </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

Anchor
response_with_bankfraud_refapprove
response_with_bankfraud_refapprove

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with bank referenceFraud enabled - APPROVE)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
               <resultCode>00</resultCode> <displayMessage>Successful</displayMessage>
                <fraud>
                    <resultMessage>Successful</resultMessage><resultCode>V030</resultCode>
                    <successful>true</successful><resultMessage>Success</resultMessage>
                <displayMessage>Successful</displayMessage></fraud>
                <merchantReference>1234567890<<merchantReference>mercRef_1403097874</merchantReference>
               <payUReference>21976214819< <payUReference>185871924286</payUReference>
                <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard">
                    <amountInCents>1000<<amountInCents>2156</amountInCents>
                   <cardExpiry>122015< <cardExpiry>012015</cardExpiry>
                    <cardNumber>400000<cardNumber>542028******1000<1323</cardNumber>
                  <gatewayReference>37149772<  <gatewayReference>37585977</gatewayReference>
                    <information>VISA<<information>MASTERCARD</information>
                    <nameOnCard>John Doe</nameOnCard>
            </paymentMethodsUsed>    </paymentMethodsUsed>
         <customFields>       <resultCode>00</resultCode>
        <key>bankReference</key>        <resultMessage>Successful</resultMessage>
       <value>DEMO12</value>         <successful>true</successful>
   </customFields>
         </return>
      <   </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

Anchor
response_with_fraud_approvechallenge
response_with_fraud_approvechallenge

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVECHALLENGE)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
                <displayMessage>Successful</displayMessage>
                <fraud>
                    <resultCode>V030<<resultCode>V035</resultCode>
                    <resultMessage>CHALLENGE - <resultMessage>Success<0330</resultMessage>
                </fraud>
                <merchantReference>mercRef_1403097874<1403098425</merchantReference>
                <payUReference>185871924286<<payUReference>185878360665</payUReference>
                <paymentMethodsUsed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard">
                    <amountInCents>2156<<amountInCents>7215</amountInCents>
                    <cardExpiry>012015</cardExpiry>
                    <cardNumber>542028******1323</cardNumber>
                    <gatewayReference>37585977<<gatewayReference>37585978</gatewayReference>
                    <information>MASTERCARD</information>
                    <nameOnCard>John Doe</nameOnCard>
                </paymentMethodsUsed>
                <resultCode>00</resultCode>
                <resultMessage>Successful</resultMessage>
                <successful>true</successful>
            </return>
        </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

Anchor
response_with_fraud_challengedeny
response_with_fraud_challengedeny

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGEDENY)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
                <fraud>
                <displayMessage>Successful</displayMessage>    <resultCode>V039</resultCode>
                    <resultMessage>DENY - 0700</resultMessage>
                </fraud>
         <fraud>       <merchantReference>mercRef_1403098545</merchantReference>
             <resultCode>V035</resultCode>   <payUReference>185879181093</payUReference>
                 <resultMessage>CHALLENGE<resultCode>P044</resultCode>
- 0330</resultMessage>               <resultMessage>Rejected for <fraud</fraud>resultMessage>
                <merchantReference>mercRef_1403098425<<successful>false</merchantReference>successful>
                <payUReference>185878360665</payUReference></return>
        </ns2:doTransactionResponse>
    </soap:Body>
  <paymentMethodsUsed</soap:Envelope>

Anchor
response_eBucks_PAYMENT
response_eBucks_PAYMENT

Top

Code Block
languagexml
titleRESPONSE - eBucks (PAYMENT)
linenumberstrue
<soap:Envelope xmlns:xsisoap="http://wwwschemas.w3xmlsoap.org/soap/2001/XMLSchema-instance" xsi:type="ns2:creditCardenvelope/">
   <soap:Body>
                <amountInCents>7215</amountInCents>
                    <cardExpiry>012015</cardExpiry>
          <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
         <cardNumber>542028******1323</cardNumber><return>
            <resultCode>00</resultCode>
       <gatewayReference>37585978</gatewayReference>      <resultMessage>Successful</resultMessage>
              <information>MASTERCARD<<successful>true</information>successful>
            <displayMessage>Successful</displayMessage>
       <nameOnCard>John Doe</nameOnCard>    <merchantReference>1234567890</merchantReference>
            <<payUReference>21976214819</paymentMethodsUsed>payUReference>
            <paymentMethodsUsed    <resultCode>00</resultCode>xsi:type="ns2:ebucks" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <resultMessage>Successful<<amountInCents>12000</resultMessage>amountInCents>
                <successful>true</successful></paymentMethodsUsed>
            </return>
 
      </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

Anchor
response_withEFTPro_fraud_denypayment
response_withEFTPro_fraud_denypayment

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENY)EFTPro payment
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

   <soap:Body>
 
      <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
         <return>
            <return><merchantReference>EFT_PRO_98453984398</merchantReference>
            <payUReference>53390698880</payUReference>
           <fraud> <paymentMethodsUsed xsi:type="ns2:eft" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <resultCode>V039</resultCode><amountInCents>100</amountInCents>
                    <resultMessage>DENY - 0700</resultMessage></paymentMethodsUsed>
            <redirect>
   </fraud>                 <merchantReference>mercRef_1403098545</merchantReference><method>HTTP_GET</method>
                <payUReference>185879181093</payUReference><type>EFT_PRO</type>
                <resultCode>P044</resultCode><url>http://localhost:8080/PayJarWeb/redirectGet.do?PayUReference=53390698880</url>
                <resultMessage>Rejected for fraud</resultMessage></redirect>
                <successful>false<<successful>true</successful>
 
          </return>
        </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

...