Service


Click here for a complete list of operations.

GetTransactionDetails

This method is used to retrieve detailed information about a single transaction.

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 /soap/v1/Service.asmx HTTP/1.1
Host: apitest.authorize.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://api.authorize.net/soap/v1/GetTransactionDetails"

<?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>
    <GetTransactionDetails xmlns="https://api.authorize.net/soap/v1/">
      <merchantAuthentication>
        <name>string</name>
        <transactionKey>string</transactionKey>
      </merchantAuthentication>
      <transId>string</transId>
      <clientId>string</clientId>
    </GetTransactionDetails>
  </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>
    <GetTransactionDetailsResponse xmlns="https://api.authorize.net/soap/v1/">
      <GetTransactionDetailsResult>
        <transaction>
          <transId>string</transId>
          <refTransId>string</refTransId>
          <splitTenderId>long</splitTenderId>
          <submitTimeUTC>dateTime</submitTimeUTC>
          <submitTimeLocal>dateTime</submitTimeLocal>
          <transactionType>string</transactionType>
          <transactionStatus>string</transactionStatus>
          <responseCode>int</responseCode>
          <responseReasonCode>int</responseReasonCode>
          <responseReasonDescription>string</responseReasonDescription>
          <authCode>string</authCode>
          <AVSResponse>string</AVSResponse>
          <cardCodeResponse>string</cardCodeResponse>
          <CAVVResponse>string</CAVVResponse>
          <FDSFilterAction>string</FDSFilterAction>
          <FDSFilters>
            <FDSFilter xsi:nil="true" />
            <FDSFilter xsi:nil="true" />
          </FDSFilters>
          <batch>
            <batchId>string</batchId>
            <settlementTimeUTC>dateTime</settlementTimeUTC>
            <settlementTimeLocal>dateTime</settlementTimeLocal>
            <settlementState>string</settlementState>
            <paymentMethod>string</paymentMethod>
            <marketType>string</marketType>
            <product>string</product>
            <statistics xsi:nil="true" />
          </batch>
          <order>
            <purchaseOrderNumber>string</purchaseOrderNumber>
          </order>
          <requestedAmount>decimal</requestedAmount>
          <authAmount>decimal</authAmount>
          <settleAmount>decimal</settleAmount>
          <tax>
            <amount>decimal</amount>
            <name>string</name>
            <description>string</description>
          </tax>
          <shipping>
            <amount>decimal</amount>
            <name>string</name>
            <description>string</description>
          </shipping>
          <duty>
            <amount>decimal</amount>
            <name>string</name>
            <description>string</description>
          </duty>
          <lineItems>
            <itemId>string</itemId>
            <name>string</name>
            <description>string</description>
            <quantity>decimal</quantity>
            <unitPrice>decimal</unitPrice>
            <taxable>boolean</taxable>
          </lineItems>
          <lineItems>
            <itemId>string</itemId>
            <name>string</name>
            <description>string</description>
            <quantity>decimal</quantity>
            <unitPrice>decimal</unitPrice>
            <taxable>boolean</taxable>
          </lineItems>
          <prepaidBalanceRemaining>decimal</prepaidBalanceRemaining>
          <currencyCode>string</currencyCode>
          <taxExempt>boolean</taxExempt>
          <payment />
          <customer>
            <type>individual or business</type>
            <id>string</id>
            <email>string</email>
            <driversLicense xsi:nil="true" />
            <taxId>string</taxId>
          </customer>
          <billTo>
            <phoneNumber>string</phoneNumber>
            <faxNumber>string</faxNumber>
            <email>string</email>
          </billTo>
          <shipTo>
            <firstName>string</firstName>
            <lastName>string</lastName>
            <company>string</company>
            <address>string</address>
            <city>string</city>
            <state>string</state>
            <zip>string</zip>
            <country>string</country>
          </shipTo>
          <recurringBilling>boolean</recurringBilling>
          <customerIP>string</customerIP>
          <marketType>string</marketType>
          <product>string</product>
          <mobileDeviceId>string</mobileDeviceId>
          <subscription>
            <id>int</id>
            <payNum>int</payNum>
          </subscription>
          <returnedItems>
            <returnedItem xsi:nil="true" />
            <returnedItem xsi:nil="true" />
          </returnedItems>
          <solution>
            <id>string</id>
            <name>string</name>
            <vendor>string</vendor>
          </solution>
          <profile>
            <customerProfileId xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">string</customerProfileId>
            <customerPaymentProfileId xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">string</customerPaymentProfileId>
            <customerAddressId xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">string</customerAddressId>
          </profile>
        </transaction>
      </GetTransactionDetailsResult>
    </GetTransactionDetailsResponse>
  </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 /soap/v1/Service.asmx HTTP/1.1
