Upload a document to be attached to an application.
Header | Required | Values/Example | Default |
---|---|---|---|
Content-Type | Required | application/x-www-form-urlencoded | |
Authorization | Required | Basic XXX |
Parameter | Type | Param Type | Required | Values/Example | Default |
---|---|---|---|---|---|
id | Path | Int | Required | 1234 | |
Id of the application | |||||
file | Body | File | Required | /Users/username/Downloads/file.png | |
File to be uploaded | |||||
metadata | Body | Object | Required | {"tag":"ID_DOCUMENT", "name": "id_document"} | |
Object that contains the document name and a tag. Possible tag values: SIGNATURE_IMAGE , ID_DOCUMENT , DOCUMENT , OTHER .
|