Deactivate Transactions

The Deactivate transaction changes the status of a (Closed Loop) Gift Card from active to inactive.

You must be enabled for (Closed Loop) Gift Card transactions to use this transaction type. Please consult your Relationship Manager for additional information about Gift Card transactions.

Deactivate Request

You must structure a Deactivate request as shown in the following examples. The structure of the request is identical for either an Online or a Batch submission.

<deactivate id="Activate Id" reportGroup="iQ Report Group" customerId="Customer Id">

  <orderId>Order Id</orderId>

  <orderSource>Order Entry Source</orderSource>

  <card>

</deactivate>

Example:  Online Deactivate Request

<cnpOnlineRequest version="12.0" xmlns="http://www.vantivcnp.com/schema" merchantId="100">

  <authentication>

    <user>User Name</user>

    <password>Password</password>

  </authentication>

  <deactivate id="834262" reportGroup="ABC Division" customerId="038945">

    <orderId>65347567</orderId>

    <orderSource>ecommerce</orderSource>

    <card>

      <type>GC</type>

      <number>9000000000000001</number>

      <pin>1234</pin>

    </card>

  </deactvate>

</cnpOnlineRequest>

Deactivate Response

A Deactivate response has the following structure. The response message is identical for Online and Batch transactions except Online includes the <postDate> element.

<deactivateResponse id="Deactivate 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>

  <fraudResult>

  <approvedAmount>5000</approvedAmount>

  <giftCardResponse>

</deactivateResponse>

Example:  Online Deactivate Response

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

  <deactivateResponse id="834262" reportGroup="ABC Division">

    <cnpTxnId>9695064321</cnpTxnId>

    <response>000</response>

    <responseTime>2016-07-25T15:13:43</responseTime>

    <postDate>2016-07-25</postDate>

    <message>Approved</message>

    <approvedAmount>5000</approvedAmount>

    <giftCardResponse>

      <availableBalance>0</availableBalance>

      <beginningBalance>5000</beginningBalance>

      <endingBalance>0</endingBalance>

    </giftCardResponse>

  </deactivateResponse>

</cnpOnlineResponse>