Transaction Reversal

This is a reversal of a posted transaction.

Transaction request

Use the following to build the request.

  1. ) Make a JSON object {} .
  2. ) Add and set the messageType to "0200"
  3. ) Add and Set the responseCode to "00"
  4. ). Add and set the transactionType to "00"
  5. ) Add and set the referenceNumber with a valid account.
  6. ) Add and set the expirationMonth as MM.
  7. ) Add and set the expirationYear as YY.
  8. ) Add and set amountTransaction to the amount, in cents, of how much the transaction will be for. example, If $2.50 then type in 250.
  9. ) Add and set the unique token for access.

Financial Transaction example for a purchase of $24.79 request.

{"messageType": "0200"  
  ,"responseCode": "00"  
  , "transactionType": "00"  
  , "referenceNumber": "000000000000"
  , "expirationMonth" :"03"  
  , "expirationYear": "26"  
  , "amountTransaction": "2479"  
  , "token": "UUID"
}

Reversal request

Reversing the authorization can be done with a reversal message.

1.) Change the messageType to 0420.

2.) Add and set the parameter authorizationIdentificationResponse to the returned authorizationIdentificationResponse value from the 0200 response.

3.) The response code should be mirrored from the responseCode (0 or 10). If the response code is not 00 or 10, then read the "Authorization Reversal" page.

Reversal request of authorization example for a purchase of $24.79

{"messageType": "0420"  
  ,"responseCode": "00"  
  , "transactionType": "00"  
  , "referenceNumber": "000000000000"
  , "expirationMonth" :"03"  
  , "expirationYear": "26"  
  , "amountTransaction": "2479"  
  , "token" : "UUID"
}
Language
Click Try It! to start a request and see the response here!