Payment Transactions

Refund

Refund

This transaction type is used to refund a customer for a transaction that was successfully settled through the payment gateway.

Example Request:

{   
   "type":"7", 
   "method":"ACH",
   "nonce":{{$timestamp}}, 
   "reference_transaction_id":"1035611", 
   "amount":"12.00", 
   "check":{   
      "account_number":"6789" 
   },
    "additional_data":[  
      {  
         "id":"USER",
         "value":"1"
      },
      {  
         "id":"SOURCE",
         "value":"VT"
      }
   ]
} 

Example Response:

{  
"transaction_response":
  {    
  
"result_code": 1,    
"result_sub_code": "000",    
"result_text": "APPROVAL",    
"transaction_id": "1036340",    
"transaction_datetime":"20200827T104154Z",    
"account_type": "",    
"account_last_4": "",    
"amount": "12.00",   
"approved_amount": "",    
"method": "ACH",    
"auth_code": "",   
"avs_result_code":""; 
"account_code_result": "",    
"type": "7",    
"expiration_date": "",    
"token": "",    
"emv": "",    
"emv_tag_data": "",    
"entry_mode": ""  
 }
 "nonce":"1598524890",
 "test":"0",
 
 "customer": 
  {
     "first_name": "",    
     "last_name": "",    
     "street_1": "",    
     "street_2": "",    
     "city": "",    
     "state": "",    
     "zip": "",    
     "country": "",    
     "phone_number": "",    
     "company": "",    
     "customer_id": "",    
     "email": "",    
     "email_receipt": "",    
     "notes": "",  
     }
}