credit Method
Credits a previous ACH transaction.
Syntax
def credit(transaction_id: str, credit_amount: str) -> None: ...
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_transaction_id 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 transaction_amount. The bank account indicated by bank_routing_number and bank_account_number 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. |