Reference / @getenginex/sdk / UploadKycDocumentInput
UploadKycDocumentInput
Document for KycApi.uploadDocument.
Properties
documentType
documentType:
KycDocumentType
Which document it is.
file
file:
Blob
The file: a File (e.g. from an <input type="file">, with the name preserved) or any Blob (e.g. in Node, new Blob([buffer], { type: 'image/jpeg' })). The SDK does not limit size or format; we recommend up to 4 MB in JPEG, PNG or PDF.