Creating your first transaction

After you have signed up for our sandbox, you're ready to create your first transaction. Creating a basic ACH transaction is super easy. All you need is the bank account information of the person or entity you want to credit or debit. Then decide how much you want to send or receive from their bank account.

var createCheckParams = new CreateCheckParams()
{
  RoutingNumber = "063100277",
  AccountType = AccountType.Checking,
  Amount = 100.0m,
  CheckNumber = "1001",
  AccountNumber = "12345678912345",
  EntryClass = EntryClass.WEB
};
Client client = new Client();
client.BaseUrl = "https://gateway.acheck21.com/GlobalGateway";
client.SetBasicAuth("[email protected]", "notArealpassw0rd");
var check = client.CreateCheckAsync("default", createCheckParams).Result;
var createCheckParams = {
  "accountNumber": "123456787",
  "accountType": "Checking",
  "amount": 12.34,
  "checkNumber": "1001",
  "entryClass": "WEB",
  "routingNumber": "021000021"
}
// direct REST call from Javascript
var username= "[email protected]",
    password = "notArealpassw0rd";

var settings = {
  "async": true,
  "url": "https://gateway.acheck21.com/GlobalGateway/api/v1/checks/default",
  "method": "PUT",
  "headers": {
    	// this header needs to be set on every REST call.
   		"Authorization": "Basic " + btoa(username + ":" + password)
  },
  "processData": false,
  "data" : JSON.stringify(createCheckParams),
  "contentType" : "application/json"
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
CreateCheckParams values = new CreateCheckParams(); // CreateCheckParams | 
values.setAccountNumber("1234567890");
values.setAccountType(AccountType.CHECKING);
values.setAmount(new BigDecimal(100.0));
values.setCheckNumber("1001");
values.setEntryClass(EntryClass.WEB);
values.setRoutingNumber("063100277");

ApiClient defaultClient = Configuration.getDefaultApiClient();
       
HttpBasicAuth auth = (HttpBasicAuth)defaultClient.getAuthentication("basicAuth");
auth.setUsername("[email protected]);
auth.setPassword("notArealpassw0rd");

ChecksApi apiInstance = new ChecksApi();
Check result = apiInstance.createCheck(clientId, values);
System.out.println(result);
ACHCreateCheckParams *values = [[ACHCreateCheckParams alloc] init];

[values setAmount:@100.0];
[values setAccountNumber: @"1234567890"];
[values setEntryClass:@"WEB"];
[values setRoutingNumber:@"063100277"];
[values setCheckNumber:@"1001"];
[values setAccountType:@"Checking"];

ACHConfiguration *config = [ACHConfiguration sharedConfig];
[config setUsername:@"[email protected]"];
[config setPassword:@"notArealpassw0rd"];

ACHChecksApi *apiInstance = [[ACHChecksApi alloc] init];
[apiInstance createCheckWithClientId:@"default"
	values:values
 	completionHandler: ^(ACHCheck* output, NSError* error) {
   	if (output) {
    	NSLog(@"%@", output);
   	}
   	if (error) {
    	NSLog(@"Error calling ACHChecksApi->createCheck: %@", error);
   	}

}];