TaxCloud API Base Documentation

Click here for a complete list of operations.

Authorized

Mark a previous Lookup as Authorized - do this AFTER authorizing with payment processor.

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 /TaxCloud.asmx HTTP/1.1
Host: api.taxcloud.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://taxcloud.net/Authorized"

<?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>
    <Authorized xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <customerID>string</customerID>
      <cartID>string</cartID>
      <orderID>string</orderID>
      <dateAuthorized>dateTime</dateAuthorized>
    </Authorized>
  </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>
    <AuthorizedResponse xmlns="http://taxcloud.net">
      <AuthorizedResult />
    </AuthorizedResponse>
  </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 /TaxCloud.asmx HTTP/1.1
Host: api.taxcloud.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>
    <Authorized xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <customerID>string</customerID>
      <cartID>string</cartID>
      <orderID>string</orderID>
      <dateAuthorized>dateTime</dateAuthorized>
    </Authorized>
  </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>
    <AuthorizedResponse xmlns="http://taxcloud.net">
      <AuthorizedResult />
    </AuthorizedResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

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

POST /TaxCloud.asmx/Authorized HTTP/1.1
Host: api.taxcloud.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apiLoginID=string&apiKey=string&customerID=string&cartID=string&orderID=string&dateAuthorized=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<AuthorizedRsp xmlns="http://taxcloud.net" />

©2009-2024 The Federal Tax Authority, LLC (FedTax)