Use this endpoint to get the applicant's documents from the Diia app and start a verification. The applicant does not need to take a photo of a document. Diia sends digital copies of the documents and their data.
By default, our system requests these documents: internal passport (ID card), foreign passport, and taxpayer card.
How it works
- You send a request with the ID of a form that has Diia settings and the ID of the applicant.
- Our system returns
confirmation_urlandverification_id.confirmation_urlis a deep link to the Diia app. - You show the link to the applicant. The applicant opens it and confirms the sharing in Diia.
- Our system updates the applicant profile (name, date of birth, gender, residence country), adds the identity document, the tax ID number document, and the registered address.
- Our system creates a verification with the verification types of the form and sends the "Verification completed" callback when the verification is completed.
To check the progress of the sharing on the Diia side, use Diia document sharing status.
Security
API-Key
ID of the form that has Diia settings. Our system uses the verification types, callback URL, and redirect URL of this form
Example:"a1b2c3d4e5f60718293a4b5c6d7e8f901234"
- https://api.kycaid.comhttps://api.kycaid.com/services/ua/diia/sharing
{ "form_id": "a1b2c3d4e5f60718293a4b5c6d7e8f901234", "applicant_id": "0f1e2d3c4b5a69788796a5b4c3d2e1f00123", "redirect_url": "https://example.com/diia/done" }
Response
{ "status": "ok", "data": { "applicant_id": "0f1e2d3c4b5a69788796a5b4c3d2e1f00123", "verification_id": "9a8b7c6d5e4f30211203f4e5d6c7b8a90123", "confirmation_url": "https://diia.example.com/deep-link/00000000" } }