Saltar al contenido principal

uploadDocument

Returns a pre-signed URL to upload the file of a PENDING document. Send the file with an HTTP PUT and the same Content-Type before expiresAt (15 minutes). After the upload, the document moves to PROCESSING or APPROVAL_REQUIRED. Fails when the document is not PENDING. Arguments: - id: ID of the document, from createDocument. - contentType: MIME type of the file: application/pdf, image/jpeg, image/png or image/tiff. Other values fail.

uploadDocument(
id: ID!
contentType: String!
): UploadFile!

Arguments​

uploadDocument.id ● ID! non-null scalar​

uploadDocument.contentType ● String! non-null scalar​

Type​

UploadFile object​

Pre-signed URL to upload a file to MONEI.