Capture Response

A Capture response has the following structure. The response message is identical for Online and Batch transactions except Batch always includes the <orderId> element, while Online includes the <postDate> element.

<captureResponse id="Capture Id" reportGroup="iQ Report Group" customerId="Customer Id">

  <cnpTxnId>Transaction Id</cnpTxnId>

  <response>Response Code</response>

  <responseTime>Date and Time in GMT</responseTime>

  <postDate>Date transaction posted</postDate> (Online Only)

  <message>Response Message</message>

  <location>Processing Location</location>

  <accountUpdater>

  <pinlessDebitResponse>

  <checkoutId>Unique Id Value</checkoutId>

</captureResponse>

Example:  Batch Capture Response

<captureResponse version="12.13" xmlns="http://www.vantivcnp.com/schema"id="123" cnpSessionId="987654321" response="0" message="Valid Format">

  <batchResponse id="01234567" cnpBatchId="4455667788"merchantId="100">

    <captureResponse id="AX54321678" reportGroup="RG27">

      <cnpTxnId>84568456</cnpTxnId>

      <response>000</response>

      <responseTime>2020-04-01T10:24:31</responseTime>

      <message>Approved</message>

    </captureResponse>

    <captureResponse id="AX54325432" reportGroup="RG12">

      <cnpTxnId>84568457</cnpTxnId>

      <response>000</response>

      <responseTime>2020-04-01T10:24:31</responseTime>

      <message>message</message>

    </captureResponse>

  </batchResponse>

</cnpResponse>

Example:  Online Capture Response

<cnpOnlineResponse version="12.13" xmlns="http://www.vantivcnp.com/schema" response="0" message="Valid Format">

  <captureResponse id="2" reportGroup="ABC Division" customerId="038945">

    <cnpTxnId>1100030204</cnpTxnId>

    <response>000</response>

    <responseTime>2020-04-11T14:48:48</responseTime>

    <postDate>2020-04-11</postDate>

    <message>Approved</message>

  </captureResponse>

</cnpOnlineResponse>