TaxCloud Sales Tax API : Captured
TaxCloud API Base Documentation

Click here for a complete list of operations.

Captured

Mark a previous Lookup as Captured - do this AFTER calling Authorized API and after capturing payment 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 /1.0/taxcloud.asmx HTTP/1.1
Host: api.taxcloud.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://taxcloud.net/Captured"

<?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>
    <Captured xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <orderID>string</orderID>
    </Captured>
  </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>
    <CapturedResponse xmlns="http://taxcloud.net">
      <CapturedResult />
    </CapturedResponse>
  </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 /1.0/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>
    <Captured xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <orderID>string</orderID>
    </Captured>
  </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>
    <CapturedResponse xmlns="http://taxcloud.net">
      <CapturedResult />
    </CapturedResponse>
  </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 /1.0/taxcloud.asmx/Captured HTTP/1.1
Host: api.taxcloud.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

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

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

©2009-2017 The Federal Tax Authority, LLC (FedTax) - 1400.1222.2000.M