Versions Compared

Key

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

...

Code Block
languagexml
titleCredit Card with Token (Save Card) Subsequent REQUEST:
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:ns2="http://soap.api.controller.web.payjar.com/">
         <Api>ONE_ZERO</Api>
         <Safekey>{86903CCB-79A9-42EE-0174-1ACE90185507}</Safekey>
         <TransactionType>PAYMENT</TransactionType>
         <AuthenticationType>TOKEN</AuthenticationType>
         <AdditionalInformation>
          <merchantReference>MerchRef001</merchantReference>
          <supportedPaymentMethods>CREDITCARD</supportedPaymentMethods>
         </AdditionalInformation>
         <Customer>
            <countryCode>27</countryCode>
            <merchantUserId>MechUser001</merchantUserId>
            <email>name.surname@mail.com</email>
            <firstName>Name</firstName>
            <lastName>Surname</lastName>
            <mobile>27887592452</mobile>
            <regionalId>2345679888</regionalId>
         </Customer>
         <Basket>
            <amountInCents>1000</amountInCents>
            <currencyCode>ZAR</currencyCode>
            <description>Goods</description>
          </Basket>       
          <Creditcard
            <pmId>DyZ7XBB5QxF5FEoIADAkMCQAUnlDEmIRVXNTa3xUYVUWfEUT</pmId>
            <amountInCents>1000</amountInCents>
            <cvv>123</cvv>
         </Creditcard>
      </soap:doTransaction>
   </soapenv:Body>
</soapenv:Envelope>

...

Top

...

languagexml
titleREQUEST - Crediting a transaction
linenumberstrue

...

doTransaction (PAYMENT -  EBUCKS)

The following is to send the payment instruction to the ebucks' API when paying with eBucks and can have a transaction type of payment or reserve. The corresponding method API call to ebucks PAYMENT API is Auth or AuthSettle

REQUEST

Parameter

Type

Definition

Required

Api
Varchar
Version of the API (e.g.ONE_ZERO).

Y

Safekey
Varchar(38)
PayU Merchant Identifier ('{GUID}'). Provided to merchant upon integration (e.g. {86903CCB-79A9-42EE-0174-1ACE90185507}).
Y

TransactionType

Varchar
The type of transaction being performed (e.g. PAYMENT, RESERVE).

Y

payUReference
Varchar(24)
PayU reference from initial authenticate call to retain transaction thread

 

Additional Information
merchantReference
Varchar(64)
Unique merchant identifier for transaction.

Y

payUReference
Varchar(24)
PayU reference from initial authentication call to retain transaction thread (Transaction record will be created with supplied reference).

N

notificationUrl
Varchar
URL where the merchant would like to be notified of transaction result via IPN (Instant Payment Notification). 
Needed for "secure3d=true" transactions.

N

returnUrl
Varchar
URL to return browser to after a customer has completed transaction. Needed for "secure3d=true" transactions.

N

Customer
merchantUserId
Varchar(64)
Unique Customer ID in merchant system

Y

email
Varchar(64)
Customer Email Address.

N

firstName
Varchar(64)
Customer first name.

N

lastName
Varchar(64)
Customer last name.

N

mobile
Varchar
Customer Mobile Number in international format without "+" (e.g. 27827891248).

N

Basket
amountInCents
Integer
Total amount of the basket in cents. Format as 1000 for R10.00.

Y

currencyCode
Varchar(2)
Currency code defined by PayU. Example: ZAR.

Y

description
Varchar(64)
Basket description that will show on PayU.

Y

Ebucks
amountInCents
Integer
Amount in eBucks cents.

Y

Customfield
ebucksOtp
Integer
OTP retrieved from customer which was generated during the GenerateOTP process.

Y

ebucksAccountNumber
Varchar

eBucks Member's account number retrieved from the AUTHENTICATE_ACCOUNT call.

Y

