Verify API overview
Nexiel Verify requests credentials from EU Digital Identity Wallets over OpenID4VP 1.0, verifies them, and returns a decision your backend can act on. Every product that reads a wallet, from age checks to signing approval, runs on these sessions.
New here? The quickstart runs a complete verification in test mode in 5 minutes. For what an EUDI wallet is, read EU Digital Identity Wallets.
How it works
- Your backend creates a session with
POST /v1/verify/sessions, using an access token and an Idempotency-Key. - The wallet receives a signed request by QR code, redirect or the browser's Digital Credentials API, and answers Nexiel directly with an encrypted presentation. See Verification sessions.
- Nexiel checks signatures, the issuer's trust and revocation (see Credentials, signatures and revocation) and records a decision.
- You read the decision with
GET /v1/verify/sessions/{sessionId}or receive it by webhook.
curl -s -X POST https://compliance.nexiel.io/v1/verify/sessions \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"clientId":"quickstart","checkType":"age-verification"}'import { randomUUID } from 'node:crypto';
const response = await fetch('https://compliance.nexiel.io/v1/verify/sessions', {
method: 'POST',
headers: {
Authorization: `Bearer ${accessToken}`,
'Idempotency-Key': randomUUID(),
'Content-Type': 'application/json',
},
body: JSON.stringify({"clientId":"quickstart","checkType":"age-verification"}),
});
const session = await response.json();import uuid
response = requests.post(
"https://compliance.nexiel.io/v1/verify/sessions",
headers={
"Authorization": f"Bearer {access_token}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={"clientId": "quickstart","checkType": "age-verification"},
timeout=10,
)
response.raise_for_status()
session = response.json()Check types
The checkType decides which claims the wallet is asked for. Each requests only the claims its purpose needs.
| checkType | What the wallet is asked for | Result | Guide |
|---|---|---|---|
age-verification | The EU age attestation’s age_over_18, or the PID birth date (SD-JWT VC or mdoc). | ageOver18 | Age verification |
restricted-purchase-alcohol-18, restricted-purchase-tobacco-18, restricted-purchase-lottery-18 | The same over-18 proof, for a purchase in a country you name with countryCode. | ageOver18ForRestrictedPurchase | In-store age verification |
aml-identity | PID given_name, family_name, birthdate and nationalities, screened for sanctions and PEP. | claimsVerified, amlResult, an evidence pack | This page |
str-guest-registration | PID identity attributes plus document_number, for short-term rental guest registers. | claimsVerified, an evidence pack | This page |
mobile-driving-licence | An ISO/IEC 18013-5 mobile driving licence. | Boolean proofs, an evidence pack | Mobile driving licence |
corporate-mandate-verification | A signatory rights attestation for a company. | Boolean proofs, an evidence pack | Corporate mandates |
sca-payment, sca-login, sca-account-access, sca-emandate | A bank-issued SCA attestation, signing over transaction data. | scaAuthentication, transactionDataBinding | Strong customer authentication |
login-authentication | The PID birth date, for a standing login session. | Used through Nexiel Login, not called directly | Sign in with EUDI Wallet |
In live mode, some check types are enabled per organization: a session for one that is not enabled returns 403 checktype_entitlement_denied. Test keys can try every check type. Nexiel Sign and Nexiel Seal start their own approval sessions for you.
Example: age verification
The wallet answers with the EU age attestation's age_over_18 where it holds one, or with the PID birth date. Nexiel computes ageOver18 and discards the birth date immediately. Only the boolean is returned or stored.
{
"sessionId": "f1be0a07-e161-4827-a4c3-3337952859ff",
"clientId": "docs-example-client",
"checkType": "age-verification",
"templateVersion": "age-verification@3",
"livemode": false,
"status": "completed",
"createdAt": "2026-11-13T10:00:00.000Z",
"expiresAt": "2026-11-13T10:10:00.000Z",
"metadata": {},
"sandboxWalletUrl": null,
"decision": {
"method": "eudi_wallet",
"booleanProofs": {
"ageOver18": true
},
"amlResult": null,
"pepFlag": null,
"sanctionedFlag": null,
"listsChecked": [],
"humanReviewRequired": false,
"frozenDecisionArtifact": null,
"screeningCandidates": null,
"credentialMechanism": "pid_sd_jwt_vc",
"evidencePackStatus": "not_applicable",
"evidencePackDelivery": null,
"issuerCertificateStatus": {
"status": "good",
"handling": "accepted"
},
"credentialStatus": {
"status": "valid",
"mechanism": "status_list",
"handling": "accepted",
"unavailableReason": null
},
"transactionDataBinding": null,
"scaAuthentication": null,
"trustPolicy": {
"versionId": null,
"sha256": "9b1f0d6c2a4e8f3b7c5d1e9a0f2b4c6d8e1f3a5b7c9d0e2f4a6b8c0d1e3f5a7b",
"trustSource": "eu_pid_providers",
"issuerJurisdiction": null,
"trustAnchorSha256": null,
"issuerRegistration": null
},
"decidedAt": "2026-11-13T10:01:12.000Z"
}
}Example: AML identity check Possible match
With "checkType": "aml-identity", the wallet discloses given_name, family_name, birthdate and nationalities, and the holder is screened with the same matching engine as Nexiel Screen. The wallet's reply carries only a redirect_uri, so the person being screened never sees the outcome on their device. This test-mode example shows a name that resembles a sandbox list entry with a different date of birth: close enough to surface, and never auto-cleared or auto-confirmed.
{
"sessionId": "4fc1ad3c-a197-4b09-bc62-68842fc69947",
"clientId": "my-shop",
"checkType": "aml-identity",
"templateVersion": "aml-identity@2",
"livemode": false,
"status": "completed",
"createdAt": "2026-11-13T10:00:00.000Z",
"expiresAt": "2026-11-13T10:10:00.000Z",
"decision": {
"method": "eudi_wallet",
"booleanProofs": {
"claimsVerified": true
},
"amlResult": "POSSIBLE_MATCH",
"pepFlag": false,
"sanctionedFlag": true,
"listsChecked": [
"sandbox"
],
"humanReviewRequired": true,
"frozenDecisionArtifact": {
"engineVersion": "0.3.0+src.024c0eba57c8",
"gatesHash": "77891dec4b1ff667af1be0181d9bd7d7c9a2529ba1611ed31a3f3cb25236aa43",
"ensembleWeightsHash": "4a2723f74864b3371c860bbb93c3d6fbfde7dcc21e99e1242ddad3ff366cf69d",
"listSnapshotIds": []
},
"screeningCandidates": [
{
"entityId": "7a1d2c3e-4b5f-4a6b-8c7d-9e0f1a2b3c4d",
"source": "sandbox",
"listRef": "SANDBOX-17",
"entityType": "INDIVIDUAL",
"isPep": false,
"pepCategory": null,
"pepFunctionalCategory": null,
"pepStatus": null,
"pepJurisdiction": null,
"linkedPeps": [],
"matchedVia": [
"levenshtein",
"phonetic"
],
"score": 74,
"classification": "POSSIBLE_MATCH"
}
],
"customerReviews": [],
"credentialMechanism": "pid_sd_jwt_vc",
"evidencePackStatus": "available",
"evidencePackDelivery": "pull",
"transactionDataBinding": null,
"scaAuthentication": null,
"issuerCertificateStatus": {
"status": "good",
"handling": "accepted"
},
"credentialStatus": {
"status": "valid",
"mechanism": "status_list",
"handling": "accepted",
"unavailableReason": null
},
"trustPolicy": {
"versionId": null,
"sha256": "9b1f0d6c2a4e8f3b7c5d1e9a0f2b4c6d8e1f3a5b7c9d0e2f4a6b8c0d1e3f5a7b",
"trustSource": "eu_pid_providers",
"issuerJurisdiction": null,
"trustAnchorSha256": null,
"issuerRegistration": null
},
"decidedAt": "2026-11-13T10:01:12.000Z"
}
}humanReviewRequired: trueis the EU AI Act human-in-the-loop gate. The API never resolves or clears aPOSSIBLE_MATCH, and the result is never shown to the end user as a final decision. It is a screening result, not a legal determination: see the legal disclaimer.frozenDecisionArtifactpins the engine version, thresholds, weights and list snapshots in force at decision time, so the decision can be re-derived later. See how screening works.screeningCandidateslists the sanctions and PEP entries the screen matched, as public list data about each listed entity: never anything the wallet disclosed. Your reviewer compares them with what you know about the person.evidencePackStatus: "available"means an evidence pack is ready: the disclosed claims, the screening decision and the issuer proof, encrypted to a public key you registered. Only you can decrypt it. Reading the session never hands it over. Without a registered key, the status isno_key_registeredand no pack is created.
Claim the pack from your backend with an Idempotency-Key:
curl -s -X POST https://compliance.nexiel.io/v1/verify/sessions/4fc1ad3c-a197-4b09-bc62-68842fc69947/evidence-pack/claim \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"{
"sessionId": "4fc1ad3c-a197-4b09-bc62-68842fc69947",
"evidencePackCiphertext": "eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTI1NkdDTSJ9..(truncated)",
"evidencePackHash": "9b1f0c4e7d2a5b8c3e6f1a4d7b0c9e2f5a8d1b4c7e0f3a6d9b2c5e8f1a4d7b0c",
"evidencePackFormat": "jwe_compact",
"claimedAt": "2026-11-13T10:02:05.114Z",
"replayableUntil": "2026-11-13T11:02:05.114Z"
}The pack is handed over once. A retry with the same Idempotency-Key within an hour returns the same pack, so a crash after the claim never loses it. A claim with another key gets 409 evidence_pack_already_claimed. Nexiel deletes its copy at the next purge after that hour, or after 7 days if nobody claims it, and keeps only the hash. With push delivery the pack is posted to your endpoint instead.
Recording your review of a possible match
A POSSIBLE_MATCH always needs a human decision, and that human is your reviewer, never Nexiel. Once your reviewer has compared screeningCandidates with what you know about the person, record the outcome (confirmed_match, false_positive or escalated) with your API key and an Idempotency-Key:
curl -s -X POST https://compliance.nexiel.io/v1/verify/sessions/4fc1ad3c-a197-4b09-bc62-68842fc69947/review \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: review-4fc1ad3c-1" \
-d '{"decision": "false_positive", "reviewerId": "analyst-042", "notes": "Date of birth differs from the listed person."}'The original result never changes; each review is kept, most recent first, in customerReviews, and reading the session then reports humanReviewRequired: false. reviewerId is your own opaque reference for the person who decided; it is kept with the review for good, so use an identifier rather than a name. Nexiel keeps only a SHA-256 fingerprint of notes (UTF-8, line endings normalised to LF) and its length, never the text, so keep your rationale in your own case records. Each review sends a verify.review.completed webhook event. A session that is not a completed aml-identity POSSIBLE_MATCH returns 409 verification_not_reviewable.
Result webhooks
Each session produces exactly one final event. Deliveries are signed, retried, and may arrive more than once, so deduplicate on the event id. Manage endpoints in Webhooks and check signatures with Verifying webhook signatures.
verify.session.completed: the decision is recorded. Carries the check type, the boolean proofs, the trust policy applied,evidencePackAvailableand, for screening check types,amlResult,pep,sanctionedand the frozen decision artifact hashes. It also carries themode(sandboxorproduction) and, when a revocation check ran,credentialStatus. For a same-device session it is sent when the decision is released after your page returns theresponse_code.verify.session.failed: the wallet's answer was rejected. Carries a stablereasonsuch aswallet_reported_error,issuer_not_trusted,signature_or_disclosure_invalid,credential_revoked,redirect_binding_missingorissuer_not_accepted_by_policy(with apolicyRejectionReason).verify.session.expired: the session passed its expiry without a completed answer.
{
"id": "0b6f6c38-7d3e-4f55-9a31-6a0d7d1f8e52",
"type": "verify.session.completed",
"apiVersion": "2026-11-19",
"livemode": false,
"createdAt": "2026-11-13T10:01:12.000Z",
"data": {
"sessionId": "f1be0a07-e161-4827-a4c3-3337952859ff",
"clientId": "my-shop",
"checkType": "age-verification",
"templateVersion": "age-verification@3",
"method": "eudi_wallet",
"mode": "sandbox",
"timestamp": "2026-11-13T10:01:12.000Z",
"booleanProofs": {
"ageOver18": true
},
"trustPolicy": {
"versionId": null,
"sha256": "9b1f0d6c2a4e8f3b7c5d1e9a0f2b4c6d8e1f3a5b7c9d0e2f4a6b8c0d1e3f5a7b",
"trustSource": "eu_pid_providers",
"issuerJurisdiction": null,
"trustAnchorSha256": null,
"issuerRegistration": null
},
"credentialStatus": {
"status": "valid",
"mechanism": "status_list",
"handling": "accepted",
"unavailableReason": null
},
"evidencePackAvailable": false
}
}Events never contain personal data or the evidence pack itself. With push delivery, the encrypted pack arrives in its own verify.evidence_pack.ready event at the endpoint you chose for it.
What Nexiel stores
- Every check stores only the session id, client id, timestamp, method, boolean proofs, a SHA-256 hash of the presented wallet token and the issuer signature result. Claims disclosed to compute a proof, such as a birth date, are discarded immediately and never logged or returned.
- A screening check also stores the classification, the PEP and sanctions flags and the frozen decision artifact hashes. With a registered key it stores a SHA-256 hash of the evidence pack ciphertext, never the plaintext. The ciphertext itself is held until an hour after it is claimed, and for at most 7 days.
- Wallet requests ask only for the claims the check type needs, never a full identity record.
Reference
The Verify API reference lists every endpoint, parameter and response. The OpenAPI document is at https://compliance.nexiel.io/verify-docs/openapi.json.