4D Payments SDK 2016 .NET Edition

Questions / Feedback?

Credit Method

Credits a cardholder's account.

Syntax

public void Credit();
Public Sub Credit()

Remarks

Also known as a Return, this transaction refunds the cardholder's account. This can be performed any time and in any batch, and is not based on a previous transaction. To credit a transaction in the current open batch, use the VoidTransaction method instead.

Manually keyed credit:

component.Card = new CCCard("4444333322221111", 1, 2010)
component.TransactionAmount = "1.00" 'credits $1.00
component.Credit()

Note: This method is not available when using the Terminal Capture SettlementMode.

.NET Standard Notes

To call this method in an asynchronous manner call CreditAsync instead. When the method completes (or an error is encountered) the CreditCompleted event will fire.

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