Code Block
languagexml
titledoTransaction (PAYMENT - EBUCKS) - REQUEST
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:Body>
      <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
         <Api>ONE_ZERO</Api>
         <Safekey>{00000000-0000-0000-0000-000000000000}</Safekey>
         <TransactionType>PAYMENT/RESERVE</TransactionType>
         <AdditionalInformation>
            <merchantReference>1234567890</merchantReference>           
         </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>
         </Customer>
         <Basket>
            <amountInCents>12000</amountInCents> <!-- amount in zar cents -->
            <currencyCode>ZAR</currencyCode>
         </Basket>
         <Ebucks>
            <amountInCents>12000</amountInCents> <!-- amount in eBucks cents (EB * 10) -->
         </Ebucks>
        <Customfield>
            <key>ebucksOtp</key>
            <value>909059</value>
         </Customfield>
         <Customfield>
            <key>ebucksAccountNumber</key>
            <value>80000278865</value>
         </Customfield>
      </soap:doTransaction>
   </soapenv:Body>
</soapenv:Envelope>

Anchor
request_credit
request_credit

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>
        <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/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/">
    <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"><Api>ONE_ZERO</Api>
            <wsse:UsernameToken wsu:Id="UsernameToken-9" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><Safekey>~~~SAFEKEY goes here ~~~</Safekey>
            <TransactionType>CREDIT</TransactionType>
            <AdditionalInformation>
                <wsse:Username>~~~SOAP<merchantReference>~~~Merchant Usernameref goes here here~~~<~~~</wsse:Username>merchantReference>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goes
 <payUReference>~~~PayU ref goes here ~~~</payUReference>
          here~~~</wsse:Password>  </AdditionalInformation>
          </wsse:UsernameToken>  <Basket>
      </wsse:Security>     </soapenv:Header>     <soapenv:Body><amountInCents>1000</amountInCents>
        <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">         <currencyCode>ZAR</currencyCode>
            <Api>ONE_ZERO<</Api>Basket>
        </soap:doTransaction>
   <Safekey>~~~SAFEKEY goes here ~~~</Safekey> </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>
        <TransactionType>CREDIT</TransactionType>
            <AdditionalInformation>
                <merchantReference>~~~Merchant ref goes here ~~~</merchantReference><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
                <payUReference>~~~PayU ref goes here ~~~</payUReference><return>
            <resultCode>00</resultCode>
    </AdditionalInformation>        <resultMessage>Successful</resultMessage>
    <Basket>        <successful>true</successful>
        <amountInCents>1000</amountInCents>    <displayMessage>Successful</displayMessage>
            <currencyCode>ZAR<<merchantReference>1234567890</currencyCode>merchantReference>
            <<payUReference>21976214819</Basket>payUReference>
        </soap:doTransaction>    <paymentMethodsUsed </soapenv:Body>
</soapenv:Envelope>

 

...

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE
linenumberstrue
<soap:Envelope xmlns:soapxsi:type="ns2:creditCard" xmlns:xsi="http://schemaswww.xmlsoapw3.org/soap/envelope/2001/XMLSchema-instance">
       <soap:Body>       <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <amountInCents>1000</amountInCents>
               <cardExpiry>122015</cardExpiry>
  <return>             <resultCode>00</resultCode><cardNumber>400000******1000</cardNumber>
               <resultMessage>Successful</resultMessage><gatewayReference>37149772</gatewayReference>
               <successful>true</successful><information>VISA</information>
               <nameOnCard>John Doe</nameOnCard>
       <displayMessage>Successful</displayMessage>     </paymentMethodsUsed>
       <merchantReference>1234567890</merchantReference>  </return>
      </ns2:doTransactionResponse>
   <payUReference>21976214819<</payUReference>
  soap:Body>
</soap:Envelope>

Anchor
response_with_3D
response_with_3D

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/">
    <soap:Body>
    <paymentMethodsUsed xsi:type="ns2:creditCard"<ns2:doTransactionResponse xmlns:xsins2="http://www.w3.org/2001/XMLSchema-instancesoap.api.controller.web.payjar.com/">
        <return>
      <amountInCents>1000</amountInCents>      <displayMessage>Transaction Pending         <cardExpiry>122015</cardExpiry>3DS Completion</displayMessage>
            <fraud>
  <cardNumber>400000******1000</cardNumber>                <gatewayReference>37149772</gatewayReference><resultCode>V030</resultCode>
                <information>VISA<<resultMessage>Success</information>resultMessage>
               <nameOnCard>John Doe</nameOnCard></fraud>
            </paymentMethodsUsed>
         </return><merchantReference>0123456789</merchantReference>
        </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/"><payUReference>31982857915</payUReference>
        <soap:Body>     <ns2:doTransactionResponse<paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:ns2xsi="http://soapwww.api.controller.web.payjar.com/">
