Submit Distribution File

This method is used to submit a file to be processed for an ACH distribution. To get a current template, please email tech-support@northcapital.com

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer Key
accountId yes string Account ID that is generated by the API once an account is created(createAccount)
templateType yes string Customer Entry or Account ID
file_name yes string Uploaded file name. Please use prefix "filename0=" in the value of file_name field
userfile yes string ONLY CSV files can be uploaded. When uploading, please provide a temporary file name. Prefix @ on the file name. Eg : @/tmp/phpAHi2ZC Request parameter should be userfile0 for documents upload.Refer to the Sample Request set below
createdIpAddress yes string IP Address associated with the submitDistributionFile method call.

Sample Request

curl -k -X POST https://api.norcapsecurities.com/tapiv3/index.php/v3/submitDistributionFile
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d accountId=A12345
-d templateType=test
-d file_name=Uploaded file name
-d userfile=@/tmp/phpAHi2ZC
-d createdIpAddress=10.0.0.9

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
distributionFileDetails string Array from file including a unique distribution Id for each entry
distributionFileReferenceNumber string Unique reference number for the distribution file

Sample Response

{
  "statusCode": "101",
  "statusDesc": "Ok",
  "TradeFinancialDetails": {
		"distributionFileDetails": {
                   accountnumber:A56487,
                  distributionId:8513244964
                   },{
                     accountnumber:A56487,
                  distributionId:8513244964
                   },
		"distributionFileReferenceNumber": "9876454754",
}
}
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

Custodial Account