Deposit Reversal Transactions (Online Only)

The Deposit Reversal transaction is a Gift Card transaction that reverses the deposit initiated by either a Capture or Sale transaction. The Deposit Reversal references the associated Capture/Sale transaction by means of the cnpTxnId element returned in the Capture/Sale response. This transaction type is available only for Online transactions.

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.

Deposit Reversal Request

You must structure an Deposit Reversal request as shown in the following examples.

<depositReversal id="Deposit Reversal Id" reportGroup="iQ Report Group" customerId="Customer Id">

  <cnpTxnId>Transaction Id from Load Response</cnpTxnId>

  <card>

  <originalRefCode>Reference Code from Deactivate Response</originalRefCode>

  <originalAmount>Amount from Deactivate Transaction</originalAmount>

  <originalTxnTime>Transaction Time from Deactivate Response</originalTxnTime>

  <originalSystemTraceId>Trace Id from Deactivate Resp</originalSystemTraceId>

  <originalSequenceNumber>Seq Num from Deactivate Resp</originalSequenceNumber>

</depositReversal>

Example: Deposit Reversal Request

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

  <authentication>

    <user>User Name</user>

    <password>Password</password>

  </authentication>

  <depositReversal id="12345" customerId="Customer Id" reportGroup="Deposit Reversals">

    <cnpTxnId>1234567890123456789</cnpTxnId>

    <card>

      <type>GC</type>

      <number>1234102000003558</number>

      <cardValidationNum>888</cardValidationNum>

    </card>

    <originalRefCode>123456</originalRefCode>

    <originalAmount>1900</originalAmount>

    <originalTxnTime>2017-03-21T10:02:46</originalTxnTime>

    <originalSystemTraceId>678901</originalSystemTraceId>

    <originalSequenceNumber>123456</originalSequenceNumber>

  </depositReversal>

</cnpOnlineRequest>

Deposit Reversal Response

A Deposit Reversal response has the following structure.

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

  <giftCardResponse>

</depositReversalResponse>

Example: Online Deposit Reversal Response

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

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

    <cnpTxnId>9695064321</cnpTxnId>

    <response>000</response>

    <responseTime>2020-03-22T15:13:43</responseTime>

    <postDate>2020-03-22</postDate>

    <message>Approved</message>

    <giftCardResponse>

      <txnTime>2020-03-22T12:00:00</txnTime>

      <refCode>003558</refCode>

      <systemTraceId>834528</systemTraceId>

      <sequenceNumber>123456</sequenceNumber>

      <availableBalance>5000</availableBalance>

    </giftCardResponse>

  </depositReversalResponse>

</cnpOnlineResponse>