Get document requirements
The documents this business must upload, for its business type, from the onboarding configuration it was held to when it started onboarding. A configuration Compliance publishes later does not change this list for a business already started. A business not yet held to a configuration is held on this first read to the one active at that moment.
Upload each documentTypeCategory with Request upload link, with purpose set to BusinessDocument and the code as documentCategory, at most maxFileSizeMB and in one of allowedFormats: these are this business's limits. The format is checked when you request the link; the size is checked when the file reaches storage, and a larger file is not accepted. This route says what is required, not what has been uploaded.
Path
customerIduuidpathrequiredFrom Create business profile.
Response
requiredDocumentsarrayOrdered by displayOrder.
requiredDocuments[].documentTypeCategorystringSend this as documentCategory, with purpose set to BusinessDocument.
requiredDocuments[].labelstringThe document's name, to show to the business.
requiredDocuments[].descriptionstring | nullWhat the document is and what it must show.
requiredDocuments[].categorystring | nullThe group the document belongs to, for example Company formation. Use it to group the list.
requiredDocuments[].forBusinessTypebooleantrue when the document is asked only because of the business's type, not of every business.
requiredDocuments[].isRequiredbooleanOptional documents never block submission.
requiredDocuments[].minimumDocumentsintegerrequiredDocuments[].maximumDocumentsintegerrequiredDocuments[].allowedFormatsstring[]requiredDocuments[].maxFileSizeMBintegerAt most 10. Checked when the file reaches storage; no size is sent with the upload link request.
businessTypeCodestring | nullThe business type the list was chosen for. null when the business has none recorded.
businessTypeNamestring | nullrequiredCountintegerHow many documents have isRequired set. optionalCount counts the rest.
configurationVersionuuidThe configuration this business is held to.
customerTypeinteger1 for a business.
Errors
| Code | HTTP | When |
|---|---|---|
Customer.NotFound | 404 | No customer with this id exists. |
Customer.NotBusiness | 400 | The id belongs to a non-business customer. |
Partner.NotAuthorized | 403 | The customer belongs to a different partner. |
OnboardingConfig.NotFoundForCustomer | 404 | No requirements are configured for the business's country yet. Contact support. |
OnboardingConfig.HighRiskCountryRequiresSetup | 409 | The business's country needs its own onboarding setup first. Contact support. |