# QES

Let the applicant sign verification documents with a qualified electronic signature (QES).
Two Ukrainian signing methods are available: SmartID of PrivatBank and Diia.Signature in the Diia app.
**Before you start**
- QES must be enabled for the form.
- The verification must have documents to sign.

**How it works**
1. You call the
**Start**
 endpoint of the signing method with the ID of the verification. Our system prepares the documents and returns
`confirmation_url`
. This can take up to 60 seconds. If you send a second request while the first one is in progress, our system returns the same
`confirmation_url`
.
2. You show
`confirmation_url`
 to the applicant. The applicant signs the documents.
3. You call the
**Get status**
 endpoint until
`status`
 is
`signed`
. One request can take up to 60 seconds.
4. Our system saves the signed documents, charges the QES service, and sends the "
**Signed documents**
" callback. If the verification is not completed yet, our system sends the callback after the verification is completed.

 - [POST /services/ua/smartid/start](https://docs.kycaid.com/risks-check/qes/qes-smartid-start.md): Use this endpoint to start signing with SmartID of PrivatBank. Our system returns `confirmation_url`. Show it to the applicant, then call [SmartID • Get status](#operation/qes-smartid-get-status) to g
 - [POST /services/ua/smartid/status](https://docs.kycaid.com/risks-check/qes/qes-smartid-get-status.md): Use this endpoint to get the result of signing after you call [SmartID • Start](#operation/qes-smartid-start). Call it until `status` is `signed`.
 - [POST /services/ua/diia-signature/start](https://docs.kycaid.com/risks-check/qes/qes-diia-signature-start.md): Use this endpoint to start signing with Diia.Signature in the Diia app. Our system returns `confirmation_url`. Show it to the applicant, then call [Diia.Signature • Get status](#operation/qes-diia-sig
 - [POST /services/ua/diia-signature/status](https://docs.kycaid.com/risks-check/qes/qes-diia-signature-get-status.md): Use this endpoint to get the result of signing after you call [Diia.Signature • Start](#operation/qes-diia-signature-start). Call it until `status` is `signed`.
