deleteDocument

abstract fun deleteDocument(documentId: String, onSuccess: (String) -> Unit, onError: (String) -> Unit)

Delete Document from Veryfi

Parameters

documentId

ID of the document you'd like to delete.

onSuccess

Async callback in success case.

onError

Async callback in error case.