Handling orders
This chapter covers the full lifecycle of an order: creating it, checking its progress, retrieving the resulting data in various formats, and cleaning up afterwards.
Order lifecycle
- Creating Orders —
putOrdercreates a new identification and/or eSign order. Covers required and optional request fields, product/behavior flags, and the response containing theOrderIDand the URL to redirect the user to. - Checking the status of orders —
getStatusreports the current status codes of an order, including the distinction between normal/extended and final/non-final codes, and the full list of status and sub-status codes.
Retrieving results
- Retrieving identification results in JSON format —
getIdentDatareturns the checked/initial identification data for a finally processed order. - Retrieving identification results as a PDF —
getIdentDataPDFreturns the same data as a PDF document, including images by default. - Retrieving signed documents —
getESignPDFreturns the processed/signed eSign PDF document(s) for an order. - Retrieving signing hashes —
getESignHashreturns the hashes of the processed/signed documents instead of the full PDFs. - Retrieving AES audit log file —
getESignAuditLogPDFreturns the audit log for AES (Advanced Electronic Signature) orders. - Retrieving recorded images —
getImagesreturns the images recorded during identification separately from the rest of the identification data. - Retrieving video binary files after provision —
getVideoFileBinaryreturns the recorded video of a video identification session. - Retrieving audio binary files —
getVoiceFilesreturns the audio recording used in countries where an audio-only identification is sufficient.
Cleanup and lookup
- Working with incomplete Orders —
covers timeouts for incomplete orders and
cancelOrderto stop an open order from being processed. - Deleting identification data —
delIdentdataremoves the stored result data of a finally processed order. - Retrieving OrderIDs for given Ref —
getOrdersByReflooks up theOrderID(s) matching your internalReffrom the last 90 days.