List document types
Every code you may send as documentCategory for an upload with purpose set to BusinessDocument, with its label, a description of what is acceptable, and the formats and size limit used when the customer's configuration does not list it. Compliance adds codes without a release, so read this list rather than hard-coding it.
Response
documentTypesarrayOne entry per code, grouped by category and ordered by displayOrder.
documentTypes[].codestringSend this as documentCategory.
documentTypes[].displayNamestringdocumentTypes[].categorystringA grouping for display, such as Company formation.
documentTypes[].descriptionstring | nullWhat the document is and what makes it acceptable.
documentTypes[].defaultAllowedFileFormatsstring[]For example ["pdf", "jpg", "jpeg", "png"].
documentTypes[].defaultMaxFileSizeMbintegerAt most 10.
Errors
Only the common errors.