createDocument
Creates a new document.
Return
A newly created document.
Parameters
User-facing name of this specific Document instance, e.g. "John's Passport", or null.
User-facing name of this document type, e.g. "Utopia Passport", or null.
An image that represents this document to the user in the UI. Generally, the aspect ratio of 1.586 is expected (based on ID-1 from the ISO/IEC 7810). PNG format is expected and transparency is supported.
An image that represents the issuer of the document in the UI, e.g. passport office logo. PNG format is expected, transparency is supported and square aspect ratio is preferred.
Saved authorization data to refresh credentials, possibly without requiring user to re-authorize.
Application-specific data.
The time the document was created.
A list of reader identifiers for reader authentication.
initial value for Document.metadata