This is an old revision of the document!
Used to run a new transaction.
This object contains the data needed to run a new transaction, including sale, credit, void and authonly.
|string||Command||Processing Command. Possible values are: sale, credit, void, creditvoid, authonly, capture, postauth, check and checkcredit. Default is sale.|
|boolean||IgnoreDuplicate||Do not check for duplicate transaction. Set to “true” if you would like to override the duplicate transaction handling.|
|string||AuthCode||Original Authorization Code. Authorization Code obtained “offline” (ie telephone authorization). Only required for PostAuth.|
|string||RefNum||Original Transaction Reference Number. The RefNum received when a transaction was authorized via either the “sale” or “authonly” commands. Required for void and capture commands only.|
|string||AccountHolder||Name of the account holder.|
|TransactionDetail||Details||Transaction details: amount, clerk, currency, etc.|
|CreditCardData||CreditCardData||CreditCardData. Required for credit card transactions.|
|CheckData||CheckData||CheckData. Required for electronic check processing.|
|string||ClientIP||IP Address of client.|
|boolean||CustReceipt||Customer Receipt. Set to “true” if you would like the gateway to send an email to customer's billing address email.|
|string||Software||Software Name/version. Allows application developers to stamp their application name and version number onto each transaction. Used to assist customers with trouble shooting. Not Required.|
|RecurringBilling||RecurringBilling||RecurringBilling. Object describing if recurring billing cycle should be created if initial transaction is approved.|
usaepay.TransactionRequestObject tran = new usaepay.TransactionRequestObject(); tran.Command = "cc:sale"; tran.Details = new usaepay.TransactionDetail(); tran.Details.Amount = 1.00; tran.Details.AmountSpecified = true; tran.Details.Invoice = "1234"; tran.Details.Description = "Example Transaction"; tran.CreditCardData = new usaepay.CreditCardData(); tran.CreditCardData.CardNumber = "4444555566667779"; tran.CreditCardData.CardExpiration = "0909";