Before creating a transaction, you may need to know if your participant has a valid certificate. The certificate has to be neither expired nor revoked.
To know if your participant has at least one valid certificate to perform an advanced signatre, send a request to POST /v1/certificates/match
and pass the participant email
.
curl
https://api.universign.com/v1/certificates/match \
-d email=john@company.com \
You can set the following optional arguments:
min_certificate_level
: The minimum certificate level required for the match. Possible values arelcp
(Lightweight Certificate Policy),qcp
(Qualified Certificate Policy) andqcpnqscd
(Qualified Certificate Policy for Natural persons with keys generated in a QSCD).fullname
: the participant full name.phone_number
: the participant phone number.
The API returns a certificate
object with true
value if at least one valid certificate is matching all constraints provided as query parameters.
{
"match_found": true
}