Documents

Retrieves a list of voided checks

get

This endpoint uses the eDoc service to retrieve details of all documents in the voided check category for a specified merchant number. The response provides information such as the Document ID, file name, description, and category details.

Path parameters
merchantNumberstringRequired

Merchant Number used to filter voided checks.

Responses
200

Returns a collection of voided checks successfully.

application/json
get
/api/demographics/v1/Documents/{merchantNumber}/VoidedChecks
GET /api/demographics/v1/Documents/{merchantNumber}/VoidedChecks HTTP/1.1
Host: 
Accept: */*
{
  "content": [
    {
      "category": 1,
      "categoryDescription": "Voided Check",
      "description": "VoidedCheck",
      "documentId": "2f934e9e-ac8c-48e6-b1ec-77baa3e5c247",
      "fileName": "test",
      "merchantNumber": "345685697696",
      "metaData": [
        {
          "metadataKey": "dateuploaded",
          "metadataValue": "01/16/2025 14:25:52"
        }
      ],
      "fileExtension": ".png",
      "dateUploaded": "2025-01-16T14:32:25.3992399Z"
    }
  ]
}

Upload Voided Checks

post

Upload voided check documents for the specified merchant.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

bankAccountIdstringRequired

The unique identifier of the bank account for which the voided check is provided. This value is returned when creating, updating, or retrieving a bank account.

Body
string · byteOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/VoidedChecks
POST /api/demographics/v1/Documents/{merchantNumber}/VoidedChecks?fileName=text&bankAccountId=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 10

"Ynl0ZXM="
text

Upload Voided Check (Base64 Format)

post

Upload a voided check document for the specified merchant by passing the file content in Base64 format.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

bankAccountIdstringRequired

The unique identifier of the bank account for which the voided check is provided. This value is returned when creating, updating, or retrieving a bank account.

Body
stringOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/VoidedChecks/Base64Format
POST /api/demographics/v1/Documents/{merchantNumber}/VoidedChecks/Base64Format?fileName=text&bankAccountId=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
text

Upload Multiple Documents (Base64 Format)

post

Upload a single file containing multiple documents of the same type for the specified merchant in Base64 Format.

Note: Only one Base64 string can be included per request.

For multiple documents of the same type, the request supports attaching metadata to specify the number of documents included (for example, a PDF with several months of statements).

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

documentCategoryinteger · enumOptional

Specifies the category of the document included in the uploaded file. Possible values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Possible values:
countinteger · int32Optional

The number of documents provided in this file

Body
stringOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/MultipleDocuments/Base64Format
POST /api/demographics/v1/Documents/{merchantNumber}/MultipleDocuments/Base64Format?fileName=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
text

Upload Multiple Documents

post

Upload a single file containing multiple documents of the same type for the specified merchant.

Note: If the file contains multiple documents of the same type, you can attach metadata to indicate the number of documents included (for example, a PDF with several months of statements).

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

documentCategoryinteger · enumOptional

Specifies the category of the document included in the uploaded file. Possible values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Possible values:
countinteger · int32Optional

Specifies the total number of documents included in the uploaded file.

Body
string · byteOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/MultipleDocuments
POST /api/demographics/v1/Documents/{merchantNumber}/MultipleDocuments?fileName=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 10

"Ynl0ZXM="
text

Upload Document (Base64 Format)

post

Upload a document for the specified merchant by passing the file content in Base64 format.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

documentCategoryinteger · enumRequired

Specifies the category of the document included in the uploaded file. Possible values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Possible values:
Body
stringOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/Base64Format
POST /api/demographics/v1/Documents/{merchantNumber}/Base64Format?fileName=text&documentCategory=0 HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
text

Get Documents by Category

get

Retrieve documents for the specified merchant filtered by document category.

Note: The category is validated against a predefined whitelist, and only valid categories (for example, Financial = 1, IRS = 2) are processed.

If the provided category is not in the allowed list, the system returns an error and the request is not processed.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
documentCategoryinteger · enumRequired

Specifies the document category for the documents included in the file. Possible values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Possible values:
Responses
200

Returns a collection of documents successfully.

application/json
get
/api/demographics/v1/Documents/{merchantNumber}
GET /api/demographics/v1/Documents/{merchantNumber}?documentCategory=0 HTTP/1.1
Host: 
Accept: */*
{
  "content": [
    {
      "category": 1,
      "categoryDescription": "Voided Check",
      "description": "VoidedCheck",
      "documentId": "2f934e9e-ac8c-48e6-b1ec-77baa3e5c247",
      "fileName": "test",
      "merchantNumber": "345685697696",
      "metaData": [
        {
          "metadataKey": "dateuploaded",
          "metadataValue": "01/16/2025 14:25:52"
        }
      ],
      "fileExtension": ".png",
      "dateUploaded": "2025-01-16T14:32:25.3992399Z"
    }
  ]
}

Upload Document

post

Upload a document for the specified merchant using a standard file upload.

Note: The file must be provided as a single byte array.

