Uncategorized

GET Void Request

 
An existing auth or auth-capture transaction can be voided by providing appropriate original trasaction ID as refernce in the void request.

Sample Code


{   
   "type":"5", 
   "method":"CC", 
   "nonce":{{$timestamp}}, 
   "reference_transaction_id":"1005741", 
   "amount":"310.28", 
   "notes":"000040520011", 
   "card":{   
      "number":"1116" 
   }, 
   "custom_fields":[   
      {   
         "id":"1", 
         "value":"Certifyglobal Test" 
      } 
   ], 
   "additional_data":[   
      {   
         "id":"USER", 
         "value":"JCB" 
      }, 
      {   
         "id":"SOURCE", 
         "value":"PS" 
      } 
   ] 
} 
 

HEADERS

KEY VALUE DESCRIPTION
Content-Type application/x-www-form-urlencoded

BODY

KEY VALUE DESCRIPTION
type smallint The type needs to be 5 for all void transactions.
reference_transaction_id bigint The original Transaction ID of the authorization need to be provided here.
card: number string Last 4 digits of the customer's card number from original transaction. **
amount Same as authorized transaction amount. If this is less than auth transaction amount then the transction is sent as Partial Void.

Leave a Reply

Your email address will not be published. Required fields are marked *