Developer Portal

4 Appendix B: Input File Format

General Notes:

  • Empty lines are ignored.
  • Comment lines beginning with “#” are ignored.
  • A <Newline> can either be /n or /r/n/
  • A minimum field length of 0 means the field is not required

 

 

 

4.1 Delimiter

4.2 Credit Card Requests with Token

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# Sample file template with token
delimiter ;
<Command>;<Source Id>;<Token>;<ECI Type>;<Amount>;<Tax Amount>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree>
# Sample Sale file
delimiter ;
CCSaleToken;20;010000344;1;120000;0;test1;test2;test3
# Sample Authorize file
delimiter ;
CCAuthorizeToken;20;010000344;1;120000;0;test1;test2;test3
# Sample Credit file
delimiter ;
CCCreditToken;20;010000344;1;120000;0;test1;test2;test3
# Sample file template with token delimiter ; <Command>;<Source Id>;<Token>;<ECI Type>;<Amount>;<Tax Amount>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree> # Sample Sale file delimiter ; CCSaleToken;20;010000344;1;120000;0;test1;test2;test3 # Sample Authorize file delimiter ; CCAuthorizeToken;20;010000344;1;120000;0;test1;test2;test3 # Sample Credit file delimiter ; CCCreditToken;20;010000344;1;120000;0;test1;test2;test3
# Sample file template with token
delimiter ;
<Command>;<Source Id>;<Token>;<ECI Type>;<Amount>;<Tax Amount>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree>

# Sample Sale file
delimiter ; 
CCSaleToken;20;010000344;1;120000;0;test1;test2;test3

# Sample Authorize file
delimiter ; 
CCAuthorizeToken;20;010000344;1;120000;0;test1;test2;test3

# Sample Credit file
delimiter ; 
CCCreditToken;20;010000344;1;120000;0;test1;test2;test3

 

4.3 Existing Credit Card Requests with Token**

** Not Supported in this release.

Example Existing Credit Card Request with Token

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# Sample file template with token
delimiter ;
<Command>;<Transaction Id>
# Sample Void file
delimiter ;
CCVoid;<Transaction Id>
# Sample Credit file
delimiter ;
CCCapture;<Transaction Id>
# Sample file template with token delimiter ; <Command>;<Transaction Id> # Sample Void file delimiter ; CCVoid;<Transaction Id> # Sample Credit file delimiter ; CCCapture;<Transaction Id>
# Sample file template with token
delimiter ;
<Command>;<Transaction Id>

# Sample Void file
delimiter ; 
CCVoid;<Transaction Id>

# Sample Credit file
delimiter ; 
CCCapture;<Transaction Id>

 

4.4 Non-tokenized Credit Card Requests

 Example Credit Card Request

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# Sample file template with token delimiter ;
<Command>;<Source Id>;<Account>;<Expiration>;<ECI Type>;<Amount>; <Tax);<FirstName>;<LastName>;<Address>;<City>;<State>;<Zip>;
<Phone>;<Email>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree>
# Sample Sale file delimiter ;
CCSaleAccount;20;4012888888881881;1121;1;120000;0;John;Doe;222 Rosewood;Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;
test3
# Sample Authorize file delimiter ;
CCAuthorizeAccount;20;4012888888881881;1121;1;120000;0;John;Doe; 222 Rosewood; Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;test3
# Sample Credit file delimiter ;
CCCreditAccount;20;4012888888881881;1121;1;120000;0;John;Doe; 222 Rosewood; Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;test3
# Sample file template with token delimiter ; <Command>;<Source Id>;<Account>;<Expiration>;<ECI Type>;<Amount>; <Tax);<FirstName>;<LastName>;<Address>;<City>;<State>;<Zip>; <Phone>;<Email>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree> # Sample Sale file delimiter ; CCSaleAccount;20;4012888888881881;1121;1;120000;0;John;Doe;222 Rosewood;Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2; test3 # Sample Authorize file delimiter ; CCAuthorizeAccount;20;4012888888881881;1121;1;120000;0;John;Doe; 222 Rosewood; Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;test3 # Sample Credit file delimiter ; CCCreditAccount;20;4012888888881881;1121;1;120000;0;John;Doe; 222 Rosewood; Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;test3
# Sample file template with token delimiter ;
<Command>;<Source Id>;<Account>;<Expiration>;<ECI Type>;<Amount>; <Tax);<FirstName>;<LastName>;<Address>;<City>;<State>;<Zip>;
<Phone>;<Email>;<CustomFieldOne>;<CustomFieldTwo>;<CustomFieldThree>

# Sample Sale file delimiter ; 
CCSaleAccount;20;4012888888881881;1121;1;120000;0;John;Doe;222 Rosewood;Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;
test3


# Sample Authorize file delimiter ; 
CCAuthorizeAccount;20;4012888888881881;1121;1;120000;0;John;Doe; 222 Rosewood; Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;test3

# Sample Credit file delimiter ; 
CCCreditAccount;20;4012888888881881;1121;1;120000;0;John;Doe; 222 Rosewood; Danvers;MA;01923;8004579932;support@Paywaycomplete.com;test1;test2;test3

 

4.5 Non-tokenized Existing Credit Card Requests**

Example Existing Credit Card Request

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# Sample file template with token delimiter ;
<Command>;<Transaction Id>
# Sample Void file delimiter ;
CCVoid;<Transaction Id>
# Sample Credit file delimiter ;
CCCapture;<Transaction Id>
# Sample file template with token delimiter ; <Command>;<Transaction Id> # Sample Void file delimiter ; CCVoid;<Transaction Id> # Sample Credit file delimiter ; CCCapture;<Transaction Id>
# Sample file template with token delimiter ;
<Command>;<Transaction Id>

# Sample Void file delimiter ; 
CCVoid;<Transaction Id>

# Sample Credit file delimiter ; 
CCCapture;<Transaction Id>

 

4.6 ACH Requests with Token**

Intentionally Blank

** Not Supported in this release.

4.7 Non-tokenized ACH Requests**

Intentionally Blank

** Not Supported in this release.

4.8 Create Token Requests**

** Not Supported in this release.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# Sample file template with token delimiter ;
<Command>;<Account>;<Expiration>; <FirstName>;<LastName>;<Address>;<City>;<State>;<Zip>;<Phone>;
<Email>;<CustomNotesOne>;<CustomNotesTwo>;<CustomNotesThree>
# Sample Sale file delimiter ;
CCCreatetoken;4012888888881881;1121;John;Doe; 222 Rosewood;Danvers;
MA;01923; 8004579932;support@Paywaycomplete.com;test1;test2;test3
# Sample file template with token delimiter ; <Command>;<Account>;<Expiration>; <FirstName>;<LastName>;<Address>;<City>;<State>;<Zip>;<Phone>; <Email>;<CustomNotesOne>;<CustomNotesTwo>;<CustomNotesThree> # Sample Sale file delimiter ; CCCreatetoken;4012888888881881;1121;John;Doe; 222 Rosewood;Danvers; MA;01923; 8004579932;support@Paywaycomplete.com;test1;test2;test3
# Sample file template with token delimiter ;
<Command>;<Account>;<Expiration>; <FirstName>;<LastName>;<Address>;<City>;<State>;<Zip>;<Phone>;
<Email>;<CustomNotesOne>;<CustomNotesTwo>;<CustomNotesThree>

# Sample Sale file delimiter ; 
CCCreatetoken;4012888888881881;1121;John;Doe; 222 Rosewood;Danvers;
MA;01923; 8004579932;support@Paywaycomplete.com;test1;test2;test3

 

Subscribe

Every post in your inbox