Metadata can be attached in the request to indicate additional information such as document category or number of documents.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

documentCategoryinteger · enumRequired

Specifies the category of the document included in the uploaded file. Possible values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Possible values:
Body
string · byteOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}
POST /api/demographics/v1/Documents/{merchantNumber}?fileName=text&documentCategory=0 HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 10

"Ynl0ZXM="
text

Upload Signed Application (Base64 Format)

post

Upload a signed application for the specified merchant by providing the document content in Base64 format.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

Body
filestring | nullableOptional

The signed application document as a Base64-encoded string (Optional).

Example: SGVsbG8gV29ybGQ=
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/SignedApplication/Base64Format
POST /api/demographics/v1/Documents/{merchantNumber}/SignedApplication/Base64Format?fileName=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 85

{
  "mapping": [
    {
      "businessContactId": 1,
      "documentType": "text"
    }
  ],
  "file": "SGVsbG8gV29ybGQ="
}
text

Upload Signed Application

post

Upload a signed application document for the specified merchant.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Query parameters
fileNamestringRequired

Specifies the name of the file to upload.

Body
filestring · byte | nullableOptional
Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/SignedApplication
POST /api/demographics/v1/Documents/{merchantNumber}/SignedApplication?fileName=text HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "mapping": [
    {
      "businessContactId": 1,
      "documentType": "text"
    }
  ],
  "file": "Ynl0ZXM="
}
text

Get a List of Documents

get

Retrieve a list of all documents for the specified merchant.

Note: The documents are grouped by category, and the response provides detailed information for each document.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Responses
200

Returns a collection of documents successfully.

application/json
get
/api/demographics/v1/Documents/{merchantNumber}/List
GET /api/demographics/v1/Documents/{merchantNumber}/List HTTP/1.1
Host: 
Accept: */*
{
  "content": [
    {
      "category": 1,
      "categoryDescription": "Voided Check",
      "description": "VoidedCheck",
      "documentId": "2f934e9e-ac8c-48e6-b1ec-77baa3e5c247",
      "fileName": "test",
      "merchantNumber": "345685697696",
      "metaData": [
        {
          "metadataKey": "dateuploaded",
          "metadataValue": "01/16/2025 14:25:52"
        }
      ],
      "fileExtension": ".png",
      "dateUploaded": "2025-01-16T14:32:25.3992399Z"
    }
  ]
}

Retrieve Document by Document ID

get

Retrieve a specific document for the specified merchant using its unique document ID.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

documentIdstring · uuidRequired

The unique identifier of the document to retrieve. This value is returned when the document is initially uploaded.

Responses
200

OK

application/json
Responsestring · binary
get
/api/demographics/v1/Documents/{merchantNumber}/{documentId}
GET /api/demographics/v1/Documents/{merchantNumber}/{documentId} HTTP/1.1
Host: 
Accept: */*
binary

Delete a Document for a Merchant

delete

Delete a document associated with the specified merchant and document ID.

Note: The request requires proper authorization in accordance with the MID policy.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

documentIdstring · uuidRequired

The unique identifier of the document to retrieve. This value is returned when the document is initially uploaded.

Responses
200

Document is deleted successfully.

No content

delete
/api/demographics/v1/Documents/{merchantNumber}/{documentId}
DELETE /api/demographics/v1/Documents/{merchantNumber}/{documentId} HTTP/1.1
Host: 
Accept: */*

No content

Update Voided Check Bank Account Number

post

Update the bank account number associated with a specific voided check for the specified merchant using documentID.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

documentIdstring · uuidRequired

The unique identifier of the document for which the voided check is provided. This value is returned when creating, updating, or retrieving a document.

Query parameters
bankAccountIdstringRequired

The unique identifier of the bank account.

Responses
200

OK

application/json
Responsestring
post
/api/demographics/v1/Documents/{merchantNumber}/{documentId}/VoidedChecks
POST /api/demographics/v1/Documents/{merchantNumber}/{documentId}/VoidedChecks?bankAccountId=text HTTP/1.1
Host: 
Accept: */*
text

Delete a Voided Check

delete

Delete a voided check document for the specified merchant from the document storage associated with a given bank account.

Note: Once the document is deleted, the corresponding bank account record is also updated to remove the reference to the deleted voided check.

Require proper authorization in accordance with the MID policy.

Path parameters
documentIdstring · uuidRequired

Specifies the unique identifier of the document to retrieve. This value is returned when the document is uploaded.

merchantNumberstringRequired
Query parameters
bankAccountIdstringRequired

Indicates the account for which this voided check was provided. This value will be returned when creating, updating, or retrieving a bank account.

Responses
200

Document is deleted successfully.

No content

delete
/api/demographics/v1/Documents/{merchantNumber}/{documentId}/VoidedChecks
DELETE /api/demographics/v1/Documents/{merchantNumber}/{documentId}/VoidedChecks?bankAccountId=text HTTP/1.1
Host: 
Accept: */*

No content

Was this helpful?