Host: apitest.authorize.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>
    <GetTransactionDetails xmlns="https://api.authorize.net/soap/v1/">
      <merchantAuthentication>
        <name>string</name>
        <transactionKey>string</transactionKey>
      </merchantAuthentication>
      <transId>string</transId>
      <clientId>string</clientId>
    </GetTransactionDetails>
  </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>
    <GetTransactionDetailsResponse xmlns="https://api.authorize.net/soap/v1/">
      <GetTransactionDetailsResult>
        <transaction>
          <transId>string</transId>
          <refTransId>string</refTransId>
          <splitTenderId>long</splitTenderId>
          <submitTimeUTC>dateTime</submitTimeUTC>
          <submitTimeLocal>dateTime</submitTimeLocal>
          <transactionType>string</transactionType>
          <transactionStatus>string</transactionStatus>
          <responseCode>int</responseCode>
          <responseReasonCode>int</responseReasonCode>
          <responseReasonDescription>string</responseReasonDescription>
          <authCode>string</authCode>
          <AVSResponse>string</AVSResponse>
          <cardCodeResponse>string</cardCodeResponse>
          <CAVVResponse>string</CAVVResponse>
          <FDSFilterAction>string</FDSFilterAction>
          <FDSFilters>
            <FDSFilter xsi:nil="true" />
            <FDSFilter xsi:nil="true" />
          </FDSFilters>
          <batch>
            <batchId>string</batchId>
            <settlementTimeUTC>dateTime</settlementTimeUTC>
            <settlementTimeLocal>dateTime</settlementTimeLocal>
            <settlementState>string</settlementState>
            <paymentMethod>string</paymentMethod>
            <marketType>string</marketType>
            <product>string</product>
            <statistics xsi:nil="true" />
          </batch>
          <order>
            <purchaseOrderNumber>string</purchaseOrderNumber>
          </order>
          <requestedAmount>decimal</requestedAmount>
          <authAmount>decimal</authAmount>
          <settleAmount>decimal</settleAmount>
          <tax>
            <amount>decimal</amount>
            <name>string</name>
            <description>string</description>
          </tax>
          <shipping>
            <amount>decimal</amount>
            <name>string</name>
            <description>string</description>
          </shipping>
          <duty>
            <amount>decimal</amount>
            <name>string</name>
            <description>string</description>
          </duty>
          <lineItems>
            <itemId>string</itemId>
            <name>string</name>
            <description>string</description>
            <quantity>decimal</quantity>
            <unitPrice>decimal</unitPrice>
            <taxable>boolean</taxable>
          </lineItems>
          <lineItems>
            <itemId>string</itemId>
            <name>string</name>
            <description>string</description>
            <quantity>decimal</quantity>
            <unitPrice>decimal</unitPrice>
            <taxable>boolean</taxable>
          </lineItems>
          <prepaidBalanceRemaining>decimal</prepaidBalanceRemaining>
          <currencyCode>string</currencyCode>
          <taxExempt>boolean</taxExempt>
          <payment />
          <customer>
            <type>individual or business</type>
            <id>string</id>
            <email>string</email>
            <driversLicense xsi:nil="true" />
            <taxId>string</taxId>
          </customer>
          <billTo>
            <phoneNumber>string</phoneNumber>
            <faxNumber>string</faxNumber>
            <email>string</email>
          </billTo>
          <shipTo>
            <firstName>string</firstName>
            <lastName>string</lastName>
            <company>string</company>
            <address>string</address>
            <city>string</city>
            <state>string</state>
            <zip>string</zip>
            <country>string</country>
          </shipTo>
          <recurringBilling>boolean</recurringBilling>
          <customerIP>string</customerIP>
          <marketType>string</marketType>
          <product>string</product>
          <mobileDeviceId>string</mobileDeviceId>
          <subscription>
            <id>int</id>
            <payNum>int</payNum>
          </subscription>
          <returnedItems>
            <returnedItem xsi:nil="true" />
            <returnedItem xsi:nil="true" />
          </returnedItems>
          <solution>
            <id>string</id>
            <name>string</name>
            <vendor>string</vendor>
          </solution>
          <profile>
            <customerProfileId xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">string</customerProfileId>
            <customerPaymentProfileId xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">string</customerPaymentProfileId>
            <customerAddressId xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">string</customerAddressId>
          </profile>
        </transaction>
      </GetTransactionDetailsResult>
    </GetTransactionDetailsResponse>
  </soap12:Body>
</soap12:Envelope>