TransactionService


Click here for a complete list of operations.

ProcessTransaction

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /TransactionService.asmx HTTP/1.1
Host: apidev.securepay.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.securepay.net/ProcessTransaction"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessTransaction xmlns="http://www.securepay.net/">
      <request>
        <TestRequest>boolean</TestRequest>
        <MerchantID>long</MerchantID>
        <CardNumber>string</CardNumber>
        <CreateToken>boolean</CreateToken>
        <ExpirationDate>string</ExpirationDate>
        <CardName>string</CardName>
        <Street>string</Street>
        <City>string</City>
        <State>string</State>
        <Zip>string</Zip>
        <Country>string</Country>
        <Email>string</Email>
        <Phone>string</Phone>
        <IsSwipe>boolean</IsSwipe>
        <CVV2>string</CVV2>
        <CardType>string</CardType>
        <TransactionType>string</TransactionType>
        <Amount>decimal</Amount>
        <OriginalTransactionID>long</OriginalTransactionID>
        <TransactionKey>string</TransactionKey>
        <IsRecurring>boolean</IsRecurring>
        <RecurringAmount>decimal</RecurringAmount>
        <RecurringStartDate>dateTime</RecurringStartDate>
        <RecurringFrequency>string</RecurringFrequency>
        <RecurringEndDate>dateTime</RecurringEndDate>
        <ApprovalCode>string</ApprovalCode>
        <CustomValue1>string</CustomValue1>
        <CustomValue2>string</CustomValue2>
        <CustomValue3>string</CustomValue3>
        <MerchantReceipt>boolean</MerchantReceipt>
        <CardHolderReceipt>boolean</CardHolderReceipt>
        <IPPW>string</IPPW>
        <MagensaLogID>long</MagensaLogID>
        <SaveCardID>string</SaveCardID>
        <CustomerID>long</CustomerID>
        <IsCitTransaction>boolean</IsCitTransaction>
        <IsPartialRevesal>boolean</IsPartialRevesal>
        <SettlementAmount>decimal</SettlementAmount>
        <CitCardAuthenticationId>string</CitCardAuthenticationId>
        <CAVV>string</CAVV>
        <XID>string</XID>
        <ECI>string</ECI>
        <CardReaderName>string</CardReaderName>
        <SerialNumber>string</SerialNumber>
        <ArqcData>string</ArqcData>
        <IsAchTransaction>boolean</IsAchTransaction>
        <AccountNumber>string</AccountNumber>
        <RoutingNumber>string</RoutingNumber>
        <AccountType>string</AccountType>
        <BankAccountType>string</BankAccountType>
        <NameOnAccount>string</NameOnAccount>
        <Source>string</Source>
      </request>
    </ProcessTransaction>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessTransactionResponse xmlns="http://www.securepay.net/">
      <ProcessTransactionResult>
        <TransactionID>long</TransactionID>
        <ResponseCode>string</ResponseCode>
        <ResponseMessage>string</ResponseMessage>
        <ResponseMessageDetail>string</ResponseMessageDetail>
        <ApprovalCode>string</ApprovalCode>
        <Token>string</Token>
        <AvsResponseCode>string</AvsResponseCode>
        <RecurringResponse>string</RecurringResponse>
        <RecurringAmount>string</RecurringAmount>
        <RecurringStartDate>string</RecurringStartDate>
        <RecurringEndDate>string</RecurringEndDate>
        <CustomValue1>string</CustomValue1>
        <CustomValue2>string</CustomValue2>
        <CustomValue3>string</CustomValue3>
        <CustomField1>string</CustomField1>
        <CustomField2>string</CustomField2>
        <CustomField3>string</CustomField3>
        <MaskedCardNumber>string</MaskedCardNumber>
      </ProcessTransactionResult>
    </ProcessTransactionResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /TransactionService.asmx HTTP/1.1
Host: apidev.securepay.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ProcessTransaction xmlns="http://www.securepay.net/">
      <request>
        <TestRequest>boolean</TestRequest>
        <MerchantID>long</MerchantID>
        <CardNumber>string</CardNumber>
        <CreateToken>boolean</CreateToken>
        <ExpirationDate>string</ExpirationDate>
        <CardName>string</CardName>
        <Street>string</Street>
        <City>string</City>
        <State>string</State>
        <Zip>string</Zip>
        <Country>string</Country>
        <Email>string</Email>
        <Phone>string</Phone>
        <IsSwipe>boolean</IsSwipe>
        <CVV2>string</CVV2>
        <CardType>string</CardType>
        <TransactionType>string</TransactionType>
        <Amount>decimal</Amount>
        <OriginalTransactionID>long</OriginalTransactionID>
        <TransactionKey>string</TransactionKey>
        <IsRecurring>boolean</IsRecurring>
        <RecurringAmount>decimal</RecurringAmount>
        <RecurringStartDate>dateTime</RecurringStartDate>
        <RecurringFrequency>string</RecurringFrequency>
        <RecurringEndDate>dateTime</RecurringEndDate>
        <ApprovalCode>string</ApprovalCode>
        <CustomValue1>string</CustomValue1>
        <CustomValue2>string</CustomValue2>
        <CustomValue3>string</CustomValue3>
        <MerchantReceipt>boolean</MerchantReceipt>
        <CardHolderReceipt>boolean</CardHolderReceipt>
        <IPPW>string</IPPW>
        <MagensaLogID>long</MagensaLogID>
        <SaveCardID>string</SaveCardID>
        <CustomerID>long</CustomerID>
        <IsCitTransaction>boolean</IsCitTransaction>
        <IsPartialRevesal>boolean</IsPartialRevesal>
        <SettlementAmount>decimal</SettlementAmount>
        <CitCardAuthenticationId>string</CitCardAuthenticationId>
        <CAVV>string</CAVV>
        <XID>string</XID>
        <ECI>string</ECI>
        <CardReaderName>string</CardReaderName>
        <SerialNumber>string</SerialNumber>
        <ArqcData>string</ArqcData>
        <IsAchTransaction>boolean</IsAchTransaction>
        <AccountNumber>string</AccountNumber>
        <RoutingNumber>string</RoutingNumber>
        <AccountType>string</AccountType>
        <BankAccountType>string</BankAccountType>
        <NameOnAccount>string</NameOnAccount>
        <Source>string</Source>
      </request>
    </ProcessTransaction>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ProcessTransactionResponse xmlns="http://www.securepay.net/">
      <ProcessTransactionResult>
        <TransactionID>long</TransactionID>
        <ResponseCode>string</ResponseCode>
        <ResponseMessage>string</ResponseMessage>
        <ResponseMessageDetail>string</ResponseMessageDetail>
        <ApprovalCode>string</ApprovalCode>
        <Token>string</Token>
        <AvsResponseCode>string</AvsResponseCode>
        <RecurringResponse>string</RecurringResponse>
        <RecurringAmount>string</RecurringAmount>
        <RecurringStartDate>string</RecurringStartDate>
        <RecurringEndDate>string</RecurringEndDate>
        <CustomValue1>string</CustomValue1>
        <CustomValue2>string</CustomValue2>
        <CustomValue3>string</CustomValue3>
        <CustomField1>string</CustomField1>
        <CustomField2>string</CustomField2>
        <CustomField3>string</CustomField3>
        <MaskedCardNumber>string</MaskedCardNumber>
      </ProcessTransactionResult>
    </ProcessTransactionResponse>
  </soap12:Body>
</soap12:Envelope>