Credit Method
Credits a previous ACH transaction.
Syntax
[VB.NET] Public Sub Credit(ByVal TransactionId As String, ByVal CreditAmount As String)
[C#] public void Credit(string transactionId, string creditAmount);
Remarks
This method credits a previous ACH authorization. The TransactionId parameter indicates to the Gateway which transaction is to be voided, and should contain the Response TransactionId from the original transaction. The CreditAmount parameter is the value to be credited back to the customer, and can be all or part of the original TransactionAmount. The bank account indicated by RoutingNumber and AccountNumber must be identical to the original authorized transaction.
The following gateways support credit transactions:
Authorize.Net | |
ECX | |
Heartland | |
MPCS | |
Netbanx | |
Netbilling | |
PayTrace | "Refund" transaction is performed. |
Planet Payment | |
RTWare | |
TransNationalBankcard | "Refund" transaction is performed. |
TrustCommerce | |
USAePay | |
ACH Federal | When a TransactionId is specified, a "Void" transaction will be performed. When "" (empty string) is specified for TransactionId, a "Credit" transaction will be performed. |