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 or qualified signature, send a request to POST /v1/certificates/match and pass the participant email.
curl
https://api.universign.com/v1/certificates/match \
-d [email protected] \
You can set the following optional arguments:
- min_certificate_level: The minimum certificate level required for the match. Possible values are- lcp(Lightweight Certificate Policy),- qcp(Qualified Certificate Policy) and- qcpnqscd(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
}