w3.org/2001/XMLSchema-instance">
       <return>           <amountInCents>350</amountInCents>
 <displayMessage>Transaction Pending 3DS Completion</displayMessage>            <cardExpiry>092014</cardExpiry>
<fraud>                 <resultCode>V030</resultCode><cardNumber>456546******6016</cardNumber>
                <resultMessage>Success<<gatewayReference>37117846</resultMessage>gatewayReference>
            </fraud>    <information>VISA</information>
        <merchantReference>0123456789</merchantReference>        <nameOnCard>Jon Doe    <payUReference>31982857915</payUReference>
   </nameOnCard>
        <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">     </paymentMethodsUsed>
            <resultCode>P3DS</resultCode>
           <amountInCents>350</amountInCents> <resultMessage>Transaction Pending 3DS Completion</resultMessage>
            <cardExpiry>092014</cardExpiry><secure3D>
                <cardNumber>456546******6016</cardNumber><secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>
                 <gatewayReference>37117846</gatewayReference><secure3DUrl><![CDATA[<form name="downloadForm" action="http://acstest.bankserv.co.za/V3DSStart?osb=visa-3&VAA=B"
                method="POST">
  <information>VISA</information>              <table name="dataTable"  <nameOnCard>Jon Doe </nameOnCard>border="0" cellpadding="0">
              </paymentMethodsUsed>  <INPUT TYPE="hidden" NAME="TransactionID" value="A5ufG1Q3sp3qGDxu5de3">
       <resultCode>P3DS</resultCode>         <INPUT TYPE="hidden" NAME="PaReq"
 <resultMessage>Transaction Pending 3DS Completion</resultMessage>             <secure3D>value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTL
                 <secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>
 zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh
              <secure3DUrl><![CDATA[<form name="downloadForm" action="http://acstest.bankserv.co.za/V3DSStart?osb=visa-3&VAA=B" zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQ
                method="POST">B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno
                <table name="dataTable" border="0" cellpadding="0"pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA==">
                <INPUT TYPE="hidden" NAME="TransactionIDTermUrl" valueVALUE="A5ufG1Q3sp3qGDxu5de3http://staging.safeshop.co.za/s2s/Secure3D/Encode_Finish.asp">
                <INPUT TYPE="hidden" NAME="MD" VALUE="PaReq37117846">
                value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTL</table>
                zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh
        <center><p><font type="Arial" size=2>Transfering to your bank for credit card authentication.
       zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQ         <p> If you are not redirected please  B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno
<a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking
               pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA==">
 institution.<p>
               <INPUT TYPE="hidden" NAME<input type="TermUrlimage" VALUEsrc="http://staging.images.safeshop.co.za/s2sPaymentMethods/Secure3D/EncodeVbyV_blue_Finish120x69.aspgif"> name="continue"
               <INPUT TYPEvalue="hiddenContinue" NAME="MD" VALUE="37117846">></center>
                  </table>form>
                <center><p><font<script typelanguage="Arial" size=2>Transfering to your bank for credit card authentication.Javascript">
                <!--
                function <p> If you are not redirected please <a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking
 AutoSubmitForm() {document.downloadForm.submit();
                }
              institution.<p>  AutoSubmitForm();
              <input type="image" src="http://staging.images.safeshop.co.za/PaymentMethods/Secure3D/VbyV_blue_120x69.gif" name="continue"//--></script>]]></secure3DUrl>
                value="Continue"></center>
 </secure3D>
            <successful>true</successful>
 </form>       </return>
    </ns2:doTransactionResponse>
    <script language="Javascript">
</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://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
       <!--  <return>
            <resultCode>00</resultCode>
 function AutoSubmitForm() {document.downloadForm.submit();         <resultMessage>Successful</resultMessage>
       }     <successful>true</successful>
           AutoSubmitForm();
 <displayMessage>Successful</displayMessage>
            <merchantReference>1234567890</merchantReference>
  //--></script>]]></secure3DUrl>          <payUReference>21976214819</payUReference>
      </secure3D>      <paymentMethodsUsed       <successful>true</successful>
   xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    </return>     </ns2:doTransactionResponse>     </soap:Body>
</soap:Envelope>

...

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body> <amountInCents>1000</amountInCents>
               <cardExpiry>122015</cardExpiry>
               <cardNumber>400000******1000</cardNumber>
              <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <gatewayReference>37149772</gatewayReference>
               <information>VISA</information>
  <return>             <resultCode>00<<nameOnCard>John Doe</resultCode>nameOnCard>
            <resultMessage>Successful</resultMessage></paymentMethodsUsed> 
            <customFields>
  <successful>true</successful>             <displayMessage>Successful</displayMessage><key>bankReference</key>
               <merchantReference>1234567890<<value>DEMO12</merchantReference>value>
            <payUReference>21976214819</payUReference></customFields>
         </return>
     <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi </ns2:doTransactionResponse>
   </soap:Body>
</soap:Envelope>

Anchor
response_with_fraud_approve
response_with_fraud_approve

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVE)
linenumberstrue
<soap:Envelope xmlns:soap="http://wwwschemas.w3xmlsoap.org/2001/XMLSchema-instancesoap/envelope/">
    <soap:Body>
          <amountInCents>1000</amountInCents>
               <cardExpiry>122015</cardExpiry>
               <cardNumber>400000******1000</cardNumber><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
  <gatewayReference>37149772</gatewayReference>                <information>VISA<<displayMessage>Successful</information>displayMessage>
               <nameOnCard>John Doe</nameOnCard><fraud>
            </paymentMethodsUsed>        <resultCode>V030</resultCode>
     <customFields>               <resultMessage>Success</resultMessage>
<key>bankReference</key>                <value>DEMO12<</value>
fraud>
           </customFields>          </return><merchantReference>mercRef_1403097874</merchantReference>
      </ns2:doTransactionResponse>    </soap:Body> </soap:Envelope>

...

Top

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

Anchor
response_with_fraud_challenge
response_with_fraud_challenge

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGE)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
           <cardExpiry>012015</cardExpiry><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
       <cardNumber>542028******1323</cardNumber>         <displayMessage>Successful</displayMessage>
           <gatewayReference>37585977</gatewayReference>     <fraud>
               <information>MASTERCARD</information>     <resultCode>V035</resultCode>
               <nameOnCard>John Doe</nameOnCard>    <resultMessage>CHALLENGE             </paymentMethodsUsed>- 0330</resultMessage>
                <resultCode>00<</resultCode>fraud>
                <resultMessage>Successful</resultMessage>
          <merchantReference>mercRef_1403098425</merchantReference>
     <successful>true</successful>           <payUReference>185878360665</payUReference>
 </return>         </ns2:doTransactionResponse>     </soap:Body>
</soap:Envelope>

...

Top

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

Anchor
response_with_fraud_deny
response_with_fraud_deny

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENY)
linenumberstrue
<soap:Envelope xmlns:soap="http://wwwschemas.w3xmlsoap.org/soap/2001envelope/XMLSchema-instance" xsi:type="ns2:creditCard">
    <soap:Body>
               <amountInCents>7215</amountInCents><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
         <cardExpiry>012015</cardExpiry>       <fraud>
             <cardNumber>542028******1323</cardNumber>       <resultCode>V039</resultCode>
             <gatewayReference>37585978</gatewayReference>       <resultMessage>DENY - 0700</resultMessage>
           <information>MASTERCARD</information>     </fraud>
               <nameOnCard>John Doe<<merchantReference>mercRef_1403098545</nameOnCard>merchantReference>
                <<payUReference>185879181093</paymentMethodsUsed>payUReference>
                <resultCode>00<<resultCode>P044</resultCode>
                <resultMessage>Rejected <resultMessage>Successful<for fraud</resultMessage>
                <successful>true<<successful>false</successful>
            </return>
        </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

...

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENYdoTransaction (PAYMENT - EBUCKS)
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>     <return>
               <resultCode>V039<<resultCode>00</resultCode>
            <resultMessage>Successful</resultMessage>
       <resultMessage>DENY - 0700</resultMessage>   <successful>true</successful>
             <<displayMessage>Successful</fraud>displayMessage>
                <merchantReference>mercRef_1403098545<<merchantReference>1234567890</merchantReference>
                <payUReference>185879181093<<payUReference>21976214819</payUReference>
            <paymentMethodsUsed    <resultCode>P044</resultCode>xsi:type="ns2:ebucks" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <resultMessage>Rejected for fraud</resultMessage><amountInCents>12000</amountInCents>
                <successful>false</successful>
 </paymentMethodsUsed>
          </return>
 
      </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>