4D Payments SDK 2016 .NET Edition

Questions / Feedback?

OnlineRefund Method

Sends a Refund request for a Visa/Visa Electron Credit card.


public void OnlineRefund();
Public Sub OnlineRefund()


This method sends a Visa Credit Card Refund (Return) request to the FDMS transaction processor, which returns funds to a Cardholder's account. If the Refund request was successful, Success will be True.

The EntryDataSource field determines whether Track1, Track2, or manually entered card and expiration date are sent in the request.

  OmahaRetail.TransactionNumber = 999;
  OmahaRetail.TransactionAmount = "1.00";
  OmahaRetail.Card.EntryDataSource = edsTrack2;
  OmahaRetail.Card.MagneticStripe = "4017779999999999=16041200000000001";
  if (OmahaRetail.ResponseSuccess) {   
    OmahaBatchMgr.DetailRecords.Add(new OmahaRecordType(OmahaRetail.GetDetailAggregate()));
Industry regulations do not allow merchants or processors to store track data in any form of persistent storage. Failure to abide by this regulation can result in significant fines and other penalties.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]