The ability to upload documents via the API is currently in a limited release, and the API is subject to change.

Returned directly or within a successful result object from the following requests:

getContentType() string

The content type of the uploaded document.

getExpiresAt() Calendar

Uploaded documents are not stored permanently. The file will be deleted after this date.

getId() string

The unique ID used to identify the uploaded document.

getKind() multiple

The type of uploaded document. Value will always be EVIDENCE_DOCUMENT.

getName() string

The filename (including extension) of the uploaded document.

getSize() int

The size of the uploaded document in bytes.