ACHFilesApi - object-oriented interface

ACHFilesApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Append a Batch record to the specified File.

    Parameters

    • fileID: string

      File ID

    • batch: Batch
    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system's logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

    Append Batch to File

    ACHFilesApi

  • Assembles the existing File (batches and controls) records, computes sequence numbers and totals. Returns JSON formatted file.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<any>>

    Build File

    ACHFilesApi

  • Validates the existing File. You need only supply the unique File identifier that was returned upon creation.

    Parameters

    • fileID: string

      File ID

    • OptionalskipAll: boolean

      Optional parameter to disable all validation checks for a File

    • OptionalrequireABAOrigin: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassOriginValidation: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassDestinationValidation: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalcustomTraceNumbers: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowZeroBatches: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowMissingFileHeader: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowMissingFileControl: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalbypassCompanyIdentificationMatch: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalcustomReturnCodes: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalunequalServiceClassCode: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowUnorderedBatchNumbers: boolean

      Allow a file to be read with unordered batch numbers.

    • OptionalallowInvalidCheckDigit: boolean

      Allow the CheckDigit field in EntryDetail to differ from the expected calculation

    • OptionalunequalAddendaCounts: boolean

      Optional parameter to configure UnequalAddendaCounts validation

    • OptionalpreserveSpaces: boolean

      Optional parameter to save all padding spaces

    • OptionalallowInvalidAmounts: boolean

      Optional parameter to save all padding spaces

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Error>>

    Validate File

    ACHFilesApi

  • Create a new File object from either the plaintext or JSON representation.

    Parameters

    • fileID: string

      File ID

    • body: string

      Content of the ACH file (in json or raw text)

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • OptionalskipAll: boolean

      Optional parameter to disable all validation checks for a File

    • OptionalrequireABAOrigin: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassOrigin: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassOriginValidation: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassDestination: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalbypassDestinationValidation: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalcustomTraceNumbers: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowZeroBatches: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowMissingFileHeader: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowMissingFileControl: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalbypassCompanyIdentificationMatch: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalcustomReturnCodes: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalunequalServiceClassCode: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalunorderedBatchNumbers: boolean

      Allow a file to be read with unordered batch numbers.

    • OptionalallowUnorderedBatchNumbers: boolean

      Allow a file to be read with unordered batch numbers.

    • OptionalallowInvalidCheckDigit: boolean

      Allow the CheckDigit field in EntryDetail to differ from the expected calculation

    • OptionalunequalAddendaCounts: boolean

      Optional parameter to configure UnequalAddendaCounts validation

    • OptionalpreserveSpaces: boolean

      Optional parameter to save all padding spaces

    • OptionalallowInvalidAmounts: boolean

      Optional parameter to save all padding spaces

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<CreateFileResponse>>

    Create File

    ACHFilesApi

  • Permanently deletes a File and associated Batches. It cannot be undone.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

    Delete File

    ACHFilesApi

  • Delete a Batch from a File.

    Parameters

    • fileID: string

      File ID

    • batchID: string

      Batch ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

    Delete Batch

    ACHFilesApi

  • Consolidate Batches and Entries into the minimum number of Batches needed.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<FlattenFileResponse>>

    Flatten Batches

    ACHFilesApi

  • Get a specific Batch on a File.

    Parameters

    • fileID: string

      File ID

    • batchID: string

      Batch ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Batch>>

    Get Batch

    ACHFilesApi

  • Get the Batches on a File.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Batch[]>>

    Get Batches

    ACHFilesApi

  • Get the details of an existing File using the unique File identifier that was returned upon creation.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<any>>

    Retrieve File

    ACHFilesApi

  • Assembles the existing File (batches and controls) records, computes sequence numbers and totals. Returns plaintext file.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • OptionalxLineEnding: "LF" | "CRLF"

      Optional Line Ending allows application developer to alter line ending of the file data returned. Supported choices are LF (Line Feed) and CRLF (Carriage Return Line Feed).

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<string>>

    Get File Contents

    ACHFilesApi

  • List all ACH Files created with the ACH service. These Files are not persisted through multiple runs of the service.

    Parameters

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<any[]>>

    List Files

    ACHFilesApi

  • Check if the ACH service is running.

    Parameters

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

    Ping ACH service

    ACHFilesApi

  • Split one File into two. One with only debits and one with only credits.

    Parameters

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionalbody: string

      ACH file (in Nacha or JSON formatting) along with optional segment configuration

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<SegmentedFiles>>

    Segment File

    ACHFilesApi

  • Split one FileID into two. One with only debits and one with only credits.

    Parameters

    • fileID: string

      File ID

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • Optionalbody: any

      Optional configuration for segmenting files

    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<SegmentedFiles>>

    Segment FileID

    ACHFilesApi

  • Validates the existing File. You need only supply the unique File identifier that was returned upon creation.

    Parameters

    • fileID: string

      File ID

    • OptionalskipAll: boolean

      Optional parameter to disable all validation checks for a File

    • OptionalrequireABAOrigin: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassOriginValidation: boolean

      Optional parameter to configure ImmediateOrigin validation

    • OptionalbypassDestinationValidation: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalcustomTraceNumbers: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowZeroBatches: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowMissingFileHeader: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowMissingFileControl: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalbypassCompanyIdentificationMatch: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalcustomReturnCodes: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalunequalServiceClassCode: boolean

      Optional parameter to configure ImmediateDestination validation

    • OptionalallowUnorderedBatchNumbers: boolean

      Allow a file to be read with unordered batch numbers.

    • OptionalallowInvalidCheckDigit: boolean

      Allow the CheckDigit field in EntryDetail to differ from the expected calculation

    • OptionalunequalAddendaCounts: boolean

      Optional parameter to configure UnequalAddendaCounts validation

    • OptionalpreserveSpaces: boolean

      Optional parameter to save all padding spaces

    • OptionalallowInvalidAmounts: boolean

      Optional parameter to save all padding spaces

    • OptionalxRequestID: string

      Optional Request ID allows application developer to trace requests through the system&#39;s logs

    • OptionalvalidateOpts: ValidateOpts
    • Optionaloptions: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Error>>

    Validate File (Custom)

    ACHFilesApi