Process ACH

The following information represents the fields required for submitting ACH transactions to the BackOffice. This is an example of building and sending the Request Object.

Request & Response Example


//Build Request Object
BackOffice.ACHProcessRequest req = new BackOffice.ACHProcessRequest();

req.Token.TerminalID = "00000000-0000-0000-0000-000000000000"; 	
req.Token.TerminalKey = "1234567"; 	
req.TestMode = "true";

req.ProfileNumber = "0000000000";                                   

req.Amount = "1.00";                                // Required Field
req.Currency = "USD";                               // Required Field
req.CheckNumber = "12345";                          // Required Field

req.Check.RoutingNumber = "111111118";              // Required Field
req.Check.AccountNumber = "12121214";               // Required Field
req.Check.NameOnAccount = "John Q Doe";             // Required Field

req.Check.Address.Street = "1234 Main Street";      // Required Field
req.Check.Address.City = "Anytown";                 // Required Field
req.Check.Address.State = "TX";                     // Required Field
req.Check.Address.Zip = "99999";                    // Required Field
req.Check.Address.Country = "US";                   // Required Field

req.Check.Phone_1.Number = "214-555-1212";
req.Check.Phone_1.Type = "Home";
req.Check.Phone_2.Number = "214-555-7744";
req.Check.Phone_2.Type = "Work";
req.Check.Identification.IDType = "1";
req.Check.Identification.State = "TX";
req.Check.Identification.Number = "01234567";
req.Check.Identification.Expiration = "12/31/2012";
req.Check.Identification.DOB = "12/31/1956";
req.Check.Identification.Address.Street = "1234 Main Street";
req.Check.Identification.Address.City = "Anytown";
req.Check.Identification.Address.State = "TX";
req.Check.Identification.Address.Zip = "99999";
req.Check.Identification.Address.Country = "US";

req.CustomFields.Field_1 = "Order# 96317";
req.CustomFields.Field_2 = "Customer# A987654";
req.CustomFields.Field_3 = "Rewards# A123456";
req.CustomFields.Field_4 = "";
req.CustomFields.Field_5 = "";
req.CustomFields.Field_6 = "";
req.CustomFields.Field_7 = "";
req.CustomFields.Field_8 = "";
req.CustomFields.Field_9 = "";
req.CustomFields.Field_10 = "";

//Get Response Object
BackOffice.ACHProcessResponse resp = conn.ProcessACH(req);
ShowMessage("Transaction ID", resp.TransactionID);
ShowMessage("Response Code", resp.ResponseCode);
ShowMessage("Date/Time Stamp", resp.DateTimeStamp);
ShowMessage("Accepted", resp.IsAccepted);
ShowMessage("Authorization", resp.AuthorizationNumber);
ShowMessage("Message", resp.Message);