Skip to content

Application Documents

Fetch all documents for a given Credit Application

Use this API to retrieve all documents associated with a given application excluding signed documents.

GET https://arc-aegis.billtrust.com/creditappcore/api/v1/tenants/{tenantId}/creditapplications/{applicationId}/documents/metadata

  • {applicationId} unique identifier for a credit application

Example:

curl -X GET 'https://arc-aegis.billtrust.com/creditappcore/api/v1/tenants/{tenantId}/creditapplications/{applicationId}/documents/metadata'
   -H 'Content-Type: application/json' \
   -H 'Accept: application/json' \
   -H 'X-Billtrust-Api-Key: <API key value>'

Response Payload (List of Documents)

[
  {
    "documentId": "String",
    "documentPreSignedURL": "String",
    "fileName": "String",
    "contentType": "String"
  }
]
  • documentId Unique indentifier for the document
  • documentPreSignedURL Document download URL. The url has an expiration period associated with it.
  • fileName Eg:- stateTaxCert.pdf
  • contentType MIME type of the document

Use the presigned URL to download the file.

The public Swagger Api can be found at: https://swagger-ui.aws-prod.billtrust.com/?urls.primaryName=Creditapp%20core%20service%20v1#/Application_Documents/getTenantApplicationDocumentsMetaData