{"openapi":"3.1.0","info":{"title":"Nexiel Verify API","description":"Identity verification with the EU Digital Identity (EUDI) Wallet, with\nAML/PEP screening for checks that need it. Nexiel Verify, Nexiel Age, and\nNexiel Login all run on this API.\n\n## What this API does\n\n`POST /v1/verify/sessions` starts an OpenID4VP/DCQL presentation request\nto an EUDI wallet and asks for exactly the claims the chosen `checkType`\nneeds. The request is signed under your own relying-party access\ncertificate and sent by reference: the wallet fetches it from\n`request_uri` and sees your registered name, not Nexiel's.\n\nEvery checkType that asks for Person Identification Data (PID) accepts the\nPID in either of its two EU-defined encodings, offered as DCQL\n`credential_sets` alternatives that request exactly the same attributes:\nthe SD-JWT VC PID (`dc+sd-jwt`, type `urn:eudi:pid:1`) or the ISO/IEC\n18013-5 mdoc PID (`mso_mdoc`, docType `eu.europa.ec.eudi.pid.1`). A\nwallet answers with exactly one, and the result is the same whichever it\npicks.\n\nFor `age-verification` and the `restricted-purchase-*` checkTypes, the\nrequest offers three ways to answer the same over-18 question. The first is\nthe EU Proof of Age / Age Verification (AV) attestation, a native\n`age_over_18` boolean disclosed as-is. It is the preferred path where a\nwallet holds it, because it discloses less. The others are the PID's birth\ndate, in either encoding, used only to compute `age_over_18` server-side\nand then discarded immediately. It is never stored or logged.\n\nThe wallet's encrypted `direct_post.jwt` callback\n(`POST /v1/verify/sessions/{sessionId}/responses`) is decrypted with a key\nused for that one request only, then the presented credential's signature\nand holder binding are verified (an SD-JWT VC key-binding JWT bound to your\n`x509_hash` client identifier and the request nonce, or an mdoc device\nsignature bound to the OpenID4VP session transcript). For\n`aml-identity` checks only, it then screens the disclosed identity against\nsanctions and PEP data with the same matching engine as Nexiel Screen.\n\n`str-guest-registration` requests the same identity claims as\n`aml-identity` plus the PID's `document_number` claim, for the\nshort-term-rental guest registration that Spain's Royal Decree 933/2021\nrequires. It runs no AML/PEP screening, so its decision never carries an\n`amlResult`, `pepFlag`, `sanctionedFlag`, or `frozenDecisionArtifact`.\nUnder that regulation the retention duty falls on the accommodation provider\nor platform, not on Nexiel.\n\n`login-authentication` (Nexiel Login, Sign in with EUDI Wallet) requests\nonly the PID's birth date, the smallest non-empty claim set a request\ntemplate allows. Unlike every other checkType, its pairwise subject\nidentifier comes from the presentation's holder-binding public key (the\nSD-JWT VC `cnf` key, or the mdoc device key), never from a disclosed\nclaim. The two PID encodings carry different holder keys, so each yields its\nown subject. `booleanProofs` is `{ claimsVerified: true }`, and this\ncheckType never runs an AML/PEP screen.\n\nYou can call `login-authentication` through `POST /v1/verify/sessions`\nlike any other checkType, but Nexiel Login is built to be used through its\nOpenID Connect bridge (see the `Login` tag). Your own identity provider\n(Keycloak, Auth0, Okta, and others) adds Nexiel as a \"Sign in with EUDI\nWallet\" connection from the discovery document, and never handles OpenID4VP\nor DCQL itself.\n\nNexiel Login has two issuers, one per connection mode, like test and live\nAPI keys. A live connection uses the live issuer,\n`https://compliance.nexiel.io/v1/login`. A test connection uses the test\nissuer, `https://compliance.nexiel.io/v1/login/test`, whose sign-ins run\nin test mode with the sandbox wallet and test credentials and are never\nbilled. Each issuer has its own discovery document\n(`{issuer}/.well-known/openid-configuration`), its own signing keys\n(`{issuer}/.well-known/jwks.json` lists only that issuer's keys), its own\nauthorize, token, logout and session revocation endpoints, and its own SSO\ncookies. A connection is only served by its own mode's issuer: the other\nissuer shows an error page at authorize and answers `invalid_client` at\ntoken and revocation. A test id_token never verifies against the live keys,\nand a live one never against the test keys. The paths below are the live\nissuer's; the test issuer's are the same under `/v1/login/test`.\n\n`GET /v1/login/authorize` is the hosted login\npage, which shows a QR code for a new wallet verification session and, when\nthe browser supports the Digital Credentials API, a \"Continue with your\nwallet\" button that reaches the wallet through the browser. If the\nbrowser presents a valid, unexpired SSO session cookie for the same\nconnection (`nx_login_sso_<client_id>` on the live issuer,\n`nx_login_test_sso_<client_id>` on the test issuer, set when an earlier\nlogin completed), the wallet step is\nskipped and the page redirects straight back to your application. That\nreturning-login session is issued by Nexiel, because the EU's own wallet\npseudonym mechanism is not yet finalized. `POST /v1/login/token` exchanges\nthe single-use authorization code for a signed `id_token` once either path\ncompletes.\n\nEach `id_token` carries a `sid` claim naming the Nexiel Login session it\nbelongs to, next to the pairwise `sub`. Sessions can be ended three ways.\nYour application sends the user's browser to the `end_session_endpoint`\nfrom the discovery document (OpenID Connect RP-Initiated Logout 1.0, with\n`id_token_hint`, `post_logout_redirect_uri` and `state`). Your backend\ncalls `POST /v1/login/sessions/revoke` with its client credentials and a\n`sub` or `sid`. Or Nexiel staff revoke on your behalf. Register your\n`post_logout_redirect_uris` and, optionally, a `backchannel_logout_uri`\nwith Nexiel when your connection is set up. For every session that ends, a\nsigned Logout Token (OpenID Connect Back-Channel Logout 1.0, `logout+jwt`,\nsigned with the same key as the `id_token`) is posted to your\n`backchannel_logout_uri`, and retried with backoff until you answer 200 or\n204. An ended session can no longer skip the wallet step. Nexiel Login issues\nno refresh tokens, and its `access_token` is an opaque placeholder that no\nendpoint accepts, so there is no token revocation endpoint (RFC 7009); end the\nsession instead.\n\n## Credential formats, signatures and validity\n\n- **Formats.** SD-JWT VC (`dc+sd-jwt`) and ISO/IEC 18013-5 mdoc\n  (`mso_mdoc`). The PID is accepted in both; the EU AV attestation and the\n  mobile driving licence are mdoc; the corporate mandate attestation is\n  SD-JWT VC. National PIDs are accepted too: an SD-JWT VC PID may use the EU\n  type `urn:eudi:pid:1` or a published national type that extends it\n  (today `urn:eudi:pid:de:1`), or any type in the `urn:eudi:pid:`\n  namespace that declares `urn:eudi:pid:1` in `aka_vcts`. An mdoc PID\n  always uses docType `eu.europa.ec.eudi.pid.1`; national extension\n  namespaces are ignored.\n- **Signature algorithms.** Issuer signatures (PID and corporate mandate\n  SD-JWT VCs, every mdoc issuer signature) use ES256, ES384 or ES512 (ECDSA\n  on P-256, P-384 and P-521). Holder proofs (SD-JWT VC key-binding JWTs and\n  mdoc device signatures) accept the same ECDSA algorithms plus Ed25519,\n  for wallets whose holder key is an Ed25519 key: `Ed25519` or\n  `EdDSA` for a key-binding JWT, COSE -19 or -8 for a device signature,\n  always with an Ed25519 key (an OKP `cnf.jwk` or COSE device key). For\n  mdoc, both the ECDSA COSE labels -7, -35 and -36 and the fully-specified\n  labels -9, -51 and -52 are accepted. Each algorithm must match its key's\n  type and curve, and a key that declares its own `alg` must declare that\n  same algorithm. Anything else is rejected, including `none`, HMAC,\n  RSA, Ed448, brainpool curves, and Ed25519 for any issuer signature.\n- **Issuer certificate.** An SD-JWT VC PID's signing certificate is taken\n  from its `x5c` chain, or, when it has none, from the `x5u` URL its\n  header names, which must be matched by an `x5t#S256` thumbprint. `x5u`\n  is only fetched over HTTPS from publicly routable hosts, with size, time\n  and redirect limits. A PID that names its certificate only by `x5t#S256`\n  is accepted when that certificate is itself a trusted PID-Provider\n  certificate. An mdoc's certificate comes from its `x5chain` (for an\n  mdoc PID without one, from its `x5u` under the same rules), and an\n  `x5t` in its header must match it. Every certificate chain is checked\n  link by link to a trusted certificate, including CA constraints,\n  path-length limits and validity periods, and the signing certificate must\n  carry a signing key usage. An SD-JWT VC PID signing certificate is never\n  self-signed; an mdoc PID signing certificate may be self-certified only\n  when it is itself the entry on the EU trusted list.\n- **Device binding.** An mdoc presentation must carry a device signature\n  bound to this request's session transcript, which covers the full\n  `client_id`, the nonce, the `response_uri` and the thumbprint of the\n  response encryption key (OpenID4VP 1.0 Appendix B.2.6.1). Device MAC\n  authentication is not accepted: the request advertises device signature\n  algorithms only.\n- **Validity.** A PID in SD-JWT VC format must carry `nbf` and `exp` and\n  be inside that period; an mdoc must be inside its `validFrom` to\n  `validUntil` period; a key-binding JWT must have been created after the\n  verification session started. Clocks may differ by up to 60 seconds.\n\n## Standards conformance\n\nPresentation requests are built to the OpenID4VC High Assurance\nInteroperability Profile (HAIP) 1.0, section 5.1 (redirects), as profiled\nfor the EUDI Wallet by ETSI TS 119 472-2: signed request objects fetched by\n`request_uri`, the `x509_hash` client identifier of your access\ncertificate, your registration certificate in `verifier_info`, DCQL,\n`direct_post.jwt` responses encrypted with `ECDH-ES` (`A128GCM` or\n`A256GCM`) to a fresh key per request, and a `redirect_uri` in every\nresponse reply. Same-device sessions release their decision only after your\npage or backend presents the redirect-back `response_code`.\nSelf-certification against the OpenID Foundation's HAIP verifier test plan\nis in progress, and interoperability with production EUDI wallet apps has not\nyet been tested.\n\nThe browser Digital Credentials API flow (`flow: dc_api`) is built to HAIP\n1.0 section 5.2 and OpenID4VP 1.0 Appendix A: a signed request\n(`openid4vp-v1-signed`) with the same `x509_hash` client identifier and\nregistration certificate, `expected_origins` naming the one origin of\nyour page, and `dc_api.jwt` responses encrypted to a fresh key per\nrequest. Every presentation must be bound to that origin: a key-binding JWT\n`aud` of `origin:` plus the origin, or the origin-based mdoc session\ntranscript. For checks an mdoc can answer, sessions also offer ISO/IEC\n18013-7 Annex C (`org-iso-mdoc`), one request per mdoc that answers the\ncheck on its own, with reader authentication under your access certificate,\nyour registration certificate in its CWT form (`rc-wrp+cwt`) as\n`requestInfo.euWrprc`, and an HPKE-encrypted response. `org-iso-mdoc` is\noffered only while your service holds an active CWT registration certificate\nthat registers that mdoc; import it beside the JWT form. Sandbox TEST\ncertificates are issued in both forms. Without a CWT, sessions offer the\nOpenID4VP request, which also carries mdoc requests. The OpenID Foundation has no\nverifier test plan for the Digital Credentials API yet, so this flow has no\nself-certification result. Each origin must first be added to your service's\nDigital Credentials API origin list\n(`/v1/verify/rp-identity/services/{serviceId}/dc-api-origins`). Sandbox\nsessions signed with Nexiel's shared sandbox identity accept any well-formed\norigin.\n\n## Relying-party identity and certificates\n\nEvery request is signed by a relying-party identity that belongs to you\n(`/v1/verify/rp-identity`, or the dashboard). You choose one of two\nmodels: you hold your own access and registration certificates as the\nrelying party in your own name, or Nexiel acts as your registered\nintermediary with an access certificate issued to Nexiel for your service\nand a registration certificate that names you. In production, the\nidentifier those certificates name must be your trade register identifier\nfrom your approved KYB application (for example `NTRIE-123456`), and at\nmost 5 production instances can wait for a certificate at once. Nexiel\ngenerates each key\nand gives you a certificate signing request to take to an access\ncertificate authority authorised by your Member State. Production keys are\ngenerated in a cloud key management service and never leave it; that key\nstore is being provisioned, so production instances cannot be created yet.\nSandbox mode signs with Nexiel TEST certificates, which you can issue\nyourself; production refuses every TEST and self-signed certificate. A\nsandbox session is signed with your own TEST identity when the request\ncarries your Verify API key, and with Nexiel's shared sandbox identity\notherwise.\n\n## Strong customer authentication\n\nThe `sca-payment`, `sca-login`, `sca-account-access` and `sca-emandate`\ncheck types let a user authorise a transaction with the SCA attestation their\nown bank issued into their EUDI wallet. They are built to the European\nCommission's TS12 v1.0.1, \"Specification of Strong Customer Authentication\n(SCA) Implementation with the Wallet\". Send the transaction as\n`transactionData.payload` in the TS12 §4.3 format of the check type: a\npayment confirmation, a login or risk-based authentication, a payment account\ninformation access, or an e-mandate. Nexiel validates it strictly against the\nTS12 schemas, signs it into the request as OpenID4VP `transaction_data`,\nand accepts the wallet's response only when its key-binding JWT carries the\nexact hash of that transaction, an authentication code (`jti`) never seen\nbefore, and at least two different authentication factors (`amr`). The\ndecision returns the authentication code, the factors and the hash. For a\npayment, that hash covers the amount and the payee, which links the\nauthentication code to them (PSD2 dynamic linking).\n\nSCA attestations come from your users' banks, so you list the attestation\ntypes you accept, and how each bank's issuer is trusted, at\n`/v1/verify/sca/attestation-profiles`. Nothing is trusted by default. The\nfinancial sector has not yet published the SCA Attestation Rulebooks TS12\nrefers to, so each bank's attestation type and transaction types are\nconfigured per profile. In sandbox, a session without a profile of your own\nuses the Nexiel TEST PSP, which issues test attestations at\n`POST /v1/verify/sandbox/sca-attestations`. Each SCA check type requires an\napproved checkType entitlement.\n\n## Qualified signatures and seals (Nexiel Sign, Nexiel Seal)\n\n`POST /v1/sign` starts a qualified electronic signature and `POST /v1/seal`\na qualified electronic seal, each authorised in the EUDI wallet of a\nrepresentative declared on your approved KYB application. Nexiel prepares a\nPAdES signature (ETSI EN 319 142-1, baseline B) and asks the wallet to\npresent the representative's PID and approve exactly that signature: an\nOpenID4VP `transaction_data` entry of the Cloud Signature Consortium type\n`https://cloudsignatureconsortium.org/2025/qes-approval`, naming the QTSP\ncredential, the signature qualifier, the hash algorithm and the digest of the\ndata to be signed. The wallet signs the hash of that approval into its\nkey-binding JWT, and the PID must match the declared representative. The\napproval then goes to the qualified trust service provider over the CSC API\nv2.2 (an authorization request carrying the same approval as authorization\ndetails, then signatures/signHash), and the signed PDF is returned once by\n`GET /v1/sign/requests/{id}` or `GET /v1/seal/requests/{id}`. Nexiel\nnever asks for or handles a PIN; the QTSP may run its own authorization step.\nIn production the QTSP's certificate must be a qualified certificate of the\nright type (signature or seal) under a qualified CA on an EU or EEA trusted\nlist. A wallet may decline to present a PID together with transaction data,\nwhich the PID rulebook does not yet describe. Built to ETSI TS 119 432 and the CSC API v2.2; production requires a\nqualified trust service provider account. Until one is configured, production\nrequests return `409` (`qes_not_configured` / `qseal_not_configured`).\nIn sandbox, the Nexiel TEST QTSP signs with TEST certificates under the\nNexiel TEST CA. Those signatures are not qualified and production refuses\nthem.\n\n## OpenID Federation (Italy IT-Wallet)\n\nEcosystems that run on OpenID Federation 1.0, such as Italy's IT-Wallet,\ntrust a relying party through a federation Trust Chain instead of an\naccess certificate. Create a federation profile for a service\n(`PUT /v1/verify/rp-identity/services/{serviceId}/federation`): Nexiel\nhosts an Entity Identifier for it and publishes its Entity Configuration at\nthat identifier's `/.well-known/openid-federation`, with fixed request and\nresponse endpoints and your same-device return pages (`redirect_uris`) in\nits `openid_credential_verifier` metadata. Once your federation authority\nhas onboarded you, activate the profile\n(`POST .../federation/activate`): from then on the service's requests are\nsigned as an OpenID Federation Leaf, with `client_id` set to\n`openid_federation:` plus the Entity Identifier and a `kid` and your\n`trust_chain` in the request object header. A same-device session must\nuse one of the registered return pages, and when your authority has issued\nyou an authorization_policy Trust Mark, a session that asks for claims it\ndoes not list is refused before it starts. Digital Credentials API sessions\n(`flow: dc_api`) are signed the same way, with `expected_origins` from\nthe service's origin list; they offer the OpenID4VP request only, since the\nISO mdoc request's reader authentication needs an access certificate.\nServices you have not activated keep signing with their access certificate.\n\nCredential issuers are trusted through a federation too: the issuer's\nTrust Chain to the configured Trust Anchor is resolved by discovery, its\nsigning key must be in its resolved metadata, and it must be admitted for\nthat credential type by the ecosystem's issuer rules (named issuers and the\nTrust Marks the federation issues to authorised issuers). The decision\nrecords the trust source and the full Trust Chain.\n\nIn sandbox, the Nexiel TEST federation (`/v1/verify/sandbox/federation/`)\nonboards and activates your Leaf at once and runs the whole flow; it is\nlabelled NEXIEL TEST and never trusted in production. In production a Leaf\ncan be activated only after your IT-Wallet federation authority (the Trust\nAnchor or an accredited intermediate) publishes a Subordinate Statement\nabout it (`federation_not_onboarded` until then), and only once Nexiel has\nconfigured the IT-Wallet Trust Anchor keys (`federation_not_configured`).\nBuilt to OpenID Federation 1.0 and the IT-Wallet technical specifications\n1.4.7; interoperability with IT-Wallet apps has not been tested yet.\n\n## Nexiel Login production status\n\nTest mode connections work on the production API today, through the test\nissuer (`/v1/login/test`): sign-ins with the sandbox wallet and test\ncredentials, never billed.\n\nLive sign-ins are not open yet. Until a live id_token signing key is\nprovisioned, every live issuer route (`/v1/login/*` outside\n`/v1/login/test`) returns `409` with error code `login_not_configured`\nand no live signing key is published. Every other route, including the test\nissuer, is unaffected. If either issuer is not enabled on a deployment, its\nroutes answer the same `409`.\n\nBeyond provisioning that live signing key, two external steps must also be\ncompleted before live Nexiel Login sign-ins can run in production. The first is registering \"authentication / account login for third-party\nservices\" as a new Relying Party intended use under Commission Implementing\nRegulation (EU) 2025/848, a government filing that has not been made yet.\nThe second is the PID trust-anchor gap described under Production mode\nstatus below: the PID disclosure Nexiel Login relies on fails closed in\nproduction until the EU publishes PID-Provider trust anchors.\n\nTest mode is fully usable today. Repeat logins are recognized: the same\nsandbox holder key answers every sandbox wallet request, so a second test\nlogin for the same connection resolves to the same `sub`. The\nreturning-login shortcut also works: a second authorize request from the\nsame browser, for the same connection, with its SSO cookie attached, skips\nthe wallet step. Logout, session revocation and\nBack-Channel Logout delivery work in sandbox exactly as described above.\n\n## Configurable trust\n\nYou decide which credential issuers your sessions accept, through a versioned\ntrust policy per environment, relying-party Service and check type\n(`/v1/verify/trust-policies`). A policy chooses the attestations and\nformats accepted, the attributes requested (a subset of the check type's\nown), the trust sources each attestation may be trusted from, with Member\nState allow and deny lists, and how revocation is handled. Without a policy\nof your own, a session runs under the Nexiel default policy for its check\ntype. The bounds are fixed by law: a request never asks for more than your\nregistration certificate registers, a PID is only ever trusted from the\nCommission's list of PID providers or, where you accept it, an OpenID\nFederation ecosystem such as IT-Wallet (you may narrow either by Member State),\nyour own accepted issuers, pinned certificates and the QEAA and Pub-EAA lists\nare opt-in and apply to mobile driving licence and corporate mandate checks\nonly, device binding is always verified, qualified signature and seal\napprovals always check the signer's PID for revocation, and for\n`aml-identity`, `corporate-mandate-verification` and `sca-*` checks a\nweaker revocation rule needs an acknowledged reason, which is recorded and\naudited. A presentation whose issuer is trusted only by a source your policy\ndoes not accept fails with `issuer_not_accepted_by_policy` and a\n`policyRejectionReason`. Every decision records the policy version and the\nSHA-256 of its canonical document (`decision.trustPolicy`).\n\nA policy can also require that the credential's type is listed in its issuer's\nregistration certificate (`issuerRegistration`, off by default), read from\nthe issuer's signed metadata and validated against the registration\ncertificate providers on the Commission list. A registered type shows what the\nissuer declared when it registered; it is not an authorisation to issue it. A\ntype the issuer did not register fails with\n`attestation_type_not_registered`; when the registration cannot be\nestablished, your policy refuses the credential\n(`issuer_registration_unavailable`) or accepts it with\n`decision.trustPolicy.issuerRegistration.outcome` set to\n`registration_unavailable`. In production this needs those Commission lists,\nwhich are not yet published, and issuers that publish their registration\ncertificate in their metadata.\n\n## Data handling\n\nRaw wallet claims exist only in memory for the duration of the callback\nrequest that discloses them and are never stored in readable form. For\n`aml-identity`, `str-guest-registration`, `mobile-driving-licence`, and\n`corporate-mandate-verification` checks, if you have registered an\nevidence-pack public key, the disclosed claims are also stored as an evidence\npack encrypted to your key, which Nexiel cannot decrypt, until shortly after it\nis delivered to you, or for at most 7 days. Only an `aml-identity` evidence\npack also carries the screening decision and the frozen decision artifact.\nApart from that, only the audit facts required for compliance are stored: session id, client id, timestamp,\nmethod, boolean proofs, screening result (where applicable), lists checked,\n`vp_token_hash` (SHA-256, never the raw presentation), and the issuer\nsignature validation result.\n\nFor `sca-*` checks, no attestation claim is requested at all. The\ntransaction you submit is held encrypted only while the session is open and\ndeleted when it completes or fails; what is kept is the hash the wallet\nsigned, the authentication code and factors, and how the bank's issuer was\ntrusted.\n\n## Test and live keys\n\nOne API serves both modes, and your API key picks the mode of every\nrequest. A **test key** (client id `nx-test-...`) is available as soon as\nyou sign up, before your KYB review is finished. Its sessions run in test\nmode: they are signed with your own Nexiel TEST access and registration\ncertificates (created on first use), they trust only test issuers (the\nNexiel sandbox issuers and any test issuers you add under\n`/v1/verify/test-issuer-anchors`), they are never billed, and their\nwebhook events go to your sandbox endpoints. Gated check types such as\n`mobile-driving-licence` can be tried with a test key.\n\nA **live key** (`nx-live-...`) needs an approved KYB review. Its sessions\nrun in live mode: your real access and registration certificates, the EU\ntrusted lists, billing, and your production webhook endpoints. The two\nmodes never mix: a key never sees a session, webhook endpoint or\nconfiguration of the other mode, a test credential is never accepted in a\nlive session, and a test-mode trust anchor can never be added from live\ntrust material. Every session carries `livemode`.\n\nTo test end to end, collect test credentials (an EU PID in SD-JWT VC or\nmdoc form, the EU age verification attestation, a mobile driving licence)\nfrom the Nexiel sandbox wallet, then answer your test-mode session from it,\nover the redirect flow or, through the Verify widget's `testWalletUrl`\noption, as a Digital Credentials API wallet.\n\n## Sandbox mode (default)\n\nThe service starts in **sandbox mode** unless `VERIFY_API_MODE=production`\nis set. In sandbox mode no API key is required, `aml-identity` screening\nruns only against synthetic `sandbox` list data, and wallet presentations\nare verified against Nexiel's own sandbox test issuers rather than any real\neIDAS Trusted List. Sandbox requests are signed with your own Nexiel TEST\nidentity when you have issued one, and otherwise with Nexiel's sandbox TEST\nidentity. To make a test wallet or conformance suite trust sandbox requests,\nuse the Nexiel TEST CA root at `GET /v1/verify/sandbox/test-ca.pem`.\n\n## Production mode status\n\nLive in production today: Keycloak-issued API keys (RFC 7662 introspection,\ninstant revocation, and a restricted-scope option for the Nexiel Agent\nToolkit), plus per-client rate limiting and anomaly detection.\n\nEvery production session, except an `age-verification` session started\nwith the EU age verification profile (see the last paragraph), must be\nsigned with your own relying-party identity. That needs a real access certificate from an access certificate\nauthority your Member State has authorised, a registration certificate\nissued after you register as a wallet-relying party, and the Commission's\npublished lists of those authorities as trust anchors. Until all of them are\nin place for your organization, `POST /v1/verify/sessions` fails closed\nwith a specific error (`rp_identity_not_configured`,\n`rp_access_certificate_missing`, `rp_registration_certificate_missing`,\nor `access_ca_trust_anchors_not_configured`). Your certificates are\nchecked for revocation online, at import, before every production\nsignature and periodically in the background: the access certificate chain\nby the access certificate authority's OCSP responder or certificate\nrevocation list, and the registration certificate by its provider's status\nlist and its signer's chain. A certificate stops signing as soon as the\nauthority's published revocation data reports it revoked\n(`certificate_revoked`) and you are told by webhook\n(`rp_certificate.revoked`) and email. A certificate the authority puts on\nhold stops signing while the hold lasts (`certificate_suspended`,\n`rp_certificate.suspended`) and signs again automatically once the hold\nis lifted (`rp_certificate.reinstated`). If the revocation state cannot be\nestablished, production signing fails closed\n(`certificate_revocation_unavailable`) until it can. You can also revoke a\ncertificate yourself (`/v1/verify/rp-identity`).\n\nNot yet available in production: completing `aml-identity`,\n`str-guest-registration`, and `login-authentication` checks, the wallet\napproval of Nexiel Sign and Nexiel Seal requests, and the PID\nbirth date path of `age-verification` and `restricted-purchase-*`\nchecks, in either PID encoding. All of these rely on a PID disclosure, which depends on the EU's\neIDAS trust infrastructure publishing PID-Provider trust anchors. That has\nnot happened yet, so these requests fail closed in production until it does.\n\n`mobile-driving-licence` and `corporate-mandate-verification` checks\nneed their own issuer trust anchors, which are not yet configured in\nproduction, so they also fail closed there. Each of these two checkTypes\nalso requires an approved checkType entitlement for your organization.\n\n`sca-*` checks complete in production once your organization has an\napproved entitlement, a production relying-party identity (see above) whose\nregistration certificate registers your users' banks' attestation types, and\nan SCA attestation profile trusting each bank, and once that bank issues TS12\nSCA attestations into its customers' wallets. Without a profile, an SCA\nsession fails closed with `sca_trust_not_configured`. Every SCA attestation\nis checked for revocation against its bank's status list, signed under the\nsame trust as the attestation; a revoked one, one whose status cannot be\nestablished, or a long-lived one with no status reference is refused. The\nSCA flow has not yet\nbeen run against a production wallet app.\n\nThe EU age verification attestation is trusted through a different list,\nwhich the European Commission already publishes and signs: the EU age\nverification trusted list of national attestation providers (one today,\nDenmark). The service verifies that list's signature and refreshes it, and a\nlive session accepts an age verification attestation only from an issuer it\nlists. An `age-verification` session started with\n`profile: \"eu-age-verification\"` uses the EU age verification profile:\nthe request asks for that attestation alone, is not signed, uses a\n`redirect_uri:` client identifier and opens the wallet from an `av://`\nlink, so it needs no access or registration certificate in production\neither. It has not yet been run against a real age verification app, so\nlive use is in progress. The wallet shows the user Nexiel's response\naddress, not your organization's name. A session can be completed by\nwhoever opens its link or QR code, so tie the result to your own user\nsession. The profile's zero-knowledge proof presentation, over the Digital\nCredentials API, is not supported. Over the\ndefault flow, the same attestation (and the `restricted-purchase-*`\nchecks) still needs your relying-party identity, as above. Sandbox mode is\nunaffected either way and fully usable now.","version":"0.1.0"},"components":{"securitySchemes":{"keycloakBearer":{"type":"oauth2","description":"Keycloak-issued OAuth2 client-credentials token (RFC 7662 introspection, audience `verify-api`), only enforced in production mode. A key issued with `--scope=agent-readonly` (see the Agent Toolkit docs) is limited to session creation and read-only routes, and always receives a 403 from the wallet-callback route.","flows":{"clientCredentials":{"tokenUrl":"https://auth.nexiel.io/realms/nexiel/protocol/openid-connect/token","scopes":{}}}}},"schemas":{"Error":{"type":"object","description":"The error envelope every Nexiel API returns. Every error Nexiel sends carries `type`, `docUrl` and `requestId`; they are not marked required so that a client never fails to parse an error relayed by an intermediary that lacks them. Every code is documented at https://nexiel.eu/docs/errors.","required":["error","message"],"properties":{"error":{"type":"string","description":"Stable, machine-readable error code."},"message":{"type":"string","description":"Human-readable explanation. May change; never parse it."},"type":{"type":"string","enum":["invalid_request_error","authentication_error","permission_error","rate_limit_error","idempotency_error","configuration_error","wallet_error","api_error"],"description":"The class of error; branch on this first, then on `error`."},"param":{"type":"string","description":"The request field the error is about, as a dotted path, when one can be named."},"docUrl":{"type":"string","format":"uri","description":"Documentation for this error code."},"requestId":{"type":"string","pattern":"^req_[0-9A-HJKMNP-TV-Z]{26}$","description":"The id of this request, also in the Request-Id header."},"retryAfterSeconds":{"type":"number","description":"Present on retryable errors; the same number as the Retry-After header."}},"additionalProperties":true},"RateLimitError":{"allOf":[{"$ref":"#/components/schemas/Error"},{"type":"object","required":["retryAfterSeconds"]}]},"Page":{"type":"object","description":"The envelope of every list. Items are newest first. Pass `nextCursor` as `starting_after` to fetch the next page; it is null on the last page.","required":["data","hasMore","nextCursor"],"properties":{"data":{"type":"array","items":{},"description":"The items of this page."},"hasMore":{"type":"boolean","description":"Whether another page follows this one."},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `starting_after` to fetch the next page. Null on the last page."}}},"VerificationSession":{"title":"VerificationSession","description":"A verification session: what was asked, its status and, once decided, the outcome.","type":"object","required":["sessionId","clientId","checkType","templateVersion","livemode","status","createdAt","expiresAt","decision","metadata","sandboxWalletUrl"],"properties":{"sessionId":{"type":"string"},"clientId":{"type":"string"},"checkType":{"anyOf":[{"type":"string","enum":["age-verification"]},{"type":"string","enum":["aml-identity"]},{"type":"string","enum":["str-guest-registration"]},{"type":"string","enum":["login-authentication"]},{"type":"string","enum":["restricted-purchase-alcohol-18"]},{"type":"string","enum":["restricted-purchase-tobacco-18"]},{"type":"string","enum":["restricted-purchase-lottery-18"]},{"type":"string","enum":["mobile-driving-licence"]},{"type":"string","enum":["corporate-mandate-verification"]},{"type":"string","enum":["sca-payment"]},{"type":"string","enum":["sca-login"]},{"type":"string","enum":["sca-account-access"]},{"type":"string","enum":["sca-emandate"]},{"type":"string","enum":["qes-authorization"]},{"type":"string","enum":["qseal-authorization"]}]},"templateVersion":{"type":"string"},"livemode":{"description":"True for a session started with a live API key, false for a test-mode session (a test key, or the sandbox). Fixed when the session starts.","type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["awaiting_redirect"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]}]},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"decision":{"anyOf":[{"type":"object","required":["method","booleanProofs","amlResult","pepFlag","sanctionedFlag","listsChecked","humanReviewRequired","frozenDecisionArtifact","screeningCandidates","credentialMechanism","evidencePackStatus","evidencePackDelivery","transactionDataBinding","scaAuthentication","issuerCertificateStatus","credentialStatus","trustPolicy","decidedAt"],"properties":{"method":{"type":"string","enum":["eudi_wallet"]},"booleanProofs":{"type":"object","additionalProperties":{"type":"boolean"}},"amlResult":{"anyOf":[{"anyOf":[{"type":"string","enum":["CLEAR"]},{"type":"string","enum":["POSSIBLE_MATCH"]},{"type":"string","enum":["CONFIRMED_MATCH"]}]},{"type":"null"}]},"pepFlag":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sanctionedFlag":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"listsChecked":{"type":"array","items":{"type":"string"}},"humanReviewRequired":{"description":"EU AI Act human-in-the-loop flag for a POSSIBLE_MATCH. Reading one session (`GET /v1/verify/sessions/{sessionId}`) reports whether your review is still outstanding: true while the result is POSSIBLE_MATCH and `customerReviews` is empty. Every other read reports the decision itself: true for a POSSIBLE_MATCH. Nexiel never resolves or clears a POSSIBLE_MATCH: your reviewer records the outcome with `POST /v1/verify/sessions/{sessionId}/review`, and the original result never changes.","type":"boolean"},"frozenDecisionArtifact":{"anyOf":[{"type":"object","required":["engineVersion","gatesHash","ensembleWeightsHash","listSnapshotIds"],"properties":{"engineVersion":{"type":"string"},"gatesHash":{"description":"SHA-256 hex digest of the full matching-engine gates configuration (including classification thresholds and ensemble weights) in force for this decision.","type":"string"},"ensembleWeightsHash":{"description":"SHA-256 hex digest of just the active ensemble weight vector in force for this decision, a narrower value than gatesHash.","type":"string"},"listSnapshotIds":{"description":"ID of the latest completed data-refresh run for each distinct list source that could have contributed a candidate to this decision (empty in sandbox mode, or when no AML/PEP screen ran at all).","type":"array","items":{"type":"string"}},"trustPolicyVersionId":{"description":"The trust policy version this decision was made under, or null for the Nexiel default policy. Absent on decisions recorded before trust policies existed.","anyOf":[{"type":"string"},{"type":"null"}]},"trustPolicySha256":{"description":"SHA-256 hex digest of the canonical trust policy document in force for this decision.","type":"string"}}},{"type":"null"}]},"screeningCandidates":{"description":"The sanctions and PEP candidates an 'aml-identity' screen returned, most severe first: public list data about each listed entity, so your reviewer can judge a POSSIBLE_MATCH against it. Empty when nothing matched. Null for every other check type, and for 'aml-identity' decisions made before candidates were recorded.","anyOf":[{"type":"array","items":{"additionalProperties":false,"type":"object","required":["entityId","source","listRef","entityType","isPep","pepCategory","pepFunctionalCategory","pepStatus","pepJurisdiction","linkedPeps","matchedVia","score","classification"],"properties":{"entityId":{"description":"The listed entity this candidate is.","type":"string"},"source":{"description":"The list it comes from, such as `ofac-sdn` or `eu-fsf`.","type":"string"},"listRef":{"description":"The entity's reference on that list.","type":"string"},"entityType":{"type":"string"},"isPep":{"type":"boolean"},"pepCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"pepFunctionalCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"pepStatus":{"anyOf":[{"type":"string"},{"type":"null"}]},"pepJurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}]},"linkedPeps":{"type":"array","items":{"type":"object","required":["entityId","primaryName","pepCategory","relationshipSchema","relationshipLabel"],"properties":{"entityId":{"type":"string"},"primaryName":{"type":"string"},"pepCategory":{"type":"string"},"relationshipSchema":{"type":"string"},"relationshipLabel":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"matchedVia":{"description":"The matching layers that matched this candidate.","type":"array","items":{"type":"string"}},"score":{"type":"number"},"classification":{"anyOf":[{"type":"string","enum":["CLEAR"]},{"type":"string","enum":["POSSIBLE_MATCH"]},{"type":"string","enum":["CONFIRMED_MATCH"]}]},"programs":{"description":"The sanctions programmes or regimes the list entry is designated under. Empty for PEP lists.","type":"array","items":{"type":"string"}},"listedDate":{"description":"The date the list first designated the entry, when it publishes one.","anyOf":[{"type":"string"},{"type":"null"}]},"matchedField":{"description":"Which of the list entry's names matched: its primary name, an alias, or an alias the list itself rates low quality.","anyOf":[{"type":"string","enum":["primary_name"]},{"type":"string","enum":["alias"]},{"type":"string","enum":["weak_alias"]}]}}}},{"type":"null"}]},"customerReviews":{"description":"Your organization's reviews of this 'aml-identity' decision, most recent first. Present when you read one session; absent from session lists and exports.","type":"array","items":{"additionalProperties":false,"type":"object","required":["decision","notesSha256","notesLength","reviewer","reviewedAt"],"properties":{"decision":{"anyOf":[{"type":"string","enum":["confirmed_match"]},{"type":"string","enum":["false_positive"]},{"type":"string","enum":["escalated"]}]},"notesSha256":{"description":"SHA-256 (hex) of the UTF-8 notes submitted with the review, line endings normalised to LF; null when none were. Nexiel never stores the text.","anyOf":[{"type":"string"},{"type":"null"}]},"notesLength":{"description":"Length of those notes in Unicode code points; null when none were.","anyOf":[{"type":"integer"},{"type":"null"}]},"reviewer":{"additionalProperties":false,"type":"object","required":["type","userId","reviewerId"],"properties":{"type":{"anyOf":[{"type":"string","enum":["dashboard_user"]},{"type":"string","enum":["api_key"]}]},"userId":{"description":"The dashboard user's account id (dashboard reviews only).","anyOf":[{"type":"string"},{"type":"null"}]},"reviewerId":{"description":"The `reviewerId` you sent with an API review, if any.","anyOf":[{"type":"string"},{"type":"null"}]}}},"reviewedAt":{"format":"date-time","type":"string"}}}},"credentialMechanism":{"description":"Which credential answered this session's DCQL request: \"pid_sd_jwt_vc\" (the PID in SD-JWT VC format), \"pid_mdoc\" (the PID in ISO/IEC 18013-5 mdoc format), \"av_mdoc\" (the EU Age Verification attestation, a native age_over_18 boolean), \"mdl_mdoc\" (a mobile driving licence, ISO/IEC 18013-5), \"corporate_mandate_sd_jwt_vc\" (an EWC RB-004 Signatory Rights attestation), or \"sca_sd_jwt_vc\" (a bank-issued SCA attestation, Commission TS12). Audit context only, and never returned to the wallet.","anyOf":[{"type":"string","enum":["av_mdoc"]},{"type":"string","enum":["mdl_mdoc"]},{"type":"string","enum":["pid_sd_jwt_vc"]},{"type":"string","enum":["pid_mdoc"]},{"type":"string","enum":["corporate_mandate_sd_jwt_vc"]},{"type":"string","enum":["sca_sd_jwt_vc"]}]},"evidencePackStatus":{"description":"Where this decision's encrypted evidence pack stands. Reading the session never hands the pack over: claim it with `POST /v1/verify/sessions/{sessionId}/evidence-pack/claim`. `not_applicable`: this check type has no evidence pack (only 'aml-identity', 'str-guest-registration', 'mobile-driving-licence' and 'corporate-mandate-verification' have one). `no_key_registered`: no evidence-pack public key was registered when the decision was made, so no pack exists; register one before the next verification. `available`: ready to claim. `pushing`: being posted to your evidence-pack webhook endpoint. `delivered`: claimed, or acknowledged by your endpoint. `expired`: never delivered and no longer held (its 7-day lifetime ended, every push attempt failed under `push`, or it was erased).","anyOf":[{"type":"string","enum":["not_applicable"]},{"type":"string","enum":["no_key_registered"]},{"type":"string","enum":["available"]},{"type":"string","enum":["pushing"]},{"type":"string","enum":["delivered"]},{"type":"string","enum":["expired"]}]},"evidencePackDelivery":{"description":"How this decision's evidence pack is delivered, fixed when the decision was made: \"pull\" (fetched once from this route), \"push\" or \"push_then_pull_fallback\" (posted to your evidence-pack webhook endpoint as `verify.evidence_pack.ready`). Null when the decision has no evidence pack, or was made before delivery modes existed (those are pull).","anyOf":[{"type":"string","enum":["pull"]},{"type":"string","enum":["push"]},{"type":"string","enum":["push_then_pull_fallback"]},{"type":"null"}]},"transactionDataBinding":{"anyOf":[{"description":"For an `sca-*` decision: per transaction sent to the wallet, the hash (base64url, of the exact `transaction_data` string) that the wallet signed into its key-binding JWT and that matched the transaction you submitted. Compare it with `transactionData[].hashes` from session creation, or recompute it from your own copy of the payload. Null for every other check type.","type":"array","items":{"type":"object","required":["type","schemaId","credentialId","hashAlgorithm","hash"],"properties":{"type":{"type":"string"},"schemaId":{"type":"string"},"credentialId":{"type":"string"},"hashAlgorithm":{"anyOf":[{"type":"string","enum":["sha-256"]},{"type":"string","enum":["sha-384"]},{"type":"string","enum":["sha-512"]}]},"hash":{"type":"string"}}}},{"type":"null"}]},"scaAuthentication":{"anyOf":[{"description":"Strong customer authentication evidence for an `sca-*` decision (Commission TS12 §3.6). Null for every other check type.","type":"object","required":["ts12Version","transactionType","schemaId","authenticationCode","amr","factorCategories","responseMode","keyBindingIssuedAt","attestationType","attestationStatusCheck","issuerTrust","dynamicLinking"],"properties":{"ts12Version":{"description":"The TS12 version this decision was made to.","type":"string"},"transactionType":{"description":"The `transaction_data` type sent to the wallet.","type":"string"},"schemaId":{"description":"The TS12 schema of the payload, for example `urn:eudi:sca:payment:1`.","type":"string"},"authenticationCode":{"description":"The key-binding JWT `jti`: TS12 §3.6's authentication code required by PSD2. Unique per presentation.","type":"string"},"amr":{"description":"The authentication factors the wallet applied, as TS12 §3.6 `amr` objects, for example `{\"knowledge\": \"pin_6_or_more_digits\"}`.","type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"factorCategories":{"description":"The distinct factor categories (at least two).","type":"array","items":{"type":"string"}},"responseMode":{"type":"string"},"keyBindingIssuedAt":{"description":"When the wallet signed the key-binding JWT (its `iat`).","type":"string"},"attestationType":{"description":"The SCA attestation's type (`vct`).","type":"string"},"attestationStatusCheck":{"description":"The SCA attestation's revocation status, the same value as `credentialStatus.status`. `valid`: its issuer's status list, signed under the same trust as the attestation, lists it as valid. `not_revocable`: it carries no status reference and is valid for 24 hours or less. `unavailable` and `not_checked` appear only when a status policy other than the default applies: by default an SCA attestation whose status cannot be established is refused, and a revoked or suspended one always is.","anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["not_revocable"]},{"type":"string","enum":["unavailable"]},{"type":"string","enum":["not_checked"]}]},"issuerTrust":{"description":"How the attestation's issuer was trusted: which of your profiles, and which anchor or pinned key.","type":"object","required":["source","profileId","mode"],"properties":{"source":{"anyOf":[{"type":"string","enum":["tenant_sca_profile"]},{"type":"string","enum":["platform_sandbox_psp"]}]},"profileId":{"anyOf":[{"type":"string"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["issuer_anchors"]},{"type":"string","enum":["own_issuer_keys"]}]},"anchorSha256":{"type":"string"},"leafSha256":{"type":"string"},"keyThumbprint":{"type":"string"}}},"dynamicLinking":{"description":"For a payment (and an e-mandate carrying one): the elements the signed hash binds, amount and payee among them (PSD2 RTS Art. 5). The amount the user approved is exact only when `amountEstimated` and `amountVariable` are false. Null otherwise.","anyOf":[{"type":"object","required":["boundElements","hashAlgorithm","transactionDataHash","amountEstimated","recurring","amountVariable"],"properties":{"boundElements":{"type":"array","items":{"type":"string"}},"hashAlgorithm":{"anyOf":[{"type":"string","enum":["sha-256"]},{"type":"string","enum":["sha-384"]},{"type":"string","enum":["sha-512"]}]},"transactionDataHash":{"type":"string"},"amountEstimated":{"description":"TS12 `amount_estimated`: the signed amount is an estimate.","type":"boolean"},"recurring":{"description":"A recurring payment (TS12 `recurrence`).","type":"boolean"},"amountVariable":{"description":"Later payments may differ from the signed amount (TS12 `mit_options.amount_variable`).","type":"boolean"}}},{"type":"null"}]}}},{"type":"null"}]},"issuerCertificateStatus":{"description":"Revocation state of the credential issuer's certificate chain. Null only for decisions recorded before this field existed.","anyOf":[{"description":"Revocation state of the credential issuer's certificate chain at decision time. A revoked certificate in the chain always rejects the presentation, so it never produces a decision.","type":"object","required":["status","handling"],"properties":{"status":{"description":"\"good\": every certificate between the issuer signing certificate and its trust anchor was checked by OCSP or CRL and none is revoked. \"not_applicable\": no certificate sits below the trust anchor (the issuer is trusted by key, its signing certificate is itself the listed anchor, or, in sandbox mode, the chain is made of Nexiel test certificates). \"unavailable\": the revocation state could not be established and the status policy for this check type accepted the credential anyway. \"not_checked\": revocation checking is switched off for this check.","anyOf":[{"type":"string","enum":["good"]},{"type":"string","enum":["unavailable"]},{"type":"string","enum":["not_applicable"]},{"type":"string","enum":["not_checked"]}]},"handling":{"description":"\"accepted_with_flag\" means the state was unavailable and the status policy for this check type accepted the credential regardless.","anyOf":[{"type":"string","enum":["accepted"]},{"type":"string","enum":["accepted_with_flag"]}]}}},{"type":"null"}]},"credentialStatus":{"description":"Revocation status of the presented credential. Null only for decisions recorded before this field existed.","anyOf":[{"description":"Revocation status of the presented credential at decision time. A revoked or suspended credential is always rejected, so it never produces a decision.","type":"object","required":["status","mechanism","handling","unavailableReason"],"properties":{"status":{"description":"\"valid\": the issuer's status list was fetched, its signature verified against the same trust anchor as the credential, and it lists the credential as valid. \"not_revocable\": the credential carries no status reference and is valid for 24 hours or less, so revocation does not apply to it. \"unavailable\": the status could not be established and the status policy for this check type accepted the credential anyway (see handling and unavailableReason). \"not_checked\": status checking is switched off for this check.","anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["unavailable"]},{"type":"string","enum":["not_revocable"]},{"type":"string","enum":["not_checked"]}]},"mechanism":{"description":"Which revocation mechanism the credential referenced, or null when none was used.","anyOf":[{"type":"string","enum":["status_list"]},{"type":"string","enum":["identifier_list"]},{"type":"string","enum":["status_list_and_identifier_list"]},{"type":"null"}]},"handling":{"description":"\"accepted_with_flag\" means the status was unavailable and the status policy for this check type accepted the credential regardless.","anyOf":[{"type":"string","enum":["accepted"]},{"type":"string","enum":["accepted_with_flag"]}]},"unavailableReason":{"description":"Why the status could not be established, for example \"fetch_failed\" or \"no_status_reference\". Null unless status is \"unavailable\".","anyOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"trustPolicy":{"description":"The trust policy this decision was made under. Null for decisions recorded before trust policies existed and for academic credential checks.","anyOf":[{"type":"object","required":["versionId","sha256","trustSource","issuerJurisdiction","trustAnchorSha256","issuerRegistration"],"properties":{"versionId":{"description":"Your trust policy version, or null when the Nexiel default policy for the check type applied.","anyOf":[{"type":"string"},{"type":"null"}]},"sha256":{"description":"SHA-256 hex digest of the canonical policy document, so the rules can be re-derived.","type":"string"},"trustSource":{"description":"Which trust source accepted the issuer, for example \"eu_pid_providers\" or \"tenant_accepted_issuers\".","anyOf":[{"type":"string"},{"type":"null"}]},"issuerJurisdiction":{"description":"Member State of the company register that accepted a corporate mandate issuer. Always null for a PID, age attestation or driving licence.","anyOf":[{"type":"string"},{"type":"null"}]},"trustAnchorSha256":{"description":"SHA-256 of the trust anchor certificate that accepted the issuer, for a corporate mandate or an issuer you accepted or pinned yourself; null otherwise.","anyOf":[{"type":"string"},{"type":"null"}]},"issuerRegistration":{"description":"The issuer registration check, when your trust policy turns it on; null otherwise. A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","anyOf":[{"type":"object","required":["outcome","handling","source","registrationCertificateSha256"],"properties":{"outcome":{"description":"registered: the credential type is listed in its issuer's registration certificate. registration_unavailable: the registration could not be established and your policy accepts that with a flag.","anyOf":[{"type":"string","enum":["registered"]},{"type":"string","enum":["registration_unavailable"]}]},"handling":{"anyOf":[{"type":"string","enum":["accepted"]},{"type":"string","enum":["accepted_with_flag"]}]},"source":{"description":"Where the registration certificate was read: the issuer's signed metadata. Null when none could be established.","anyOf":[{"type":"string","enum":["credential_issuer_metadata"]},{"type":"null"}]},"registrationCertificateSha256":{"description":"SHA-256 of the issuer's registration certificate, for a corporate mandate or an issuer you accepted or pinned yourself; null otherwise.","anyOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]}}},{"type":"null"}]},"decidedAt":{"description":"When this decision was recorded.","type":"string"}}},{"type":"null"}]},"metadata":{"maxProperties":20,"propertyNames":{"type":"string","minLength":1,"maxLength":40,"pattern":"^[^\\u0000-\\u001f\\u007f\\ud800-\\udfff]*$"},"description":"Your own key-value data for this session, such as an order or user reference: at most 20 keys, each key 1 to 40 characters and each value at most 500 characters. It is returned on every read of the session and in every `verify.session.*` webhook, and deleted with the session. Do not put personal data in it (names, dates of birth, email addresses, document numbers): use your own opaque identifiers.","type":"object","additionalProperties":{"maxLength":500,"pattern":"^[^\\u0000-\\u001f\\u007f\\ud800-\\udfff]*$","type":"string"},"example":{"orderId":"ord_8213","customerRef":"cus_42"}},"sandboxWalletUrl":{"description":"Test mode only: a link that opens this session in the Nexiel sandbox wallet, which answers it with a synthetic test credential. Present while a test-mode `cross_device` or `same_device` session is pending; always null for a live session.","anyOf":[{"type":"string"},{"type":"null"}]}}},"WebhookEvent":{"title":"WebhookEvent","description":"A platform event: the body of a webhook delivery, and an item of the Events API.","type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"format":"uuid","description":"Stable, immutable event id: the same id every delivery of this event carries.","type":"string"},"type":{"description":"The event type, from the event catalogue.","type":"string","example":"verify.session.completed"},"apiVersion":{"description":"The API version the event is rendered in.","type":"string","example":"2026-11-19"},"livemode":{"description":"True for a live-mode event, false for test mode.","type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"data":{"additionalProperties":true,"description":"Identifiers, outcomes and hashes only; never personal data.","type":"object","properties":{}}}}},"parameters":{"NexielVersion":{"name":"Nexiel-Version","in":"header","required":false,"description":"The API version this request is written against. Omit it to use the latest (2026-11-19); an unknown version is refused with 400 `invalid_api_version`. Every response states the version it was served in, in the same header.","schema":{"type":"string","enum":["2026-11-19"],"default":"2026-11-19"}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key (8 to 255 characters, a UUID is ideal) that makes a retry safe: a request repeated with the same key returns the first result instead of acting twice. Reusing a key with a different request is refused with 409 `idempotency_key_conflict`.","schema":{"type":"string","minLength":8,"maxLength":255},"example":"4b9e6e2a-df1a-4c3a-9d2a-6a6a6f9e7e10"},"IdempotencyKeyRequired":{"name":"Idempotency-Key","in":"header","required":false,"description":"Required on this operation (8 to 255 characters, a UUID is ideal); a request without it is refused with 400 `idempotency_key_required`. Retrying with the same key returns the same result instead of repeating the action.","schema":{"type":"string","minLength":8,"maxLength":255},"example":"4b9e6e2a-df1a-4c3a-9d2a-6a6a6f9e7e10"}}},"paths":{"/health":{"get":{"operationId":"getHealth","summary":"Liveness / service-mode check","tags":["Health"],"description":"Reports the service mode (sandbox by default). Needs no API key. Returns 503 with status \"draining\" during the brief shutdown window between the instance receiving a stop signal and exiting, so a load balancer can stop routing new requests to it first.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}},"example":{"status":"ok","mode":"sandbox"}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/health":{"get":{"operationId":"getVerifyHealth","summary":"Nexiel Verify API liveness and service mode","tags":["Health"],"description":"Reports the service mode (sandbox by default). Needs no API key. Returns 503 with status \"draining\" during the brief shutdown window between the instance receiving a stop signal and exiting, so a load balancer can stop routing new requests to it first.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}},"example":{"status":"ok","mode":"sandbox"}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status","mode"],"properties":{"status":{"anyOf":[{"type":"string","enum":["ok"]},{"type":"string","enum":["draining"]}]},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/health/purge":{"get":{"operationId":"getPurgeWorkerHealth","summary":"Background purge worker heartbeat","tags":["Health"],"description":"Reports whether the data-retention purge has run recently: `healthy` and the age in seconds of its latest completed pass. Answers 503 when the latest pass is older than twice the purge interval.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["healthy","lastRunAgeSeconds"],"properties":{"healthy":{"type":"boolean"},"lastRunAgeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}}},"example":{"healthy":false,"lastRunAgeSeconds":1}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["healthy","lastRunAgeSeconds"],"properties":{"healthy":{"type":"boolean"},"lastRunAgeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/sessions":{"post":{"operationId":"initiateVerificationSession","summary":"Initiate an EUDI wallet verification session (OpenID4VP)","tags":["Verification"],"description":"Authenticated (production-mode) requests are rate limited per client with a token bucket. Exceeding the limit returns a `429` with a `Retry-After` header. Every authenticated request is also checked by a per-client anomaly signal, measured against that client's own history. It covers request volume (this hour's count against the client's trailing 24-hour baseline), geography (a country never seen before for the client, once at least one other country is on record), and behavior shift (this hour's mix of `checkType` values against the client's trailing 24-hour mix, measured as total variation distance). Volume is the one signal with an automatic action: a genuine spike temporarily lowers that client's rate limit for a bounded cooldown that expires on its own, recorded as a `CLIENT_AUTO_THROTTLED` audit event. Geography and behavior shift are logged for operator review only and, by design, never throttle or block a request, in line with the EU AI Act's human-in-the-loop requirement. Rate limits and anomaly tracking for Nexiel Verify are separate from Nexiel Screen's limits for the same client. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["clientId","checkType"],"properties":{"clientId":{"minLength":1,"maxLength":255,"type":"string"},"checkType":{"anyOf":[{"type":"string","enum":["age-verification"]},{"type":"string","enum":["aml-identity"]},{"type":"string","enum":["str-guest-registration"]},{"type":"string","enum":["login-authentication"]},{"type":"string","enum":["restricted-purchase-alcohol-18"]},{"type":"string","enum":["restricted-purchase-tobacco-18"]},{"type":"string","enum":["restricted-purchase-lottery-18"]},{"type":"string","enum":["mobile-driving-licence"]},{"type":"string","enum":["corporate-mandate-verification"]},{"type":"string","enum":["sca-payment"]},{"type":"string","enum":["sca-login"]},{"type":"string","enum":["sca-account-access"]},{"type":"string","enum":["sca-emandate"]}]},"countryCode":{"pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 country code. Required for restricted-purchase-* checkTypes (alcohol, tobacco, and lottery enablement is per country). Ignored otherwise.","type":"string","example":"IE"},"flow":{"description":"`cross_device` (default): the user scans a QR code with a wallet on another device. `same_device`: the wallet opens on the same device, then returns the user to `redirectUri` with a one-time `response_code` in the URL fragment. A same-device decision is released only after that code is sent to `POST /v1/verify/sessions/{sessionId}/redirect-return`. `dc_api`: the page at `origin` calls the browser's Digital Credentials API (`navigator.credentials.get`) with `dcApi.requests`, and the platform reaches the wallet, on the same device or on a nearby phone. The page then sends the result to `POST /v1/verify/sessions/{sessionId}/dc-api-response`.","anyOf":[{"type":"string","enum":["cross_device"]},{"type":"string","enum":["same_device"]},{"type":"string","enum":["dc_api"]}]},"profile":{"description":"`haip` (default): the EUDI wallet relying-party flow, signed under your access certificate. `eu-age-verification`: the EU age verification profile, for `age-verification` only. The request asks for the EU age verification attestation alone, is unsigned with a `redirect_uri:` client identifier, and the wallet opens it from an `av://` link. It needs no access or registration certificate. Live sessions accept attestations only from issuers on the EU age verification trusted list; live use with a real age verification app is in progress. `cross_device` only: show the link as a QR code, or open it on the same phone, and poll the session. Zero-knowledge proof presentations are not supported.","anyOf":[{"type":"string","enum":["haip"]},{"type":"string","enum":["eu-age-verification"]}]},"redirectUri":{"minLength":1,"maxLength":2048,"description":"Required for `same_device`: your https page the wallet returns the user to. Must not contain a fragment.","type":"string","example":"https://shop.example.eu/verified"},"rpServiceId":{"format":"uuid","description":"Which of your registered relying-party services signs the request: with its access certificate (`x509_hash:`), or as an OpenID Federation Leaf (`openid_federation:`) when the service has a federation profile enabled for this environment. Defaults to your default service.","type":"string"},"transactionData":{"additionalProperties":false,"description":"Required for the `sca-*` check types and refused for every other: the transaction the user authorises with their bank-issued SCA attestation, sent to the wallet as OpenID4VP `transaction_data`.","type":"object","required":["payload"],"properties":{"payload":{"additionalProperties":true,"description":"The TS12 §4.3 `payload` for the check type: `sca-payment` a Payment Confirmation (`urn:eudi:sca:payment:1`: `transaction_id`, `payee` {`name`, `id`}, `currency`, `amount`, and optionally `date_time`, `pisp`, `execution_date`, `amount_estimated`, `amount_earmarked`, `sct_inst`, `recurrence`); `sca-login` a Login or Risk-based Authentication (`urn:eudi:sca:login_risk_transaction:1`: `transaction_id`, `action`, optionally `service`, `date_time`); `sca-account-access` a Payment Account Information Access (`urn:eudi:sca:account_access:1`: `transaction_id`, optionally `aisp`, `description`, `date_time`); `sca-emandate` an E-mandate (`urn:eudi:sca:emandate:1`: `transaction_id`, `purpose` unless `payment_payload` is given, optionally `start_date`, `end_date`, `reference_number`, `creditor_id`, `payment_payload`). Field names and rules are exactly TS12's, including amounts as JSON numbers with no more fractional digits than the currency's ISO 4217 minor unit and an `execution_date` that is not in the past.","type":"object","properties":{}},"hashAlgorithms":{"minItems":1,"maxItems":3,"description":"Hash algorithms the wallet may use to bind the transaction (`transaction_data_hashes_alg`). Any of `sha-256`, `sha-384`, `sha-512`. Defaults to `[\"sha-256\"]`.","type":"array","items":{"minLength":1,"maxLength":32,"type":"string"}}}},"scaAttestationProfileId":{"format":"uuid","description":"For an `sca-*` check type: which of your SCA attestation profiles (your users' banks) to use, needed only when more than one supports the check type.","type":"string"},"origin":{"minLength":1,"maxLength":255,"description":"Required for `dc_api`: the web origin (scheme, host and optional port, no path or trailing slash) of the page that will call the Digital Credentials API. It must be on the Digital Credentials API origin list of the service that signs the request.","type":"string","example":"https://shop.example.eu"},"metadata":{"maxProperties":20,"propertyNames":{"type":"string","minLength":1,"maxLength":40,"pattern":"^[^\\u0000-\\u001f\\u007f\\ud800-\\udfff]*$"},"description":"Your own key-value data for this session, such as an order or user reference: at most 20 keys, each key 1 to 40 characters and each value at most 500 characters. It is returned on every read of the session and in every `verify.session.*` webhook, and deleted with the session. Do not put personal data in it (names, dates of birth, email addresses, document numbers): use your own opaque identifiers.","type":"object","additionalProperties":{"maxLength":500,"pattern":"^[^\\u0000-\\u001f\\u007f\\ud800-\\udfff]*$","type":"string"},"example":{"orderId":"ord_8213","customerRef":"cus_42"}},"successUrl":{"minLength":1,"maxLength":2048,"description":"`cross_device` only: your https page the hosted verification page (`hostedUrl`) sends the user to once the session completes. Read the outcome from your backend; the URL carries none. Must not contain a fragment. A live session redirects there automatically; a test-mode session shows a link to it instead.","type":"string","example":"https://shop.example.eu/verified"},"cancelUrl":{"minLength":1,"maxLength":2048,"description":"`cross_device` only: your https page the hosted verification page sends the user to when they cancel, or when the session fails or expires. Must not contain a fragment.","type":"string","example":"https://shop.example.eu/checkout"}}},"examples":{"ageVerificationEuProfile":{"summary":"Nexiel Age over the EU age verification profile: asks for the EU age verification attestation alone, with no relying-party certificate. A live session accepts issuers on the EU age verification trusted list","value":{"clientId":"docs-example-client","checkType":"age-verification","profile":"eu-age-verification"}},"ageVerification":{"summary":"Nexiel Age: an over-18 check, answered with the EU Age Verification attestation or the PID birth date, in either PID format","value":{"clientId":"docs-example-client","checkType":"age-verification"}},"amlIdentity":{"summary":"Nexiel Verify / Nexiel Screen: full identity-linked AML/PEP screening check","value":{"clientId":"docs-example-client","checkType":"aml-identity"}},"amlIdentitySameDevice":{"summary":"The same check on the same device: the wallet returns the user to redirectUri with a one-time response_code, which you send to POST /v1/verify/sessions/{sessionId}/redirect-return","value":{"clientId":"docs-example-client","checkType":"aml-identity","flow":"same_device","redirectUri":"https://shop.example.eu/verified"}},"strGuestRegistration":{"summary":"Spain RD 933/2021 short-term-rental guest registration: identity claims and document number, with no AML/PEP screening","value":{"clientId":"docs-example-client","checkType":"str-guest-registration"}},"loginAuthentication":{"summary":"Nexiel Login: requests only the PID birth date. The returned pairwise subject identifier comes from the presentation's holder-binding public key, never from a disclosed claim","value":{"clientId":"docs-example-client","checkType":"login-authentication"}},"scaPayment":{"summary":"Strong customer authentication: the user confirms a payment with their bank's SCA attestation. The payload is a TS12 §4.3.1 Payment Confirmation","value":{"clientId":"docs-example-client","checkType":"sca-payment","transactionData":{"payload":{"transaction_id":"8D8AC610-566D-4EF0-9C22-186B2A5ED793","date_time":"2026-10-11T09:59:00+00:00","payee":{"name":"Merchant GmbH","id":"DE89370400440532013000","website":"https://merchant.example"},"currency":"EUR","amount":23.5}}}},"scaLogin":{"summary":"Strong customer authentication for a login or a risk-bearing action (TS12 §4.3.2)","value":{"clientId":"docs-example-client","checkType":"sca-login","transactionData":{"payload":{"transaction_id":"login-77","service":"Superbank Online Banking","action":"Log in to Online Banking"}}}},"hostedPage":{"summary":"No frontend: send the user to the returned hostedUrl, which shows the wallet QR code and link and then returns them to successUrl or cancelUrl. metadata carries your own references back on every read and webhook","value":{"clientId":"docs-example-client","checkType":"age-verification","successUrl":"https://shop.example.eu/verified","cancelUrl":"https://shop.example.eu/checkout","metadata":{"orderId":"ord_8213","customerRef":"cus_42"}}},"ageVerificationDcApi":{"summary":"The over-18 check through the browser Digital Credentials API, bound to the page at origin (which must be on your service's origin list)","value":{"clientId":"docs-example-client","checkType":"age-verification","flow":"dc_api","origin":"https://shop.example.eu"}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["sessionId","templateVersion","livemode","clientId","requestUri","flow","profile","authorizationRequest","authorizationRequestUri","dcApi","expiresAt","sessionToken","hostedUrl","sandboxWalletUrl","metadata"],"properties":{"sessionId":{"type":"string"},"templateVersion":{"type":"string"},"livemode":{"description":"True when a live API key started the session (verified against the EU trust lists, billed, live webhooks), false in test mode (a test key: the Nexiel TEST trust universe, never billed, sandbox webhooks).","type":"boolean"},"clientId":{"description":"The client identifier your wallet users see this request under: `x509_hash:` (your access certificate), or `openid_federation:` plus your Entity Identifier when the service has an OpenID Federation profile enabled. For an `eu-age-verification` session, `redirect_uri:` followed by the response URI.","type":"string"},"requestUri":{"description":"Where the wallet fetches the signed request object. `null` for `dc_api` and for `eu-age-verification`, whose request travels by value.","anyOf":[{"type":"string"},{"type":"null"}]},"flow":{"description":"`cross_device` (default): the user scans a QR code with a wallet on another device. `same_device`: the wallet opens on the same device, then returns the user to `redirectUri` with a one-time `response_code` in the URL fragment. A same-device decision is released only after that code is sent to `POST /v1/verify/sessions/{sessionId}/redirect-return`. `dc_api`: the page at `origin` calls the browser's Digital Credentials API (`navigator.credentials.get`) with `dcApi.requests`, and the platform reaches the wallet, on the same device or on a nearby phone. The page then sends the result to `POST /v1/verify/sessions/{sessionId}/dc-api-response`.","anyOf":[{"type":"string","enum":["cross_device"]},{"type":"string","enum":["same_device"]},{"type":"string","enum":["dc_api"]}]},"profile":{"description":"`haip` (default): the EUDI wallet relying-party flow, signed under your access certificate. `eu-age-verification`: the EU age verification profile, for `age-verification` only. The request asks for the EU age verification attestation alone, is unsigned with a `redirect_uri:` client identifier, and the wallet opens it from an `av://` link. It needs no access or registration certificate. Live sessions accept attestations only from issuers on the EU age verification trusted list; live use with a real age verification app is in progress. `cross_device` only: show the link as a QR code, or open it on the same phone, and poll the session. Zero-knowledge proof presentations are not supported.","anyOf":[{"type":"string","enum":["haip"]},{"type":"string","enum":["eu-age-verification"]}]},"authorizationRequest":{"anyOf":[{"additionalProperties":true,"description":"The signed request object the wallet fetches from `requestUri`, without the members set at fetch time (`aud`, `iat`, `exp`, and `wallet_nonce` for a POST fetch). Shown for transparency; you never forward it.","type":"object","required":["client_id","response_type","response_mode","response_uri","nonce","state","dcql_query","client_metadata"],"properties":{"client_id":{"description":"`x509_hash:` followed by the base64url SHA-256 of your access certificate, or `openid_federation:` followed by your Entity Identifier when the service signs as an OpenID Federation Leaf.","type":"string"},"response_type":{"type":"string","enum":["vp_token"]},"response_mode":{"type":"string","enum":["direct_post.jwt"]},"response_uri":{"type":"string"},"nonce":{"type":"string"},"state":{"type":"string"},"dcql_query":{"type":"object","required":["credentials"],"properties":{"credentials":{"type":"array","items":{"anyOf":[{"type":"object","required":["id","format","meta"],"properties":{"id":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt"]},"meta":{"type":"object","required":["vct_values"],"properties":{"vct_values":{"type":"array","items":{"type":"string"}}}},"claims":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}},{"type":"object","required":["id","format","meta","claims"],"properties":{"id":{"type":"string"},"format":{"type":"string","enum":["mso_mdoc"]},"meta":{"type":"object","required":["doctype_value"],"properties":{"doctype_value":{"type":"string"}}},"claims":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}]}},"credential_sets":{"type":"array","items":{"type":"object","required":["options"],"properties":{"options":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"required":{"type":"boolean"}}}}}},"client_metadata":{"type":"object","required":["jwks","encrypted_response_enc_values_supported","vp_formats_supported"],"properties":{"jwks":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","required":["kty","crv","x","y","kid","use","alg"],"properties":{"kty":{"type":"string","enum":["EC"]},"crv":{"type":"string","enum":["P-256"]},"x":{"type":"string"},"y":{"type":"string"},"kid":{"type":"string"},"use":{"type":"string","enum":["enc"]},"alg":{"type":"string","enum":["ECDH-ES"]}}}}}},"encrypted_response_enc_values_supported":{"type":"array","items":{"type":"string"}},"vp_formats_supported":{"type":"object","additionalProperties":{}}}},"verifier_info":{"description":"Your registration certificate (`format: registration_cert`). Absent for an `openid_federation:` request, which has no registration certificate.","type":"array","items":{"type":"object","required":["format","data"],"properties":{"format":{"type":"string"},"data":{"type":"string"}}}}}},{"additionalProperties":true,"description":"The claims of the signed request object inside `dcApi.requests` (`openid4vp-v1-signed`), without `aud`, `iat` and `exp`. Shown for transparency; you never forward it.","type":"object","required":["client_id","response_type","response_mode","expected_origins","nonce","dcql_query","client_metadata"],"properties":{"client_id":{"description":"`x509_hash:` followed by the base64url SHA-256 of your access certificate, or `openid_federation:` plus your Entity Identifier when the service has an OpenID Federation profile enabled.","type":"string"},"response_type":{"type":"string","enum":["vp_token"]},"response_mode":{"type":"string","enum":["dc_api.jwt"]},"expected_origins":{"description":"The one web origin this session is bound to.","type":"array","items":{"type":"string"}},"nonce":{"type":"string"},"dcql_query":{"type":"object","required":["credentials"],"properties":{"credentials":{"type":"array","items":{"anyOf":[{"type":"object","required":["id","format","meta"],"properties":{"id":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt"]},"meta":{"type":"object","required":["vct_values"],"properties":{"vct_values":{"type":"array","items":{"type":"string"}}}},"claims":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}},{"type":"object","required":["id","format","meta","claims"],"properties":{"id":{"type":"string"},"format":{"type":"string","enum":["mso_mdoc"]},"meta":{"type":"object","required":["doctype_value"],"properties":{"doctype_value":{"type":"string"}}},"claims":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}]}},"credential_sets":{"type":"array","items":{"type":"object","required":["options"],"properties":{"options":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"required":{"type":"boolean"}}}}}},"client_metadata":{"type":"object","required":["jwks","encrypted_response_enc_values_supported","vp_formats_supported"],"properties":{"jwks":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","required":["kty","crv","x","y","kid","use","alg"],"properties":{"kty":{"type":"string","enum":["EC"]},"crv":{"type":"string","enum":["P-256"]},"x":{"type":"string"},"y":{"type":"string"},"kid":{"type":"string"},"use":{"type":"string","enum":["enc"]},"alg":{"type":"string","enum":["ECDH-ES"]}}}}}},"encrypted_response_enc_values_supported":{"type":"array","items":{"type":"string"}},"vp_formats_supported":{"type":"object","additionalProperties":{}}}},"verifier_info":{"description":"Your registration certificate (`format: registration_cert`). Absent for an `openid_federation:` request, which has no registration certificate.","type":"array","items":{"type":"object","required":["format","data"],"properties":{"format":{"type":"string"},"data":{"type":"string"}}}}}},{"additionalProperties":false,"description":"For an `eu-age-verification` session: the whole request, sent by value in `authorizationRequestUri` (`av://?...`). It is not signed and has no `request_uri`, as the EU age verification profile specifies.","type":"object","required":["client_id","response_type","response_mode","response_uri","nonce","state","dcql_query"],"properties":{"client_id":{"description":"`redirect_uri:` followed by `response_uri`, as the EU age verification profile requires.","type":"string"},"response_type":{"type":"string","enum":["vp_token"]},"response_mode":{"type":"string","enum":["direct_post"]},"response_uri":{"type":"string"},"nonce":{"type":"string"},"state":{"type":"string"},"dcql_query":{"type":"object","required":["credentials"],"properties":{"credentials":{"type":"array","items":{"anyOf":[{"type":"object","required":["id","format","meta"],"properties":{"id":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt"]},"meta":{"type":"object","required":["vct_values"],"properties":{"vct_values":{"type":"array","items":{"type":"string"}}}},"claims":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}},{"type":"object","required":["id","format","meta","claims"],"properties":{"id":{"type":"string"},"format":{"type":"string","enum":["mso_mdoc"]},"meta":{"type":"object","required":["doctype_value"],"properties":{"doctype_value":{"type":"string"}}},"claims":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}]}},"credential_sets":{"type":"array","items":{"type":"object","required":["options"],"properties":{"options":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"required":{"type":"boolean"}}}}}}}}]},"authorizationRequestUri":{"description":"The wallet invocation link (`openid4vp://?client_id=...&request_uri=...&request_uri_method=post`). Render it as a QR code (cross-device) or open it (same-device). The request itself is fetched by reference and signed. `null` for `dc_api`. For an `eu-age-verification` session, an `av://?...` link that carries the whole unsigned request.","anyOf":[{"type":"string"},{"type":"null"}]},"dcApi":{"description":"For `dc_api` sessions: the origin and the requests for `navigator.credentials.get()`. `null` otherwise.","anyOf":[{"additionalProperties":false,"type":"object","required":["origin","requests"],"properties":{"origin":{"description":"The web origin this session is bound to.","type":"string"},"requests":{"description":"Pass as `navigator.credentials.get({ digital: { requests } })` from a page at `origin`, inside a user gesture. The browser and the wallet pick one protocol.","type":"array","items":{"anyOf":[{"description":"OpenID4VP over the Digital Credentials API, signed request.","type":"object","required":["protocol","data"],"properties":{"protocol":{"type":"string","enum":["openid4vp-v1-signed"]},"data":{"type":"object","required":["request"],"properties":{"request":{"description":"The signed request object (compact JWS).","type":"string"}}}}},{"description":"ISO mdoc over the Digital Credentials API. Offered in sandbox for checks an mdoc can answer.","type":"object","required":["protocol","data"],"properties":{"protocol":{"type":"string","enum":["org-iso-mdoc"]},"data":{"type":"object","required":["deviceRequest","encryptionInfo"],"properties":{"deviceRequest":{"description":"base64url CBOR DeviceRequest, with reader authentication.","type":"string"},"encryptionInfo":{"description":"base64url CBOR EncryptionInfo with the one-time recipient key.","type":"string"}}}}}]}}}},{"type":"null"}]},"expiresAt":{"type":"string"},"sessionToken":{"description":"A read token scoped to this one session, safe to expose client-side. Pass it as the `X-Nexiel-Verify-Session-Token` header on `GET /v1/verify/sessions/{sessionId}` to read this session's status directly (for example, from a browser embed) without your full production bearer credential. Returned exactly once, here. It cannot be retrieved again and is not the same value as any API key. Like Stripe's PaymentIntent `client_secret`, it proves nothing about the caller's identity and can never read any other session, even one belonging to the same client. A request using it never receives the evidence-pack delivery.","type":"string"},"hostedUrl":{"description":"The Nexiel-hosted verification page for this session: send the user here and Nexiel shows the wallet QR code and link, then returns them to your `successUrl` or `cancelUrl`. The session read token travels in the URL fragment, which never reaches a server. Treat the URL like `sessionToken`: give it only to the user verifying. `cross_device` sessions only; `null` for `same_device` and `dc_api`, which run on your own page.","anyOf":[{"type":"string"},{"type":"null"}]},"sandboxWalletUrl":{"description":"Test mode only: a link that opens this session in the Nexiel sandbox wallet, which answers it with a synthetic test credential in one click. Always `null` for a live session, and for `dc_api`.","anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"maxProperties":20,"propertyNames":{"type":"string","minLength":1,"maxLength":40,"pattern":"^[^\\u0000-\\u001f\\u007f\\ud800-\\udfff]*$"},"description":"Your own key-value data for this session, such as an order or user reference: at most 20 keys, each key 1 to 40 characters and each value at most 500 characters. It is returned on every read of the session and in every `verify.session.*` webhook, and deleted with the session. Do not put personal data in it (names, dates of birth, email addresses, document numbers): use your own opaque identifiers.","type":"object","additionalProperties":{"maxLength":500,"pattern":"^[^\\u0000-\\u001f\\u007f\\ud800-\\udfff]*$","type":"string"},"example":{"orderId":"ord_8213","customerRef":"cus_42"}},"transactionData":{"description":"For an `sca-*` session, one entry per transaction sent to the wallet: its type and the hash of the exact string the wallet signs over. The transaction details themselves are not returned or kept, and `authorizationRequest` above omits the `transaction_data` member, which only ever appears inside the signed request object. Empty for every other check type.","type":"array","items":{"type":"object","required":["type","schemaId","credentialIds","hashAlgorithms","hashes"],"properties":{"type":{"description":"The `transaction_data` type sent to the wallet.","type":"string"},"schemaId":{"description":"The TS12 schema the payload follows, for example `urn:eudi:sca:payment:1`.","type":"string"},"credentialIds":{"description":"The DCQL credential query ids that may authorise it.","type":"array","items":{"type":"string"}},"hashAlgorithms":{"type":"array","items":{"anyOf":[{"type":"string","enum":["sha-256"]},{"type":"string","enum":["sha-384"]},{"type":"string","enum":["sha-512"]}]}},"hashes":{"description":"Per offered algorithm, the base64url hash of the exact `transaction_data` string the wallet signs over. The string is base64url(UTF-8(JSON)) of {type, credential_ids, transaction_data_hashes_alg, payload} serialized with RFC 8785 (JSON Canonicalization Scheme), so you can recompute it from your own copy of the payload.","type":"object","additionalProperties":{"type":"string"}}}}}}},"examples":{"ageVerificationEuProfile":{"summary":"eu-age-verification session: an unsigned request carried whole in an av:// link, with a redirect_uri: client identifier and the EU age verification attestation as its only credential query","value":{"sessionId":"6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f","templateVersion":"age-verification@3","livemode":true,"clientId":"redirect_uri:https://compliance.nexiel.io/v1/verify/sessions/6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f/responses","requestUri":null,"flow":"cross_device","profile":"eu-age-verification","sessionToken":"Tg5kW2pQ9rLx7cVb1mZ4aHsE8dF3nJ6uYoR0iKzB2wN","authorizationRequest":{"client_id":"redirect_uri:https://compliance.nexiel.io/v1/verify/sessions/6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f/responses","response_type":"vp_token","response_mode":"direct_post","response_uri":"https://compliance.nexiel.io/v1/verify/sessions/6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f/responses","dcql_query":{"credentials":[{"id":"av_age_over_18","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.av.1"},"claims":[{"path":["eu.europa.ec.av.1","age_over_18"]}]}]},"nonce":"Q2v8xLm4-nonce-example-truncated-Hd7kPz1Ws","state":"bR6nJ3t-state-example-truncated-Xc9vLq2Fe"},"authorizationRequestUri":"av://?response_type=vp_token&response_mode=direct_post&client_id=redirect_uri%3Ahttps%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f%2Fresponses&response_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f%2Fresponses&dcql_query=%7B%22credentials%22%3A%5B%7B%22claims%22%3A%5B%7B%22path%22%3A%5B%22eu.europa.ec.av.1%22%2C%22age_over_18%22%5D%7D%5D%2C%22format%22%3A%22mso_mdoc%22%2C%22id%22%3A%22av_age_over_18%22%2C%22meta%22%3A%7B%22doctype_value%22%3A%22eu.europa.ec.av.1%22%7D%7D%5D%7D&nonce=Q2v8xLm4-nonce-example-truncated-Hd7kPz1Ws&state=bR6nJ3t-state-example-truncated-Xc9vLq2Fe","dcApi":null,"expiresAt":"2026-11-19T15:09:09.445Z","hostedUrl":"https://compliance.nexiel.io/v1/verify/hosted/6d2f0c4e-8a1b-4f3d-9e7c-2b5a4d1c0e9f#token=Tg5kW2pQ9rLx7cVb1mZ4aHsE8dF3nJ6uYoR0iKzB2wN","sandboxWalletUrl":null,"metadata":{},"transactionData":[]}},"ageVerification":{"summary":"age-verification session: dcql_query offers the EU AV mdoc age_over_18 claim, the SD-JWT VC PID birthdate claim, or the mdoc PID birth_date element as alternatives through credential_sets, and a wallet answers exactly one","value":{"sessionId":"f1be0a07-e161-4827-a4c3-3337952859ff","templateVersion":"age-verification@3","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","livemode":true,"requestUri":"https://compliance.nexiel.io/v1/verify/sessions/f1be0a07-e161-4827-a4c3-3337952859ff/request-object","flow":"cross_device","profile":"haip","sessionToken":"Yq3nW0vR8tLx2cKbP5mZ7aHdE9sF1gJ4uNoQ6iTzA8w","authorizationRequest":{"client_id":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","response_type":"vp_token","response_mode":"direct_post.jwt","response_uri":"https://compliance.nexiel.io/v1/verify/sessions/f1be0a07-e161-4827-a4c3-3337952859ff/responses","nonce":"-SZgEPglIAiTT0LcV1smKeyCna49ccKyqNdsz98jxj4","state":"w3b6d4ohOvuYDe3t50rl7BroLjlBl_c5I1ROHGIyxcU","dcql_query":{"credentials":[{"id":"av_age_over_18","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.av.1"},"claims":[{"path":["eu.europa.ec.av.1","age_over_18"]}]},{"id":"pid_birthdate","format":"dc+sd-jwt","meta":{"vct_values":["urn:eudi:pid:1","urn:eudi:pid:de:1"]},"claims":[{"path":["birthdate"]}]},{"id":"pid_birthdate_mdoc","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.eudi.pid.1"},"claims":[{"path":["eu.europa.ec.eudi.pid.1","birth_date"]}]}],"credential_sets":[{"options":[["av_age_over_18"],["pid_birthdate"],["pid_birthdate_mdoc"]],"required":true}]},"client_metadata":{"jwks":{"keys":[{"kty":"EC","crv":"P-256","x":"kqYdLbmVZ0n7Ihz6QG4sXWh1G4Nq0eLb0q4m8Yb7ZtE","y":"cU2k2Zp7z5oq2Yx3sFjD3o8d7oZ6zH8Qe1vT5nY3pQw","kid":"6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c","use":"enc","alg":"ECDH-ES"}]},"encrypted_response_enc_values_supported":["A128GCM","A256GCM"],"vp_formats_supported":{"dc+sd-jwt":{"sd-jwt_alg_values":["ES256","ES384","ES512"],"kb-jwt_alg_values":["ES256","ES384","ES512","Ed25519","EdDSA"]},"mso_mdoc":{"issuerauth_alg_values":[-7,-9,-35,-51,-36,-52],"deviceauth_alg_values":[-7,-9,-35,-51,-36,-52,-19,-8]}}},"verifier_info":[{"format":"registration_cert","data":"eyJ0eXAiOiJyYy13cnArand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated registration certificate)"}]},"authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2Ff1be0a07-e161-4827-a4c3-3337952859ff%2Frequest-object&request_uri_method=post","dcApi":null,"expiresAt":"2026-07-05T13:09:09.445Z","hostedUrl":"https://compliance.nexiel.io/v1/verify/hosted/f1be0a07-e161-4827-a4c3-3337952859ff#token=Yq3nW0vR8tLx2cKbP5mZ7aHdE9sF1gJ4uNoQ6iTzA8w","sandboxWalletUrl":null,"metadata":{},"transactionData":[]}},"amlIdentity":{"summary":"aml-identity session: dcql_query names given_name/family_name/birthdate/nationalities, offered for the SD-JWT VC PID or, with the same attributes, the mdoc PID","value":{"sessionId":"4fc1ad3c-a197-4b09-bc62-68842fc69947","templateVersion":"aml-identity@2","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","livemode":true,"requestUri":"https://compliance.nexiel.io/v1/verify/sessions/4fc1ad3c-a197-4b09-bc62-68842fc69947/request-object","flow":"cross_device","profile":"haip","sessionToken":"b7Kp2XrM9vLs4QnE1tWy6cHg3JdZ8aUf0iRoS5kNxPe","authorizationRequest":{"client_id":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","response_type":"vp_token","response_mode":"direct_post.jwt","response_uri":"https://compliance.nexiel.io/v1/verify/sessions/4fc1ad3c-a197-4b09-bc62-68842fc69947/responses","nonce":"amIcbtsnz9umxzWKu--gPBHPUUmcH5R4TukgGSw-ALI","state":"jqz4jEBGULUkWgkp_lcpBsbgbV3adNuJvx5xxk55gus","dcql_query":{"credentials":[{"id":"pid_aml_identity","format":"dc+sd-jwt","meta":{"vct_values":["urn:eudi:pid:1","urn:eudi:pid:de:1"]},"claims":[{"path":["given_name"]},{"path":["family_name"]},{"path":["birthdate"]},{"path":["nationalities"]}]},{"id":"pid_aml_identity_mdoc","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.eudi.pid.1"},"claims":[{"path":["eu.europa.ec.eudi.pid.1","given_name"]},{"path":["eu.europa.ec.eudi.pid.1","family_name"]},{"path":["eu.europa.ec.eudi.pid.1","birth_date"]},{"path":["eu.europa.ec.eudi.pid.1","nationality"]}]}],"credential_sets":[{"options":[["pid_aml_identity"],["pid_aml_identity_mdoc"]],"required":true}]},"client_metadata":{"jwks":{"keys":[{"kty":"EC","crv":"P-256","x":"kqYdLbmVZ0n7Ihz6QG4sXWh1G4Nq0eLb0q4m8Yb7ZtE","y":"cU2k2Zp7z5oq2Yx3sFjD3o8d7oZ6zH8Qe1vT5nY3pQw","kid":"6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c","use":"enc","alg":"ECDH-ES"}]},"encrypted_response_enc_values_supported":["A128GCM","A256GCM"],"vp_formats_supported":{"dc+sd-jwt":{"sd-jwt_alg_values":["ES256","ES384","ES512"],"kb-jwt_alg_values":["ES256","ES384","ES512","Ed25519","EdDSA"]},"mso_mdoc":{"issuerauth_alg_values":[-7,-9,-35,-51,-36,-52],"deviceauth_alg_values":[-7,-9,-35,-51,-36,-52,-19,-8]}}},"verifier_info":[{"format":"registration_cert","data":"eyJ0eXAiOiJyYy13cnArand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated registration certificate)"}]},"authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F4fc1ad3c-a197-4b09-bc62-68842fc69947%2Frequest-object&request_uri_method=post","dcApi":null,"expiresAt":"2026-07-05T17:27:16.353Z","hostedUrl":"https://compliance.nexiel.io/v1/verify/hosted/4fc1ad3c-a197-4b09-bc62-68842fc69947#token=b7Kp2XrM9vLs4QnE1tWy6cHg3JdZ8aUf0iRoS5kNxPe","sandboxWalletUrl":null,"metadata":{},"transactionData":[]}},"strGuestRegistration":{"summary":"str-guest-registration session: dcql_query names given_name/family_name/birthdate/nationalities/document_number (the aml-identity PID claims plus document_number), for either PID format","value":{"sessionId":"9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c","templateVersion":"str-guest-registration@2","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","livemode":true,"requestUri":"https://compliance.nexiel.io/v1/verify/sessions/9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c/request-object","flow":"cross_device","profile":"haip","sessionToken":"Hn4tQ8wZ1cRv6LmB3pKy9sXa2EdJ7gUf0oTiN5bWqMk","authorizationRequest":{"client_id":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","response_type":"vp_token","response_mode":"direct_post.jwt","response_uri":"https://compliance.nexiel.io/v1/verify/sessions/9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c/responses","nonce":"k3y8m1nz-nonce-example-truncated-Rq4vD9wXeUOgSTAzL","state":"p7t2q5x-state-example-truncated-mBKf8jVN0hYd3ZcRu","dcql_query":{"credentials":[{"id":"pid_str_guest_registration","format":"dc+sd-jwt","meta":{"vct_values":["urn:eudi:pid:1","urn:eudi:pid:de:1"]},"claims":[{"path":["given_name"]},{"path":["family_name"]},{"path":["birthdate"]},{"path":["nationalities"]},{"path":["document_number"]}]},{"id":"pid_str_guest_registration_mdoc","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.eudi.pid.1"},"claims":[{"path":["eu.europa.ec.eudi.pid.1","given_name"]},{"path":["eu.europa.ec.eudi.pid.1","family_name"]},{"path":["eu.europa.ec.eudi.pid.1","birth_date"]},{"path":["eu.europa.ec.eudi.pid.1","nationality"]},{"path":["eu.europa.ec.eudi.pid.1","document_number"]}]}],"credential_sets":[{"options":[["pid_str_guest_registration"],["pid_str_guest_registration_mdoc"]],"required":true}]},"client_metadata":{"jwks":{"keys":[{"kty":"EC","crv":"P-256","x":"kqYdLbmVZ0n7Ihz6QG4sXWh1G4Nq0eLb0q4m8Yb7ZtE","y":"cU2k2Zp7z5oq2Yx3sFjD3o8d7oZ6zH8Qe1vT5nY3pQw","kid":"6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c","use":"enc","alg":"ECDH-ES"}]},"encrypted_response_enc_values_supported":["A128GCM","A256GCM"],"vp_formats_supported":{"dc+sd-jwt":{"sd-jwt_alg_values":["ES256","ES384","ES512"],"kb-jwt_alg_values":["ES256","ES384","ES512","Ed25519","EdDSA"]},"mso_mdoc":{"issuerauth_alg_values":[-7,-9,-35,-51,-36,-52],"deviceauth_alg_values":[-7,-9,-35,-51,-36,-52,-19,-8]}}},"verifier_info":[{"format":"registration_cert","data":"eyJ0eXAiOiJyYy13cnArand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated registration certificate)"}]},"authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c%2Frequest-object&request_uri_method=post","dcApi":null,"expiresAt":"2026-08-26T17:27:16.353Z","hostedUrl":"https://compliance.nexiel.io/v1/verify/hosted/9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c#token=Hn4tQ8wZ1cRv6LmB3pKy9sXa2EdJ7gUf0oTiN5bWqMk","sandboxWalletUrl":null,"metadata":{},"transactionData":[]}},"loginAuthentication":{"summary":"login-authentication session: dcql_query names only the PID birth date (in either PID format), the smallest non-empty claim set a request template allows","value":{"sessionId":"c4d8f2a1-3b6e-4c9d-8a1f-5e6b7c8d9e0f","templateVersion":"login-authentication@2","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","livemode":true,"requestUri":"https://compliance.nexiel.io/v1/verify/sessions/c4d8f2a1-3b6e-4c9d-8a1f-5e6b7c8d9e0f/request-object","flow":"cross_device","profile":"haip","sessionToken":"r2Vc8NkT5yHq1ZmW7pLs3XeB9aDf4gJu6iKoQ0tRnSb","authorizationRequest":{"client_id":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","response_type":"vp_token","response_mode":"direct_post.jwt","response_uri":"https://compliance.nexiel.io/v1/verify/sessions/c4d8f2a1-3b6e-4c9d-8a1f-5e6b7c8d9e0f/responses","nonce":"nH3xVpQz-nonce-example-truncated-K9wLd2fRtYbC","state":"sT7mB4x-state-example-truncated-QpJ6vNc3ZwXe","dcql_query":{"credentials":[{"id":"pid_login_authentication","format":"dc+sd-jwt","meta":{"vct_values":["urn:eudi:pid:1","urn:eudi:pid:de:1"]},"claims":[{"path":["birthdate"]}]},{"id":"pid_login_authentication_mdoc","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.eudi.pid.1"},"claims":[{"path":["eu.europa.ec.eudi.pid.1","birth_date"]}]}],"credential_sets":[{"options":[["pid_login_authentication"],["pid_login_authentication_mdoc"]],"required":true}]},"client_metadata":{"jwks":{"keys":[{"kty":"EC","crv":"P-256","x":"kqYdLbmVZ0n7Ihz6QG4sXWh1G4Nq0eLb0q4m8Yb7ZtE","y":"cU2k2Zp7z5oq2Yx3sFjD3o8d7oZ6zH8Qe1vT5nY3pQw","kid":"6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c","use":"enc","alg":"ECDH-ES"}]},"encrypted_response_enc_values_supported":["A128GCM","A256GCM"],"vp_formats_supported":{"dc+sd-jwt":{"sd-jwt_alg_values":["ES256","ES384","ES512"],"kb-jwt_alg_values":["ES256","ES384","ES512","Ed25519","EdDSA"]},"mso_mdoc":{"issuerauth_alg_values":[-7,-9,-35,-51,-36,-52],"deviceauth_alg_values":[-7,-9,-35,-51,-36,-52,-19,-8]}}},"verifier_info":[{"format":"registration_cert","data":"eyJ0eXAiOiJyYy13cnArand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated registration certificate)"}]},"authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2Fc4d8f2a1-3b6e-4c9d-8a1f-5e6b7c8d9e0f%2Frequest-object&request_uri_method=post","dcApi":null,"expiresAt":"2026-08-26T17:27:16.353Z","hostedUrl":"https://compliance.nexiel.io/v1/verify/hosted/c4d8f2a1-3b6e-4c9d-8a1f-5e6b7c8d9e0f#token=r2Vc8NkT5yHq1ZmW7pLs3XeB9aDf4gJu6iKoQ0tRnSb","sandboxWalletUrl":null,"metadata":{},"transactionData":[]}},"scaPayment":{"summary":"sca-payment session: dcql_query asks for your users' bank's SCA attestation with no claims. The payment is sent to the wallet as transaction_data inside the signed request only; transactionData returns the hash of the exact string the wallet signs over","value":{"sessionId":"7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09","templateVersion":"sca-payment@1","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","livemode":true,"requestUri":"https://compliance.nexiel.io/v1/verify/sessions/7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09/request-object","flow":"cross_device","profile":"haip","sessionToken":"P8sTz2Lq5WmX1cVb7nRk4yHd0aFj3gUe6iKoQ9tBnSa","authorizationRequest":{"client_id":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","response_type":"vp_token","response_mode":"direct_post.jwt","response_uri":"https://compliance.nexiel.io/v1/verify/sessions/7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09/responses","nonce":"Zx7c2Vb9-nonce-example-truncated-Lq3Wm8Nr","state":"Hd4k8Jf1-state-example-truncated-Ty6Pz2Qx","dcql_query":{"credentials":[{"id":"sca_attestation","format":"dc+sd-jwt","meta":{"vct_values":["https://bank.example/credentials/sca/payment-account"]}}]},"client_metadata":{"jwks":{"keys":[{"kty":"EC","crv":"P-256","x":"kqYdLbmVZ0n7Ihz6QG4sXWh1G4Nq0eLb0q4m8Yb7ZtE","y":"cU2k2Zp7z5oq2Yx3sFjD3o8d7oZ6zH8Qe1vT5nY3pQw","kid":"6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c","use":"enc","alg":"ECDH-ES"}]},"encrypted_response_enc_values_supported":["A128GCM","A256GCM"],"vp_formats_supported":{"dc+sd-jwt":{"sd-jwt_alg_values":["ES256","ES384","ES512"],"kb-jwt_alg_values":["ES256","ES384","ES512","Ed25519","EdDSA"]}}},"verifier_info":[{"format":"registration_cert","data":"eyJ0eXAiOiJyYy13cnArand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated registration certificate)"}]},"authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09%2Frequest-object&request_uri_method=post","dcApi":null,"expiresAt":"2026-10-11T10:09:00.000Z","hostedUrl":"https://compliance.nexiel.io/v1/verify/hosted/7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09#token=P8sTz2Lq5WmX1cVb7nRk4yHd0aFj3gUe6iKoQ9tBnSa","sandboxWalletUrl":null,"metadata":{},"transactionData":[{"type":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","credentialIds":["sca_attestation"],"hashAlgorithms":["sha-256"],"hashes":{"sha-256":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q"}}]}},"ageVerificationDcApi":{"summary":"A dc_api session: no request_uri or wallet link; pass dcApi.requests to navigator.credentials.get() from a page at dcApi.origin. This sandbox example also offers org-iso-mdoc, once for each mdoc that can answer the check.","value":{"sessionId":"7d3e9a10-2b4c-4f6d-8e1a-9c0b2d4f6a8e","templateVersion":"age-verification@3","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","livemode":false,"requestUri":null,"flow":"dc_api","profile":"haip","sessionToken":"Pz6sV1nQ8tLx3cKbR5mW7aHdE9yF2gJ4uNoT0iUzA7v","authorizationRequest":{"client_id":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","response_type":"vp_token","response_mode":"dc_api.jwt","expected_origins":["https://shop.example.eu"],"nonce":"Q1v9mXz-nonce-example-truncated-Kd8wLr2fTyBc","dcql_query":{"credentials":[{"id":"av_age_over_18","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.av.1"},"claims":[{"path":["eu.europa.ec.av.1","age_over_18"]}]},{"id":"pid_birthdate","format":"dc+sd-jwt","meta":{"vct_values":["urn:eudi:pid:1","urn:eudi:pid:de:1"]},"claims":[{"path":["birthdate"]}]},{"id":"pid_birthdate_mdoc","format":"mso_mdoc","meta":{"doctype_value":"eu.europa.ec.eudi.pid.1"},"claims":[{"path":["eu.europa.ec.eudi.pid.1","birth_date"]}]}],"credential_sets":[{"options":[["av_age_over_18"],["pid_birthdate"],["pid_birthdate_mdoc"]],"required":true}]},"client_metadata":{"jwks":{"keys":[{"kty":"EC","crv":"P-256","x":"kqYdLbmVZ0n7Ihz6QG4sXWh1G4Nq0eLb0q4m8Yb7ZtE","y":"cU2k2Zp7z5oq2Yx3sFjD3o8d7oZ6zH8Qe1vT5nY3pQw","kid":"6f1c2e0a-4b7d-4f8e-9a3c-2d1e0f9b8a7c","use":"enc","alg":"ECDH-ES"}]},"encrypted_response_enc_values_supported":["A128GCM","A256GCM"],"vp_formats_supported":{"dc+sd-jwt":{"sd-jwt_alg_values":["ES256","ES384","ES512"],"kb-jwt_alg_values":["ES256","ES384","ES512","Ed25519","EdDSA"]},"mso_mdoc":{"issuerauth_alg_values":[-7,-9,-35,-51,-36,-52],"deviceauth_alg_values":[-7,-9,-35,-51,-36,-52,-19,-8]}}},"verifier_info":[{"format":"registration_cert","data":"eyJ0eXAiOiJyYy13cnArand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated registration certificate)"}]},"authorizationRequestUri":null,"dcApi":{"origin":"https://shop.example.eu","requests":[{"protocol":"openid4vp-v1-signed","data":{"request":"eyJ0eXAiOiJvYXV0aC1hdXRoei1yZXErand0IiwiYWxnIjoiRVMyNTYiLCJ4NWMiOlsiTUlJQi4uLiJdfQ...(truncated signed request)"}},{"protocol":"org-iso-mdoc","data":{"deviceRequest":"omd2ZXJzaW9uYzEuMGtkb2NSZXF1ZXN0c4Gi...(truncated DeviceRequest for eu.europa.ec.av.1)","encryptionInfo":"gmVkY2FwaaJlbm9uY2VYI...(truncated)"}},{"protocol":"org-iso-mdoc","data":{"deviceRequest":"omd2ZXJzaW9uYzEuMGtkb2NSZXF1ZXN0c4Gi...(truncated DeviceRequest for eu.europa.ec.eudi.pid.1)","encryptionInfo":"gmVkY2FwaaJlbm9uY2VYI...(truncated)"}}]},"expiresAt":"2026-10-11T13:09:09.445Z","hostedUrl":null,"sandboxWalletUrl":null,"metadata":{},"transactionData":[]}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"listVerificationSessions","summary":"List verification sessions for the calling client","tags":["Verification"],"description":"Scoped to the calling client. In production, that is the bearer token's authenticated identity, and any `clientId` in the query string is ignored. In sandbox mode (no bearer token), `clientId` is required and used as given, the same caller-supplied identity sandbox mode uses for `POST /v1/verify/sessions`. Newest first. A test API key lists test-mode sessions only, a live key live ones. Filter by `status`, `checkType` and `created[gt|gte|lt|lte]`. Paginated: pass `nextCursor` as `starting_after` for the next page. `sessions` is a deprecated copy of `data` that will be removed in a future API version. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"minLength":1,"maxLength":255,"type":"string"},"in":"query","name":"clientId","required":false,"description":"Sandbox deployment without an API key only: the client whose sessions to list. Ignored when you call with an API key."},{"schema":{"minimum":1,"maximum":100,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["awaiting_redirect"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]}]},"in":"query","name":"status","required":false,"description":"Only sessions in this status, as a session read reports it (a pending session past its expiry is `expired`)."},{"schema":{"anyOf":[{"type":"string","enum":["age-verification"]},{"type":"string","enum":["aml-identity"]},{"type":"string","enum":["str-guest-registration"]},{"type":"string","enum":["login-authentication"]},{"type":"string","enum":["restricted-purchase-alcohol-18"]},{"type":"string","enum":["restricted-purchase-tobacco-18"]},{"type":"string","enum":["restricted-purchase-lottery-18"]},{"type":"string","enum":["mobile-driving-licence"]},{"type":"string","enum":["corporate-mandate-verification"]},{"type":"string","enum":["sca-payment"]},{"type":"string","enum":["sca-login"]},{"type":"string","enum":["sca-account-access"]},{"type":"string","enum":["sca-emandate"]},{"type":"string","enum":["qes-authorization"]},{"type":"string","enum":["qseal-authorization"]}]},"in":"query","name":"checkType","required":false,"description":"Only sessions of this check type."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"$ref":"#/components/schemas/VerificationSession"}},"sessions":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `sessions` will be removed in a future API version.","type":"array","items":{"$ref":"#/components/schemas/VerificationSession"}}}}]},"examples":{"page":{"summary":"A page of sessions, newest first","value":{"data":[{"sessionId":"f1be0a07-e161-4827-a4c3-3337952859ff","clientId":"docs-example-client","livemode":true,"checkType":"age-verification","templateVersion":"age-verification@3","status":"completed","createdAt":"2026-07-05T12:59:09.445Z","expiresAt":"2026-07-05T13:09:09.445Z","decision":{"method":"eudi_wallet","booleanProofs":{"ageOver18":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"av_mdoc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"not_revocable","mechanism":null,"handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"not_applicable","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_av_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T12:59:14.310Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"2a6e1c3d-9b0a-4f7e-9c1d-8e5f6a7b8c9d","clientId":"docs-example-client","livemode":true,"checkType":"age-verification","templateVersion":"age-verification@3","status":"completed","createdAt":"2026-07-05T13:01:02.004Z","expiresAt":"2026-07-05T13:11:02.004Z","decision":{"method":"eudi_wallet","booleanProofs":{"ageOver18":false},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T13:01:09.772Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"4fc1ad3c-a197-4b09-bc62-68842fc69947","clientId":"docs-example-client","livemode":true,"checkType":"aml-identity","templateVersion":"aml-identity@2","status":"completed","createdAt":"2026-07-05T17:17:16.353Z","expiresAt":"2026-07-05T17:27:16.353Z","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","programs":[],"listedDate":null,"matchedField":"primary_name"}],"customerReviews":[],"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":"pull","transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"46e9426640c6ad6e2cf2f56773e9befd772d95ffb481204bafc93580f45745bf","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T17:17:21.001Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c","clientId":"docs-example-client","livemode":true,"checkType":"str-guest-registration","templateVersion":"str-guest-registration@2","status":"completed","createdAt":"2026-08-26T17:17:16.353Z","expiresAt":"2026-08-26T17:27:16.353Z","decision":{"method":"eudi_wallet","booleanProofs":{"claimsVerified":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":"pull","transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"b30255f2f8b77c205209bb265a908a5b09c014220a2cb4aa0b1cd965d587ac27","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-08-26T17:17:24.508Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09","clientId":"docs-example-client","livemode":true,"checkType":"sca-payment","templateVersion":"sca-payment@1","status":"completed","createdAt":"2026-10-11T09:59:00.000Z","expiresAt":"2026-10-11T10:09:00.000Z","decision":{"method":"eudi_wallet","booleanProofs":{"strongCustomerAuthentication":true,"transactionDataBound":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"sca_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"d32288ec2a965c09b13c42b560dc7ba5c1d5461774201ebb37a874b6185c8c93","trustSource":"sca_attestation_profile","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"transactionDataBinding":[{"type":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","credentialId":"sca_attestation","hashAlgorithm":"sha-256","hash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q"}],"scaAuthentication":{"ts12Version":"1.0.1","transactionType":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","authenticationCode":"deeec2b0-3bea-4477-bd5d-e3462a709481","amr":[{"knowledge":"pin_6_or_more_digits"},{"inherence":"fingerprint_device"}],"factorCategories":["inherence","knowledge"],"responseMode":"direct_post.jwt","keyBindingIssuedAt":"2026-10-11T09:59:41.000Z","attestationType":"https://bank.example/credentials/sca/payment-account","attestationStatusCheck":"valid","issuerTrust":{"source":"tenant_sca_profile","profileId":"3b9d1e2c-7a4f-4c8b-9e1d-2f3a4b5c6d7e","mode":"issuer_anchors","anchorSha256":"9f2c4b8a1e7d3c6b5a4f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b","leafSha256":"1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b"},"dynamicLinking":{"boundElements":["amount","currency","payee.name","payee.id"],"hashAlgorithm":"sha-256","transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","amountEstimated":false,"recurring":false,"amountVariable":false}},"decidedAt":"2026-10-11T09:59:42.120Z"},"metadata":{},"sandboxWalletUrl":null}],"hasMore":false,"nextCursor":null,"sessions":[{"sessionId":"f1be0a07-e161-4827-a4c3-3337952859ff","clientId":"docs-example-client","livemode":true,"checkType":"age-verification","templateVersion":"age-verification@3","status":"completed","createdAt":"2026-07-05T12:59:09.445Z","expiresAt":"2026-07-05T13:09:09.445Z","decision":{"method":"eudi_wallet","booleanProofs":{"ageOver18":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"av_mdoc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"not_revocable","mechanism":null,"handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"not_applicable","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_av_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T12:59:14.310Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"2a6e1c3d-9b0a-4f7e-9c1d-8e5f6a7b8c9d","clientId":"docs-example-client","livemode":true,"checkType":"age-verification","templateVersion":"age-verification@3","status":"completed","createdAt":"2026-07-05T13:01:02.004Z","expiresAt":"2026-07-05T13:11:02.004Z","decision":{"method":"eudi_wallet","booleanProofs":{"ageOver18":false},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T13:01:09.772Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"4fc1ad3c-a197-4b09-bc62-68842fc69947","clientId":"docs-example-client","livemode":true,"checkType":"aml-identity","templateVersion":"aml-identity@2","status":"completed","createdAt":"2026-07-05T17:17:16.353Z","expiresAt":"2026-07-05T17:27:16.353Z","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","programs":[],"listedDate":null,"matchedField":"primary_name"}],"customerReviews":[],"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":"pull","transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"46e9426640c6ad6e2cf2f56773e9befd772d95ffb481204bafc93580f45745bf","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T17:17:21.001Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c","clientId":"docs-example-client","livemode":true,"checkType":"str-guest-registration","templateVersion":"str-guest-registration@2","status":"completed","createdAt":"2026-08-26T17:17:16.353Z","expiresAt":"2026-08-26T17:27:16.353Z","decision":{"method":"eudi_wallet","booleanProofs":{"claimsVerified":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":"pull","transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"b30255f2f8b77c205209bb265a908a5b09c014220a2cb4aa0b1cd965d587ac27","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-08-26T17:17:24.508Z"},"metadata":{},"sandboxWalletUrl":null},{"sessionId":"7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09","clientId":"docs-example-client","livemode":true,"checkType":"sca-payment","templateVersion":"sca-payment@1","status":"completed","createdAt":"2026-10-11T09:59:00.000Z","expiresAt":"2026-10-11T10:09:00.000Z","decision":{"method":"eudi_wallet","booleanProofs":{"strongCustomerAuthentication":true,"transactionDataBound":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"sca_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"d32288ec2a965c09b13c42b560dc7ba5c1d5461774201ebb37a874b6185c8c93","trustSource":"sca_attestation_profile","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"transactionDataBinding":[{"type":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","credentialId":"sca_attestation","hashAlgorithm":"sha-256","hash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q"}],"scaAuthentication":{"ts12Version":"1.0.1","transactionType":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","authenticationCode":"deeec2b0-3bea-4477-bd5d-e3462a709481","amr":[{"knowledge":"pin_6_or_more_digits"},{"inherence":"fingerprint_device"}],"factorCategories":["inherence","knowledge"],"responseMode":"direct_post.jwt","keyBindingIssuedAt":"2026-10-11T09:59:41.000Z","attestationType":"https://bank.example/credentials/sca/payment-account","attestationStatusCheck":"valid","issuerTrust":{"source":"tenant_sca_profile","profileId":"3b9d1e2c-7a4f-4c8b-9e1d-2f3a4b5c6d7e","mode":"issuer_anchors","anchorSha256":"9f2c4b8a1e7d3c6b5a4f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b","leafSha256":"1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b"},"dynamicLinking":{"boundElements":["amount","currency","payee.name","payee.id"],"hashAlgorithm":"sha-256","transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","amountEstimated":false,"recurring":false,"amountVariable":false}},"decidedAt":"2026-10-11T09:59:42.120Z"},"metadata":{},"sandboxWalletUrl":null}]}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/sessions/{sessionId}":{"get":{"operationId":"getVerificationSession","summary":"Read back a verification session's status and (if completed) its decision","tags":["Verification"],"description":"Returns only the non-PII facts stored for the session and its decision, never anything readable from the wallet claims, which exist in plain form only in memory while the callback is processed. `decision` is null until `status` is \"completed\". Its `frozenDecisionArtifact` is the exact engine version, gatesHash, ensembleWeightsHash, and listSnapshotIds pinned at decision time, never recomputed from the configuration in force now. This route can never resolve or clear a POSSIBLE_MATCH result. It only reads one back. `decision.credentialStatus` is the revocation check of the presented credential: a revoked or suspended credential never completes, and \"accepted_with_flag\" means its status could not be established and the status policy for this check type accepted it anyway.\n\nReading a session never hands over its encrypted evidence pack, so polling it is always safe. `decision.evidencePackStatus` says where the pack stands; claim it with `POST /v1/verify/sessions/{sessionId}/evidence-pack/claim`. With push delivery the pack is posted to your evidence-pack webhook endpoint as `verify.evidence_pack.ready` instead; `decision.evidencePackDelivery` says which delivery mode applies.\n\nIn every mode this route also accepts the `X-Nexiel-Verify-Session-Token` header (the `sessionToken` returned by `POST /v1/verify/sessions`) instead of the `Authorization` bearer credential. That token is meant for the end user's browser and can read back only the one session it was issued for, and only its progress: the response is the smaller end-user shape (`sessionId`, `checkType`, `livemode`, `status`, `createdAt`, `expiresAt`, `finished`), never `decision`. No screening result, PEP or sanctions flag, proof, trust detail or evidence pack is ever returned to the end user, because disclosing a screening outcome to the person screened is prohibited. Read the decision from your backend with your API key.\n\nIf your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application). Source restrictions apply only to requests using the bearer credential, never to the `X-Nexiel-Verify-Session-Token` path, because an end user's browser can call from anywhere.","parameters":[{"schema":{"deprecated":true,"anyOf":[{"type":"string","enum":["claim"]},{"type":"string","enum":["peek"]}]},"in":"query","name":"evidencePackDelivery","required":false,"description":"Accepted for compatibility and ignored: reading a session never hands over the evidence pack, whatever this says. Claim the pack with `POST /v1/verify/sessions/{sessionId}/evidence-pack/claim`."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"schema":{"type":"string"},"in":"header","name":"x-nexiel-verify-session-token","required":false,"description":"The session read token returned once by `POST /v1/verify/sessions` (`sessionToken` in its response body). An alternative to the `Authorization` bearer credential that can read back only the one session named in this request's path."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/VerificationSession"},{"additionalProperties":false,"description":"The session as its end user may see it: progress only. Returned when the request is authenticated with the X-Nexiel-Verify-Session-Token header instead of your API key.","type":"object","required":["sessionId","checkType","livemode","status","createdAt","expiresAt","finished"],"properties":{"sessionId":{"type":"string"},"checkType":{"anyOf":[{"type":"string","enum":["age-verification"]},{"type":"string","enum":["aml-identity"]},{"type":"string","enum":["str-guest-registration"]},{"type":"string","enum":["login-authentication"]},{"type":"string","enum":["restricted-purchase-alcohol-18"]},{"type":"string","enum":["restricted-purchase-tobacco-18"]},{"type":"string","enum":["restricted-purchase-lottery-18"]},{"type":"string","enum":["mobile-driving-licence"]},{"type":"string","enum":["corporate-mandate-verification"]},{"type":"string","enum":["sca-payment"]},{"type":"string","enum":["sca-login"]},{"type":"string","enum":["sca-account-access"]},{"type":"string","enum":["sca-emandate"]},{"type":"string","enum":["qes-authorization"]},{"type":"string","enum":["qseal-authorization"]}]},"livemode":{"description":"False for a test-mode session, true for a live one.","type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["awaiting_redirect"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]}]},"createdAt":{"type":"string"},"expiresAt":{"type":"string"},"finished":{"description":"True once the session will not change any more (completed, failed or expired). The outcome of a completed session is available to your backend only, never on this token-authenticated read.","type":"boolean"}}}]},"examples":{"ageVerificationPass":{"summary":"age-verification: the holder is 18 or older, so ageOver18 is true. amlResult, pepFlag, sanctionedFlag, and frozenDecisionArtifact are all null because an age check never runs the AML/PEP matching engine.","value":{"sessionId":"f1be0a07-e161-4827-a4c3-3337952859ff","clientId":"docs-example-client","livemode":true,"checkType":"age-verification","templateVersion":"age-verification@3","status":"completed","createdAt":"2026-07-05T12:59:09.445Z","expiresAt":"2026-07-05T13:09:09.445Z","decision":{"method":"eudi_wallet","booleanProofs":{"ageOver18":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"av_mdoc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"not_revocable","mechanism":null,"handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"not_applicable","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_av_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T12:59:14.310Z"},"metadata":{},"sandboxWalletUrl":null}},"ageVerificationFail":{"summary":"age-verification: the holder is under 18, so ageOver18 is false","value":{"sessionId":"2a6e1c3d-9b0a-4f7e-9c1d-8e5f6a7b8c9d","clientId":"docs-example-client","livemode":true,"checkType":"age-verification","templateVersion":"age-verification@3","status":"completed","createdAt":"2026-07-05T13:01:02.004Z","expiresAt":"2026-07-05T13:11:02.004Z","decision":{"method":"eudi_wallet","booleanProofs":{"ageOver18":false},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T13:01:09.772Z"},"metadata":{},"sandboxWalletUrl":null}},"amlIdentityPossibleMatch":{"summary":"aml-identity: a sandbox-seeded name match with a contradicting date of birth. POSSIBLE_MATCH is never auto-cleared or auto-confirmed, and human review is required (EU AI Act).","value":{"sessionId":"4fc1ad3c-a197-4b09-bc62-68842fc69947","clientId":"docs-example-client","livemode":true,"checkType":"aml-identity","templateVersion":"aml-identity@2","status":"completed","createdAt":"2026-07-05T17:17:16.353Z","expiresAt":"2026-07-05T17:27:16.353Z","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","programs":[],"listedDate":null,"matchedField":"primary_name"}],"customerReviews":[],"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":"pull","transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"46e9426640c6ad6e2cf2f56773e9befd772d95ffb481204bafc93580f45745bf","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-07-05T17:17:21.001Z"},"metadata":{},"sandboxWalletUrl":null}},"strGuestRegistration":{"summary":"str-guest-registration: no AML/PEP screening runs for this checkType, so amlResult, pepFlag, sanctionedFlag, and frozenDecisionArtifact are all null. With an evidence-pack key registered, the encrypted identity claims and document_number are claimed once with POST /v1/verify/sessions/{sessionId}/evidence-pack/claim.","value":{"sessionId":"9a2e4b1c-6f3d-4a8e-9c7b-1d2e3f4a5b6c","clientId":"docs-example-client","livemode":true,"checkType":"str-guest-registration","templateVersion":"str-guest-registration@2","status":"completed","createdAt":"2026-08-26T17:17:16.353Z","expiresAt":"2026-08-26T17:27:16.353Z","decision":{"method":"eudi_wallet","booleanProofs":{"claimsVerified":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":"pull","transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"b30255f2f8b77c205209bb265a908a5b09c014220a2cb4aa0b1cd965d587ac27","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-08-26T17:17:24.508Z"},"metadata":{},"sandboxWalletUrl":null}},"scaPayment":{"summary":"sca-payment: the wallet signed the exact payment, so the decision carries the PSD2 authentication code (the key-binding JWT jti), the two factors used, and the transaction hash that binds the amount and the payee. No payment detail is kept, only the hash.","value":{"sessionId":"7d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a09","clientId":"docs-example-client","livemode":true,"checkType":"sca-payment","templateVersion":"sca-payment@1","status":"completed","createdAt":"2026-10-11T09:59:00.000Z","expiresAt":"2026-10-11T10:09:00.000Z","decision":{"method":"eudi_wallet","booleanProofs":{"strongCustomerAuthentication":true,"transactionDataBound":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null,"listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"sca_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"d32288ec2a965c09b13c42b560dc7ba5c1d5461774201ebb37a874b6185c8c93","trustSource":"sca_attestation_profile","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"transactionDataBinding":[{"type":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","credentialId":"sca_attestation","hashAlgorithm":"sha-256","hash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q"}],"scaAuthentication":{"ts12Version":"1.0.1","transactionType":"urn:eudi:sca:payment:1","schemaId":"urn:eudi:sca:payment:1","authenticationCode":"deeec2b0-3bea-4477-bd5d-e3462a709481","amr":[{"knowledge":"pin_6_or_more_digits"},{"inherence":"fingerprint_device"}],"factorCategories":["inherence","knowledge"],"responseMode":"direct_post.jwt","keyBindingIssuedAt":"2026-10-11T09:59:41.000Z","attestationType":"https://bank.example/credentials/sca/payment-account","attestationStatusCheck":"valid","issuerTrust":{"source":"tenant_sca_profile","profileId":"3b9d1e2c-7a4f-4c8b-9e1d-2f3a4b5c6d7e","mode":"issuer_anchors","anchorSha256":"9f2c4b8a1e7d3c6b5a4f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b","leafSha256":"1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b"},"dynamicLinking":{"boundElements":["amount","currency","payee.name","payee.id"],"hashAlgorithm":"sha-256","transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","amountEstimated":false,"recurring":false,"amountVariable":false}},"decidedAt":"2026-10-11T09:59:42.120Z"},"metadata":{},"sandboxWalletUrl":null}}}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/sessions/{sessionId}/evidence-pack/claim":{"post":{"operationId":"claimVerificationEvidencePack","summary":"Claim a verification's encrypted evidence pack (once; retry-safe with the same Idempotency-Key)","tags":["Evidence packs"],"description":"Hands over the encrypted evidence pack of an 'aml-identity', 'str-guest-registration', 'mobile-driving-licence' or 'corporate-mandate-verification' decision, once. Reading the session (`GET /v1/verify/sessions/{sessionId}`) never does; its `decision.evidencePackStatus` says when a pack is `available`. Requires your API key and an `Idempotency-Key`: a retry with the same key within 60 minutes of the claim returns the same pack, so a crash after the claim never loses it; after that Nexiel deletes its copy and keeps only the hash. A claim with another key after the pack was claimed returns `409 evidence_pack_already_claimed`. A pack still being pushed to your evidence-pack webhook endpoint returns `409 evidence_pack_push_in_progress`; one never claimed within its 7-day lifetime returns `410 evidence_pack_expired`. The end user's `X-Nexiel-Verify-Session-Token` and read-only (agent) keys cannot claim. Rate limited like every API-key route. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["sessionId","evidencePackCiphertext","evidencePackHash","evidencePackFormat","claimedAt","replayableUntil"],"properties":{"sessionId":{"format":"uuid","type":"string"},"evidencePackCiphertext":{"description":"The evidence pack: a JWE in compact serialization (ECDH-ES, A256GCM, P-256) encrypted to your registered evidence-pack public key. Only your private key can decrypt it.","type":"string"},"evidencePackHash":{"description":"SHA-256 (hex) of `evidencePackCiphertext`; Nexiel keeps this hash as proof of handoff.","type":"string"},"evidencePackFormat":{"type":"string","enum":["jwe_compact"]},"claimedAt":{"format":"date-time","type":"string"},"replayableUntil":{"format":"date-time","description":"Until when a retry with the same Idempotency-Key returns this same pack. After that Nexiel holds only the hash.","type":"string"}}},"example":{"sessionId":"640ba930-9e91-4920-ace1-aac93f6e7ce5","evidencePackCiphertext":"evidencePackCiphertext","evidencePackHash":"sha256-3q2+7w==","evidencePackFormat":"jwe_compact","claimedAt":"2026-11-19T10:00:00.000Z","replayableUntil":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sessions/{sessionId}/review":{"post":{"operationId":"reviewVerificationSession","summary":"Record your own review of an 'aml-identity' POSSIBLE_MATCH","tags":["Verification"],"description":"Records your organization's human review of an 'aml-identity' decision classified POSSIBLE_MATCH. A POSSIBLE_MATCH always needs a human review and is never cleared automatically; that human is you, the regulated client, never Nexiel. Compare the decision's `screeningCandidates` (on `GET /v1/verify/sessions/{sessionId}`) with what you know about the person, then record the outcome here. The original result never changes; each review is its own immutable audit record, naming the reviewer (the `reviewerId` you send) and keeping a SHA-256 fingerprint and length of `notes`, never the notes text. You can review again; every review is kept, most recent first. Each recorded review sends a `verify.review.completed` webhook event. Requires your API key with full scope (not a read-only key, never the end user's session token) and an `Idempotency-Key`: a retry with the same key returns the same response without recording a second review. A session that is not a completed `aml-identity` POSSIBLE_MATCH returns `409 verification_not_reviewable`. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["decision"],"properties":{"decision":{"description":"Your outcome: `confirmed_match`, `false_positive`, or `escalated` (still under your own internal review).","anyOf":[{"type":"string","enum":["confirmed_match"]},{"type":"string","enum":["false_positive"]},{"type":"string","enum":["escalated"]}]},"notes":{"maxLength":4000,"description":"Your reviewer's rationale. Nexiel does not store this text: it records only its SHA-256 (of the UTF-8 bytes, with line endings normalised to LF and nothing else changed) and its length, so you can later show that the rationale in your own case records is the one submitted. Keep the text yourself.","type":"string"},"reviewerId":{"pattern":"^[A-Za-z0-9._:-]{1,128}$","maxLength":128,"description":"Your own identifier for the person who made this review, such as a staff number or your case system's user id. Letters, digits and `. _ : -` only: use an opaque id, not a name or an email address.","type":"string","example":"analyst-042"}}},"examples":{"falsePositive":{"summary":"A false positive, with your own reviewer reference and rationale","value":{"decision":"false_positive","notes":"Date of birth on the credential differs from the listed person.","reviewerId":"analyst-0193"}},"escalated":{"summary":"Still under your own internal review","value":{"decision":"escalated"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["sessionId","amlResult","humanReviewRequired","screeningCandidates","customerReviews"],"properties":{"sessionId":{"format":"uuid","type":"string"},"amlResult":{"description":"The original result. A review never changes it.","type":"string","enum":["POSSIBLE_MATCH"]},"humanReviewRequired":{"description":"False once a review is recorded.","type":"boolean","enum":[false]},"screeningCandidates":{"description":"The candidates the screen returned, the same as on the session read. Null for a decision made before candidates were recorded.","anyOf":[{"type":"array","items":{"additionalProperties":false,"type":"object","required":["entityId","source","listRef","entityType","isPep","pepCategory","pepFunctionalCategory","pepStatus","pepJurisdiction","linkedPeps","matchedVia","score","classification"],"properties":{"entityId":{"description":"The listed entity this candidate is.","type":"string"},"source":{"description":"The list it comes from, such as `ofac-sdn` or `eu-fsf`.","type":"string"},"listRef":{"description":"The entity's reference on that list.","type":"string"},"entityType":{"type":"string"},"isPep":{"type":"boolean"},"pepCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"pepFunctionalCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"pepStatus":{"anyOf":[{"type":"string"},{"type":"null"}]},"pepJurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}]},"linkedPeps":{"type":"array","items":{"type":"object","required":["entityId","primaryName","pepCategory","relationshipSchema","relationshipLabel"],"properties":{"entityId":{"type":"string"},"primaryName":{"type":"string"},"pepCategory":{"type":"string"},"relationshipSchema":{"type":"string"},"relationshipLabel":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"matchedVia":{"description":"The matching layers that matched this candidate.","type":"array","items":{"type":"string"}},"score":{"type":"number"},"classification":{"anyOf":[{"type":"string","enum":["CLEAR"]},{"type":"string","enum":["POSSIBLE_MATCH"]},{"type":"string","enum":["CONFIRMED_MATCH"]}]},"programs":{"description":"The sanctions programmes or regimes the list entry is designated under. Empty for PEP lists.","type":"array","items":{"type":"string"}},"listedDate":{"description":"The date the list first designated the entry, when it publishes one.","anyOf":[{"type":"string"},{"type":"null"}]},"matchedField":{"description":"Which of the list entry's names matched: its primary name, an alias, or an alias the list itself rates low quality.","anyOf":[{"type":"string","enum":["primary_name"]},{"type":"string","enum":["alias"]},{"type":"string","enum":["weak_alias"]}]}}}},{"type":"null"}]},"customerReviews":{"description":"Every review of this decision, most recent first.","type":"array","items":{"additionalProperties":false,"type":"object","required":["decision","notesSha256","notesLength","reviewer","reviewedAt"],"properties":{"decision":{"anyOf":[{"type":"string","enum":["confirmed_match"]},{"type":"string","enum":["false_positive"]},{"type":"string","enum":["escalated"]}]},"notesSha256":{"description":"SHA-256 (hex) of the UTF-8 notes submitted with the review, line endings normalised to LF; null when none were. Nexiel never stores the text.","anyOf":[{"type":"string"},{"type":"null"}]},"notesLength":{"description":"Length of those notes in Unicode code points; null when none were.","anyOf":[{"type":"integer"},{"type":"null"}]},"reviewer":{"additionalProperties":false,"type":"object","required":["type","userId","reviewerId"],"properties":{"type":{"anyOf":[{"type":"string","enum":["dashboard_user"]},{"type":"string","enum":["api_key"]}]},"userId":{"description":"The dashboard user's account id (dashboard reviews only).","anyOf":[{"type":"string"},{"type":"null"}]},"reviewerId":{"description":"The `reviewerId` you sent with an API review, if any.","anyOf":[{"type":"string"},{"type":"null"}]}}},"reviewedAt":{"format":"date-time","type":"string"}}}}}},"examples":{"reviewed":{"summary":"The decision with the review just recorded. Nexiel keeps only a fingerprint of the notes.","value":{"sessionId":"4fc1ad3c-a197-4b09-bc62-68842fc69947","amlResult":"POSSIBLE_MATCH","humanReviewRequired":false,"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","programs":[],"listedDate":null,"matchedField":"primary_name"}],"customerReviews":[{"decision":"false_positive","notesSha256":"57bf95dfa0b89f465151cbdf878ee1d3bdf2fdcaf6cae0e689f430260a12246c","notesLength":63,"reviewer":{"type":"api_key","userId":null,"reviewerId":"analyst-0193"},"reviewedAt":"2026-07-05T17:41:02.118Z"}]}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sessions/{sessionId}/responses":{"post":{"operationId":"submitVerificationSessionResponse","summary":"Wallet's direct_post callback for a verification session","tags":["Verification"],"description":"Called by the EUDI wallet, never by your backend. The wallet posts `application/x-www-form-urlencoded` with `response`: the authorization response, encrypted (JWE, `ECDH-ES` with `A128GCM` or `A256GCM`) to the one-time key in this session's request object. A plaintext `vp_token` is refused with `400 response_encryption_required`. A wallet that cannot encrypt may send a plaintext `error` instead; it is answered but does not end the session, which stays open for an encrypted response until it expires. An encrypted `error` ends the session at once (`verify.session.failed` with reason `wallet_declined` for `access_denied`, else `wallet_reported_error`) and is answered `200`, with a `redirect_uri` back to your `redirectUri` carrying `#error=<code>` for a same-device session. Like an encrypted presentation, it can be sent by anyone who has fetched the session's request object; the user then starts a new session. A response whose `state` is not this session's is refused without ending the session. A wallet holds no Nexiel API key, so no bearer token is required; if one is attached it is still validated, and an agent-readonly key is rejected. On success the reply is `200` with a `redirect_uri` for the wallet to open; the verification outcome is never returned to the wallet. A presentation that fails any check (issuer signature, key binding, nonce, audience, freshness, or the mdoc session transcript) is answered with a `4xx`. A session started with profile `eu-age-verification` takes the unencrypted form instead, as the EU age verification profile specifies: `vp_token` (a JSON object keyed by credential query id) and `state`, or `error` and `state`. An encrypted `response` is refused for such a session, and a plaintext `vp_token` is refused for every other session. Its success reply is an empty JSON object, and a processed `error` ends the session. A `503` (`verification_busy_retry`) with `Retry-After` means nothing was recorded and the same response can be sent again.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"response":{"minLength":1,"maxLength":524288,"description":"The encrypted authorization response (compact JWE).","type":"string"},"state":{"maxLength":512,"type":"string"},"error":{"minLength":1,"maxLength":512,"type":"string"},"error_description":{"maxLength":2048,"type":"string"},"vp_token":{"description":"Accepted unencrypted only for an `eu-age-verification` session; refused for every other session."}}},"examples":{"encryptedResponse":{"summary":"A wallet's direct_post.jwt callback: the authorization response (vp_token and state) encrypted to the request's one-time ECDH-ES key. Sent as application/x-www-form-urlencoded by real wallets. Truncated.","value":{"response":"eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTI1NkdDTSIsImtpZCI6IjZmMWMyZTBhLi4uIn0...(truncated JWE)"}},"walletDeclined":{"summary":"A wallet that cannot encrypt a response reporting why it cannot satisfy the request, as a plaintext error (error and error_description instead of a response).","value":{"state":"w3b6d4ohOvuYDe3t50rl7BroLjlBl_c5I1ROHGIyxcU","error":"access_denied","error_description":"no credential satisfying the requested credential_sets is available in this wallet"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"redirect_uri":{"description":"Where the wallet sends the user next. Same-device sessions: your `redirectUri` with `#response_code=...`, or with `#error=<code>` after the wallet declined or reported an error. Cross-device sessions: a Nexiel page telling the user to return to the device they started on; absent after a wallet error. The verification outcome is never returned to the wallet.","type":"string"}}},"examples":{"crossDevice":{"summary":"Cross-device session: the wallet shows a Nexiel page telling the user to return to the device they started on.","value":{"redirect_uri":"https://compliance.nexiel.io/v1/verify/wallet-return"}},"sameDevice":{"summary":"Same-device session: the wallet returns the user to your redirectUri with a one-time response_code.","value":{"redirect_uri":"https://shop.example.eu/verified#response_code=Zm9Fq2r8T1uXc5WbN3dY7kLp0sQhA4eVjM6oRiGtUyc"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sessions/{sessionId}/test_helpers/complete":{"post":{"operationId":"completeVerificationSessionTestHelper","summary":"Test mode: complete a session with a synthetic wallet, to a chosen outcome","tags":["Test helpers"],"description":"Test keys only. Answers one of your pending test-mode `cross_device` or `same_device` sessions the way a wallet would, with no browser: it fetches and checks the signed request, gets a synthetic credential from the Nexiel sandbox PID provider for the chosen `persona`, and posts an encrypted presentation (or, for `wallet_declined`, an encrypted error) to the session's normal response endpoint. Every check runs as for a real wallet: issuer trust, your trust policy, credential status, screening for `aml-identity`, and your `verify.session.*` webhooks. A same-device session is also returned through its redirect-back step. An `eu-age-verification` session is answered the way an age verification app answers it: a plain `direct_post` of a TEST age verification attestation (persona `adult` or `minor`; `revoked_credential` does not apply, as the attestation has no status list). Returns the session as `GET /v1/verify/sessions/{sessionId}` would, without spending its one-time evidence-pack delivery. A presentation that fails a check is an outcome, not an error: the session comes back `failed`. A live key gets `403 test_helpers_test_mode_only`; a session that is not one of your pending test-mode sessions gets `404` or `409`. Supports `Idempotency-Key`. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"persona":{"default":"adult","description":"Whose synthetic credential the test wallet presents: adult (default), minor (16 years old: an age check comes back false), or, for a check that presents a PID, sanctioned (screens to CONFIRMED_MATCH on a sanctions list), pep (CONFIRMED_MATCH, politically exposed) or possible_match (the sanctioned name with another date of birth: POSSIBLE_MATCH, human review required).","anyOf":[{"type":"string","enum":["adult"]},{"type":"string","enum":["minor"]},{"type":"string","enum":["sanctioned"]},{"type":"string","enum":["pep"]},{"type":"string","enum":["possible_match"]}]},"outcome":{"default":"present","description":"What the test wallet does: present (default) a valid credential; present a revoked_credential (its status list entry says revoked), an expired_credential or one from an untrusted_issuer, each of which fails the session (`credential_revoked`, `credential_not_valid_now`, `issuer_not_trusted`); or wallet_declined, an encrypted `access_denied` that fails it with `wallet_declined`.","anyOf":[{"type":"string","enum":["present"]},{"type":"string","enum":["revoked_credential"]},{"type":"string","enum":["expired_credential"]},{"type":"string","enum":["untrusted_issuer"]},{"type":"string","enum":["wallet_declined"]}]}}},"examples":{"adult":{"summary":"Present a valid adult test PID (the defaults)","value":{}},"minor":{"summary":"Present a 16-year-old: an age check comes back false","value":{"persona":"minor"}},"sanctioned":{"summary":"aml-identity: present the sanctioned persona, which screens to CONFIRMED_MATCH","value":{"persona":"sanctioned"}},"revoked":{"summary":"Present a revoked credential: the session fails with credential_revoked","value":{"outcome":"revoked_credential"}},"declined":{"summary":"The wallet declines: the session fails with wallet_declined","value":{"outcome":"wallet_declined"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"A verification session: what was asked, its status and, once decided, the outcome.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationSession"},"examples":{"adult":{"summary":"The adult persona: completed, over 18","value":{"sessionId":"b51c2d8e-0a4f-4e6b-9c1d-2f3a4b5c6d7e","clientId":"nx-test-docs-example-a1b2","checkType":"age-verification","templateVersion":"age-verification@1","livemode":false,"status":"completed","createdAt":"2026-11-14T10:00:00.000Z","expiresAt":"2026-11-14T10:10:00.000Z","decision":{"method":"eudi_wallet","listsChecked":[],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"not_applicable","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"not_revocable","mechanism":null,"handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"not_applicable","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"f30003ee19c933aa90563ae3af2334a87741cd9158aae7694ae41c483d8ac605","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-11-14T10:00:03.120Z","booleanProofs":{"ageOver18":true},"amlResult":null,"pepFlag":null,"sanctionedFlag":null},"metadata":{"orderId":"ord_8213"},"sandboxWalletUrl":null}},"sanctioned":{"summary":"The sanctioned persona in an aml-identity session: CONFIRMED_MATCH on a sandbox sanctions list","value":{"sessionId":"b51c2d8e-0a4f-4e6b-9c1d-2f3a4b5c6d7e","clientId":"nx-test-docs-example-a1b2","checkType":"aml-identity","templateVersion":"aml-identity@1","livemode":false,"status":"completed","createdAt":"2026-11-14T10:00:00.000Z","expiresAt":"2026-11-14T10:10:00.000Z","decision":{"method":"eudi_wallet","listsChecked":["sandbox"],"humanReviewRequired":false,"frozenDecisionArtifact":null,"screeningCandidates":null,"credentialMechanism":"pid_sd_jwt_vc","evidencePackStatus":"available","evidencePackDelivery":null,"transactionDataBinding":null,"scaAuthentication":null,"credentialStatus":{"status":"not_revocable","mechanism":null,"handling":"accepted","unavailableReason":null},"issuerCertificateStatus":{"status":"not_applicable","handling":"accepted"},"trustPolicy":{"versionId":null,"sha256":"46e9426640c6ad6e2cf2f56773e9befd772d95ffb481204bafc93580f45745bf","trustSource":"eu_pid_providers","issuerJurisdiction":null,"trustAnchorSha256":null,"issuerRegistration":null},"decidedAt":"2026-11-14T10:00:03.120Z","booleanProofs":{},"amlResult":"CONFIRMED_MATCH","pepFlag":false,"sanctionedFlag":true},"metadata":{"orderId":"ord_8213"},"sandboxWalletUrl":null}},"revoked":{"summary":"A revoked credential: the session failed (verify.session.failed, reason credential_revoked)","value":{"sessionId":"b51c2d8e-0a4f-4e6b-9c1d-2f3a4b5c6d7e","clientId":"nx-test-docs-example-a1b2","checkType":"age-verification","templateVersion":"age-verification@1","livemode":false,"status":"failed","createdAt":"2026-11-14T10:00:00.000Z","expiresAt":"2026-11-14T10:10:00.000Z","decision":null,"metadata":{"orderId":"ord_8213"},"sandboxWalletUrl":null}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"502":{"description":"Upstream error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/sessions/{sessionId}/cancel":{"post":{"operationId":"cancelVerificationSession","summary":"Cancel a pending session (the user declined on your page or the hosted page)","tags":["Verification"],"description":"Authenticated by the `X-Nexiel-Verify-Session-Token` header, so the browser holding the session can call it. A pending session ends at once as `failed` with reason `user_cancelled` (announced as `verify.session.failed`), and no wallet response can complete it afterwards. Idempotent: a session that already failed or expired is reported as it is. A completed session, or one waiting for its same-device redirect-back, cannot be cancelled (`409`). A wrong or missing token gets `404`, like an unknown session.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"schema":{"type":"string"},"in":"header","name":"x-nexiel-verify-session-token","required":false,"description":"The `sessionToken` returned when the session was created. Required."},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"description":"`failed` once cancelled (also for a session that had already failed); `expired` for one that had already expired.","anyOf":[{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]}]},"cancelUrl":{"description":"The session's `cancelUrl`, when it has one.","type":"string"},"autoReturn":{"description":"True for a live session: go to `cancelUrl` at once. A test session shows a link instead.","type":"boolean"}}},"example":{"status":"failed","cancelUrl":"https://example.com/cancelurl","autoReturn":false}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sessions/{sessionId}/request-object":{"get":{"operationId":"getVerificationRequestObject","summary":"Signed request object for a session (wallet request_uri, GET)","tags":["Verification"],"description":"Called by the EUDI wallet, never by your backend. Returns the signed request object (`application/oauth-authz-req+jwt`, RFC 9101) for the `request_uri` in `authorizationRequestUri`. It is signed with your access certificate key: header `typ: oauth-authz-req+jwt`, `alg: ES256`, `x5c` (your certificate chain, trust anchor excluded) and `iat`; the `client_id` is `x509_hash:` plus the SHA-256 of that certificate. It may be fetched more than once while the session is open, up to a fixed limit. POST (`request_uri_method=post`) accepts `wallet_nonce`, echoed inside the signed object, and `wallet_metadata`. Any error status tells the wallet to stop.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","content":{"application/oauth-authz-req+jwt":{"schema":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","type":"string"}}}},"400":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"404":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"409":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"410":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"429":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}},"503":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}}}},"post":{"operationId":"postVerificationRequestObject","summary":"Signed request object for a session (wallet request_uri, POST)","tags":["Verification"],"description":"Called by the EUDI wallet, never by your backend. Returns the signed request object (`application/oauth-authz-req+jwt`, RFC 9101) for the `request_uri` in `authorizationRequestUri`. It is signed with your access certificate key: header `typ: oauth-authz-req+jwt`, `alg: ES256`, `x5c` (your certificate chain, trust anchor excluded) and `iat`; the `client_id` is `x509_hash:` plus the SHA-256 of that certificate. It may be fetched more than once while the session is open, up to a fixed limit. POST (`request_uri_method=post`) accepts `wallet_nonce`, echoed inside the signed object, and `wallet_metadata`. Any error status tells the wallet to stop.","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"additionalProperties":true,"type":"object","properties":{"wallet_metadata":{"maxLength":16384,"type":"string"},"wallet_nonce":{"minLength":1,"maxLength":512,"type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","content":{"application/oauth-authz-req+jwt":{"schema":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","type":"string"}}}},"400":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"404":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"409":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"410":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"429":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}},"503":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/sessions/{sessionId}/redirect-return":{"post":{"operationId":"completeVerificationRedirectReturn","summary":"Complete a same-device session with its redirect-back response code","tags":["Verification"],"description":"Same-device sessions only. After the wallet sends the user back to your `redirectUri` with `#response_code=...`, send that code here from the same browser session (with the session's `X-Nexiel-Verify-Session-Token`) or from your backend (with your API key). Until this call succeeds the session reports `awaiting_redirect` and no decision is released; if the code never arrives within 10 minutes, the presentation is rejected and the session fails. A wrong code returns `403`; it does not consume the session. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["responseCode"],"properties":{"responseCode":{"minLength":16,"maxLength":256,"description":"The `response_code` from the URL fragment.","type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["sessionId","status"],"properties":{"sessionId":{"type":"string"},"status":{"type":"string","enum":["completed"]}}},"example":{"sessionId":"640ba930-9e91-4920-ace1-aac93f6e7ce5","status":"completed"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sandbox/test-ca.pem":{"get":{"operationId":"getSandboxTestCaCertificate","summary":"Nexiel TEST CA root certificate (test mode)","tags":["Verification"],"description":"Public. The root certificate of the Nexiel TEST CA that issues test-mode access and registration certificates and the test-mode credentials of the sandbox issuers. Configure it as the trust anchor of a test wallet or conformance suite so it accepts test-mode request objects. A live API key never trusts it, and live mode rejects every certificate it issues. Returns `404` where test mode is switched off.","responses":{"200":{"description":"A PEM-encoded X.509 certificate.","content":{"application/x-pem-file":{"schema":{"description":"A PEM-encoded X.509 certificate.","type":"string"}}}},"404":{"description":"Default Response","content":{"application/x-pem-file":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/sessions/{sessionId}/dc-api-response":{"post":{"operationId":"submitVerificationDcApiResponse","summary":"Complete a Digital Credentials API session with the credential the browser returned","tags":["Verification"],"description":"`dc_api` sessions only. After `navigator.credentials.get({ digital: { requests } })` resolves on the page at the session's `origin`, send the returned credential's `protocol` and `data` here unchanged, from that browser (with the session's `X-Nexiel-Verify-Session-Token`) or from your backend (with your API key). The response is encrypted to this session's one-time key: `dc_api.jwt` for `openid4vp-v1-signed`, HPKE for `org-iso-mdoc`. A plaintext `vp_token` is refused with `400 response_encryption_required`. Every presentation must be bound to the session's origin (a key-binding JWT `aud` of `origin:` plus the origin, or an mdoc session transcript built from it). A response that cannot be decrypted, or an unencrypted wallet `error`, is answered without ending the session; an encrypted wallet error, or a presentation that fails verification, ends it. Each key is deleted after use, so the same response cannot be replayed (`409`). On success the decision is available from `GET /v1/verify/sessions/{sessionId}`. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["protocol","data"],"properties":{"protocol":{"minLength":1,"maxLength":64,"description":"The returned credential's `protocol`.","type":"string"},"data":{"description":"The returned credential's `data`, unchanged (an object)."}}},"examples":{"openId4Vp":{"summary":"The credential's protocol and data as navigator.credentials.get() returned them: an encrypted dc_api.jwt response. Truncated.","value":{"protocol":"openid4vp-v1-signed","data":{"response":"eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTI1NkdDTSIsImtpZCI6IjBiOWU3YzRhLi4uIn0...(truncated JWE)"}}},"isoMdoc":{"summary":"An ISO/IEC 18013-7 Annex C response: the HPKE-encrypted DeviceResponse. Truncated.","value":{"protocol":"org-iso-mdoc","data":{"response":"gmVkY2FwaaJjZW5jWEEE...(truncated EncryptedResponse)"}}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"sessionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["sessionId","status"],"properties":{"sessionId":{"type":"string"},"status":{"type":"string","enum":["completed"]}}},"examples":{"completed":{"summary":"The response was verified; read the decision with GET /v1/verify/sessions/{sessionId}","value":{"sessionId":"7d3e9a10-2b4c-4f6d-8e1a-9c0b2d4f6a8e","status":"completed"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/rp-identity":{"get":{"operationId":"getRpIdentity","summary":"Your relying-party identity, services, instances and certificates","tags":["Relying-party identity"],"description":"Returns `rpIdentity: null` until you create one. Certificates are returned in full; private keys never are.","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["rpIdentity"],"properties":{"rpIdentity":{"anyOf":[{"type":"object","required":["id","legalModel","rpIdentifier","createdAt","updatedAt","services"],"properties":{"id":{"type":"string"},"legalModel":{"description":"`client_held`: you are the relying party in your own name, with your own access and registration certificates. `intermediary`: Nexiel is the registered intermediary; the access certificate is issued to Nexiel for your service, and your registration certificate names you as the relying party and Nexiel as the intermediary.","anyOf":[{"type":"string","enum":["intermediary"]},{"type":"string","enum":["client_held"]}]},"rpIdentifier":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"services":{"type":"array","items":{"type":"object","required":["id","serviceIdentifier","serviceName","isDefault","createdAt","instances","registrationCertificates"],"properties":{"id":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"},"isDefault":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"instances":{"type":"array","items":{"type":"object","required":["id","rpServiceId","environment","keyCustody","publicKeyJwk","csrPem","status","activatedAt","deactivatedAt","deactivationReason","createdAt","accessCertificates"],"properties":{"id":{"type":"string"},"rpServiceId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"keyCustody":{"type":"string"},"publicKeyJwk":{},"csrPem":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"deactivatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"deactivationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"accessCertificates":{"type":"array","items":{"type":"object","required":["id","status","clientIdentifier","subjectDn","issuerDn","serialNumber","organizationIdentifier","commonName","notBefore","notAfter","issuerKind","anchorValidatedAt","revokedAt","revocationReason","chainPem","createdAt"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"clientIdentifier":{"type":"string"},"subjectDn":{"type":"string"},"issuerDn":{"type":"string"},"serialNumber":{"type":"string"},"organizationIdentifier":{"type":"string"},"commonName":{"anyOf":[{"type":"string"},{"type":"null"}]},"notBefore":{"format":"date-time","type":"string"},"notAfter":{"format":"date-time","type":"string"},"issuerKind":{"type":"string"},"anchorValidatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"chainPem":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}}}},"registrationCertificates":{"type":"array","items":{"type":"object","required":["id","environment","format","status","subject","name","intendedUseId","registeredCredentials","issuerKind","issuedAt","expiresAt","anchorValidatedAt","revokedAt","revocationReason","raw","createdAt"],"properties":{"id":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"format":{"description":"`jwt`: sent in OpenID4VP `verifier_info`. `cwt`: sent as ISO/IEC 18013-7 `requestInfo.euWrprc`; `raw` is base64url.","anyOf":[{"type":"string","enum":["jwt"]},{"type":"string","enum":["cwt"]}]},"status":{"type":"string"},"subject":{"type":"string"},"name":{"type":"string"},"intendedUseId":{"anyOf":[{"type":"string"},{"type":"null"}]},"registeredCredentials":{},"issuerKind":{"type":"string"},"issuedAt":{"format":"date-time","type":"string"},"expiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"anchorValidatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"raw":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}}}}}},{"type":"null"}]}}},"example":{"rpIdentity":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","legalModel":"intermediary","rpIdentifier":"rpIdentifier","createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","services":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","serviceIdentifier":"serviceIdentifier","serviceName":"serviceName","isDefault":false,"createdAt":"2026-11-19T10:00:00.000Z","instances":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","keyCustody":"keyCustody","publicKeyJwk":{},"csrPem":"csrPem","status":"status","activatedAt":"2026-11-19T10:00:00.000Z","deactivatedAt":"2026-11-19T10:00:00.000Z","deactivationReason":"deactivationReason","createdAt":"2026-11-19T10:00:00.000Z","accessCertificates":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","status":"status","clientIdentifier":"clientIdentifier","subjectDn":"subjectDn","issuerDn":"issuerDn","serialNumber":"serialNumber","organizationIdentifier":"organizationIdentifier","commonName":"commonName","notBefore":"2026-11-19T10:00:00.000Z","notAfter":"2026-11-19T10:00:00.000Z","issuerKind":"issuerKind","anchorValidatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z","revocationReason":"revocationReason","chainPem":"chainPem","createdAt":"2026-11-19T10:00:00.000Z"}]}],"registrationCertificates":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","environment":"sandbox","format":"jwt","status":"status","subject":"subject","name":"name","intendedUseId":"3a776f52-c8e6-45cc-a597-b0efae48e999","registeredCredentials":{},"issuerKind":"issuerKind","issuedAt":"2026-11-19T10:00:00.000Z","expiresAt":"2026-11-19T10:00:00.000Z","anchorValidatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z","revocationReason":"revocationReason","raw":"raw","createdAt":"2026-11-19T10:00:00.000Z"}]}]}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]},"put":{"operationId":"upsertRpIdentity","summary":"Create or update your relying-party identity","tags":["Relying-party identity"],"description":"Sets your legal model and your registered relying-party identifier. Changing either is refused while any certificate is active, because every certificate is bound to them. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["legalModel","rpIdentifier"],"properties":{"legalModel":{"description":"`client_held`: you are the relying party in your own name, with your own access and registration certificates. `intermediary`: Nexiel is the registered intermediary; the access certificate is issued to Nexiel for your service, and your registration certificate names you as the relying party and Nexiel as the intermediary.","anyOf":[{"type":"string","enum":["intermediary"]},{"type":"string","enum":["client_held"]}]},"rpIdentifier":{"minLength":7,"maxLength":130,"description":"Your relying-party identifier (EN 319 412-1 semantic identifier), as registered. Production certificates are accepted only for your trade register identifier from your approved KYB application: NTR, your registry country and your company number, for example NTRIE-123456. Sandbox accepts any identifier of this form.","type":"string","example":"NTRIE-123456"}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["rpIdentity"],"properties":{"rpIdentity":{"anyOf":[{"type":"object","required":["id","legalModel","rpIdentifier","createdAt","updatedAt","services"],"properties":{"id":{"type":"string"},"legalModel":{"description":"`client_held`: you are the relying party in your own name, with your own access and registration certificates. `intermediary`: Nexiel is the registered intermediary; the access certificate is issued to Nexiel for your service, and your registration certificate names you as the relying party and Nexiel as the intermediary.","anyOf":[{"type":"string","enum":["intermediary"]},{"type":"string","enum":["client_held"]}]},"rpIdentifier":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"services":{"type":"array","items":{"type":"object","required":["id","serviceIdentifier","serviceName","isDefault","createdAt","instances","registrationCertificates"],"properties":{"id":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"},"isDefault":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"instances":{"type":"array","items":{"type":"object","required":["id","rpServiceId","environment","keyCustody","publicKeyJwk","csrPem","status","activatedAt","deactivatedAt","deactivationReason","createdAt","accessCertificates"],"properties":{"id":{"type":"string"},"rpServiceId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"keyCustody":{"type":"string"},"publicKeyJwk":{},"csrPem":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"deactivatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"deactivationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"accessCertificates":{"type":"array","items":{"type":"object","required":["id","status","clientIdentifier","subjectDn","issuerDn","serialNumber","organizationIdentifier","commonName","notBefore","notAfter","issuerKind","anchorValidatedAt","revokedAt","revocationReason","chainPem","createdAt"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"clientIdentifier":{"type":"string"},"subjectDn":{"type":"string"},"issuerDn":{"type":"string"},"serialNumber":{"type":"string"},"organizationIdentifier":{"type":"string"},"commonName":{"anyOf":[{"type":"string"},{"type":"null"}]},"notBefore":{"format":"date-time","type":"string"},"notAfter":{"format":"date-time","type":"string"},"issuerKind":{"type":"string"},"anchorValidatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"chainPem":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}}}},"registrationCertificates":{"type":"array","items":{"type":"object","required":["id","environment","format","status","subject","name","intendedUseId","registeredCredentials","issuerKind","issuedAt","expiresAt","anchorValidatedAt","revokedAt","revocationReason","raw","createdAt"],"properties":{"id":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"format":{"description":"`jwt`: sent in OpenID4VP `verifier_info`. `cwt`: sent as ISO/IEC 18013-7 `requestInfo.euWrprc`; `raw` is base64url.","anyOf":[{"type":"string","enum":["jwt"]},{"type":"string","enum":["cwt"]}]},"status":{"type":"string"},"subject":{"type":"string"},"name":{"type":"string"},"intendedUseId":{"anyOf":[{"type":"string"},{"type":"null"}]},"registeredCredentials":{},"issuerKind":{"type":"string"},"issuedAt":{"format":"date-time","type":"string"},"expiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"anchorValidatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"revocationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"raw":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}}}}}},{"type":"null"}]}}},"example":{"rpIdentity":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","legalModel":"intermediary","rpIdentifier":"rpIdentifier","createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","services":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","serviceIdentifier":"serviceIdentifier","serviceName":"serviceName","isDefault":false,"createdAt":"2026-11-19T10:00:00.000Z","instances":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","keyCustody":"keyCustody","publicKeyJwk":{},"csrPem":"csrPem","status":"status","activatedAt":"2026-11-19T10:00:00.000Z","deactivatedAt":"2026-11-19T10:00:00.000Z","deactivationReason":"deactivationReason","createdAt":"2026-11-19T10:00:00.000Z","accessCertificates":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","status":"status","clientIdentifier":"clientIdentifier","subjectDn":"subjectDn","issuerDn":"issuerDn","serialNumber":"serialNumber","organizationIdentifier":"organizationIdentifier","commonName":"commonName","notBefore":"2026-11-19T10:00:00.000Z","notAfter":"2026-11-19T10:00:00.000Z","issuerKind":"issuerKind","anchorValidatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z","revocationReason":"revocationReason","chainPem":"chainPem","createdAt":"2026-11-19T10:00:00.000Z"}]}],"registrationCertificates":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","environment":"sandbox","format":"jwt","status":"status","subject":"subject","name":"name","intendedUseId":"3a776f52-c8e6-45cc-a597-b0efae48e999","registeredCredentials":{},"issuerKind":"issuerKind","issuedAt":"2026-11-19T10:00:00.000Z","expiresAt":"2026-11-19T10:00:00.000Z","anchorValidatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z","revocationReason":"revocationReason","raw":"raw","createdAt":"2026-11-19T10:00:00.000Z"}]}]}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/rp-identity/services":{"post":{"operationId":"createRpService","summary":"Register a relying-party service","tags":["Relying-party identity"],"description":"Each service gets its own access certificate per instance and its own registration certificates. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["serviceIdentifier","serviceName"],"properties":{"serviceIdentifier":{"pattern":"^[A-Za-z0-9._-]{1,64}$","type":"string","example":"checkout"},"serviceName":{"minLength":1,"maxLength":200,"type":"string","example":"Online checkout"},"isDefault":{"type":"boolean"}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","serviceIdentifier","serviceName","isDefault","createdAt"],"properties":{"id":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"},"isDefault":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","serviceIdentifier":"serviceIdentifier","serviceName":"serviceName","isDefault":false,"createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/rp-identity/services/{serviceId}/instances":{"post":{"operationId":"createRpInstance","summary":"Create a relying-party instance key and its certificate signing request","tags":["Relying-party identity"],"description":"Generates a new key for this service (in production, in a cloud key management service it never leaves) and returns a PKCS#10 certificate signing request. Send the CSR to an access certificate authority authorised by your Member State, then import the issued chain. Importing activates this instance and retires the previous one (key rotation). Production instances need an approved KYB application. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","csrSubject"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"csrSubject":{"additionalProperties":false,"type":"object","required":["commonName","organizationName","country"],"properties":{"commonName":{"minLength":1,"maxLength":200,"type":"string"},"organizationName":{"minLength":1,"maxLength":200,"type":"string"},"country":{"pattern":"^[A-Z]{2}$","type":"string"},"contactUri":{"pattern":"^https://\\S+$","maxLength":512,"type":"string"}}}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["instance","csrPem"],"properties":{"instance":{"type":"object","required":["id","rpServiceId","environment","keyCustody","publicKeyJwk","csrPem","status","activatedAt","deactivatedAt","deactivationReason","createdAt"],"properties":{"id":{"type":"string"},"rpServiceId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"keyCustody":{"type":"string"},"publicKeyJwk":{},"csrPem":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"deactivatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"deactivationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"csrPem":{"type":"string"}}},"example":{"instance":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","keyCustody":"keyCustody","publicKeyJwk":{},"csrPem":"csrPem","status":"status","activatedAt":"2026-11-19T10:00:00.000Z","deactivatedAt":"2026-11-19T10:00:00.000Z","deactivationReason":"deactivationReason","createdAt":"2026-11-19T10:00:00.000Z"},"csrPem":"csrPem"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/instances/{instanceId}/csr":{"get":{"operationId":"getRpInstanceCsr","summary":"Download an instance's certificate signing request","tags":["Relying-party identity"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"instanceId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"PEM text.","content":{"application/pkcs10":{"schema":{"description":"PEM text.","type":"string"}}}},"400":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"401":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"403":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"404":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"409":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"429":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}},"503":{"description":"Default Response","content":{"application/pkcs10":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/rp-identity/instances/{instanceId}/access-certificates":{"post":{"operationId":"importRpAccessCertificate","summary":"Import the access certificate chain issued for an instance","tags":["Relying-party identity"],"description":"Validates the chain against the access certificate profile (ETSI TS 119 411-8), your legal model, and the instance's own key, then activates the instance. Self-signed certificates are always refused, and Nexiel TEST certificates are refused for production instances. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["certificateChainPem"],"properties":{"certificateChainPem":{"minLength":1,"maxLength":65536,"description":"PEM chain, your certificate first.","type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"instanceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/registration-certificates":{"post":{"operationId":"importRpRegistrationCertificate","summary":"Import a registration certificate for a service","tags":["Relying-party identity"],"description":"Validates the registration certificate (ETSI TS 119 475, `rc-wrp+jwt` or `rc-wrp+cwt`): signature, issuer chain, subject, entitlements, policy, validity and the registered credentials. Each request a session sends must stay within the credentials and claims one of your registration certificates registers. The JWT form signs OpenID4VP requests; import the CWT form of the same registration too to have browser sessions also offer ISO/IEC 18013-7 Annex C (`org-iso-mdoc`), which carries it as `requestInfo.euWrprc`. A new certificate replaces the active one of the same form and intended use only. A Nexiel TEST certificate, in either form, is refused in production. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","registrationCertificate"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"registrationCertificate":{"minLength":1,"maxLength":90000,"description":"The registration certificate in either ETSI TS 119 475 form: the compact JWT (`rc-wrp+jwt`), or the CWT (`rc-wrp+cwt`) as base64url or base64 of its COSE_Sign1 bytes. The form is detected from the value.","type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/sandbox-test-certificates":{"post":{"operationId":"issueRpSandboxTestCertificates","summary":"Issue Nexiel TEST certificates for sandbox","tags":["Relying-party identity"],"description":"Sandbox only. Creates a new sandbox instance key and issues it a Nexiel TEST access certificate, plus one Nexiel TEST registration certificate per check type, so you can run the full signed and encrypted wallet flow in sandbox. TEST certificates are marked as such and are refused in production. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["tradeName","legalName","country"],"properties":{"tradeName":{"minLength":1,"maxLength":200,"type":"string"},"legalName":{"minLength":1,"maxLength":200,"type":"string"},"country":{"pattern":"^[A-Z]{2}$","type":"string"},"checkTypes":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string"}}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["instanceId","accessCertificateId","clientIdentifier","registrationCertificateIds","cwtRegistrationCertificateIds"],"properties":{"instanceId":{"type":"string"},"accessCertificateId":{"type":"string"},"clientIdentifier":{"type":"string"},"registrationCertificateIds":{"description":"The JWT form, one per check type.","type":"array","items":{"type":"string"}},"cwtRegistrationCertificateIds":{"description":"The CWT form of the same registrations, one per check type.","type":"array","items":{"type":"string"}}}},"example":{"instanceId":"676a1dbd-1f0d-4452-af5c-4bbc396d8819","accessCertificateId":"3e6f5045-c97b-4632-af3a-f85263ffbe05","clientIdentifier":"clientIdentifier","registrationCertificateIds":["a17701d8-cfd0-4ec8-a052-ee91af390b25"],"cwtRegistrationCertificateIds":["f6af290c-8874-4ec6-a263-0fc51df8cfc5"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/access-certificates/{id}/revoke":{"post":{"operationId":"revokeRpAccessCertificate","summary":"Stop using an access certificate","tags":["Relying-party identity"],"description":"Takes effect immediately: no new session is signed with it. This records your decision at Nexiel; the issuing authority publishes its own revocation status. A test key acts on test-mode records only and a live key on live ones; any other id answers 404. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["reason"],"properties":{"reason":{"minLength":1,"maxLength":200,"type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean","enum":[true]}}},"example":{"ok":true}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/registration-certificates/{id}/revoke":{"post":{"operationId":"revokeRpRegistrationCertificate","summary":"Stop using a registration certificate, in both its JWT and CWT forms","tags":["Relying-party identity"],"description":"Takes effect immediately: no new session is signed with it. This records your decision at Nexiel; the issuing authority publishes its own revocation status. A test key acts on test-mode records only and a live key on live ones; any other id answers 404. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["reason"],"properties":{"reason":{"minLength":1,"maxLength":200,"type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean","enum":[true]}}},"example":{"ok":true}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/instances/{id}/deactivate":{"post":{"operationId":"deactivateRpInstance","summary":"Deactivate a relying-party instance","tags":["Relying-party identity"],"description":"Takes effect immediately: no new session is signed with it. This records your decision at Nexiel; the issuing authority publishes its own revocation status. A test key acts on test-mode records only and a live key on live ones; any other id answers 404. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["reason"],"properties":{"reason":{"minLength":1,"maxLength":200,"type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"id","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean","enum":[true]}}},"example":{"ok":true}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/accepted-issuers":{"get":{"operationId":"listAcceptedIssuers","summary":"The non-qualified attestation issuers you trust","tags":["Accepted issuers"],"description":"Newest first, removed ones included unless `status` narrows the list. Paginated: pass `nextCursor` as `starting_after` for the next page.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":false},{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["REMOVED"]}]},"in":"query","name":"status","required":false,"description":"Only accepted issuers in this status."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["acceptedIssuerId","environment","source","label","attestationLevel","issuerProfileId","rootSha256","status","createdAt","removedAt"],"properties":{"acceptedIssuerId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"source":{"anyOf":[{"type":"string","enum":["NEXIEL_ISSUER"]},{"type":"string","enum":["UPLOADED"]}]},"label":{"type":"string"},"attestationLevel":{"type":"string","enum":["EAA"]},"issuerProfileId":{"anyOf":[{"type":"string"},{"type":"null"}]},"rootSha256":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["REMOVED"]}]},"createdAt":{"format":"date-time","type":"string"},"removedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}}]},"example":{"data":[{"acceptedIssuerId":"60c0fe6c-8e21-4b86-abf6-d1f975d9f231","environment":"sandbox","source":"NEXIEL_ISSUER","label":"label","attestationLevel":"EAA","issuerProfileId":"fab9429c-3ec9-4df4-a87b-5b75fcf2b525","rootSha256":"rootSha256","status":"ACTIVE","createdAt":"2026-11-19T10:00:00.000Z","removedAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"post":{"operationId":"addAcceptedIssuer","summary":"Trust a non-qualified attestation issuer, by reference or by its CA chain","tags":["Accepted issuers"],"description":"Non-qualified attestations are on no EU trusted list: they are trusted by relying parties that choose to trust the issuer’s CA. Reference an attestation provider issuing through Nexiel by its issuer id (production accepts live issuers only), or upload a CA chain. Production writes need an approved KYB application. Supports `Idempotency-Key`. A mobile driving licence or corporate mandate session accepts credentials from one of these issuers once your trust policy for that check type names it, and only through the CA chain you accepted.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","label"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"label":{"minLength":1,"maxLength":200,"type":"string"},"issuerProfileId":{"description":"An attestation provider issuing through Nexiel: trust its published CA anchors, rotations and revocations included.","type":"string"},"caChainPem":{"maxLength":262144,"description":"An issuer's CA chain as PEM, root included, when it does not issue through Nexiel.","type":"string"},"certificates":{"minItems":1,"maxItems":10,"description":"The same chain as base64 DER certificates.","type":"array","items":{"maxLength":65536,"type":"string"}}}},"example":{"environment":"production","label":"Example Members Club","issuerProfileId":"3f8b6c1e-2d4a-4b7e-9c1f-6a5d8e2b7c40"}}}},"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["acceptedIssuerId","environment","source","label","attestationLevel","issuerProfileId","rootSha256","status","createdAt","removedAt"],"properties":{"acceptedIssuerId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"source":{"anyOf":[{"type":"string","enum":["NEXIEL_ISSUER"]},{"type":"string","enum":["UPLOADED"]}]},"label":{"type":"string"},"attestationLevel":{"type":"string","enum":["EAA"]},"issuerProfileId":{"anyOf":[{"type":"string"},{"type":"null"}]},"rootSha256":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["REMOVED"]}]},"createdAt":{"format":"date-time","type":"string"},"removedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"acceptedIssuerId":"60c0fe6c-8e21-4b86-abf6-d1f975d9f231","environment":"sandbox","source":"NEXIEL_ISSUER","label":"label","attestationLevel":"EAA","issuerProfileId":"fab9429c-3ec9-4df4-a87b-5b75fcf2b525","rootSha256":"rootSha256","status":"ACTIVE","createdAt":"2026-11-19T10:00:00.000Z","removedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/accepted-issuers/{acceptedIssuerId}/remove":{"post":{"operationId":"removeAcceptedIssuer","summary":"Stop trusting an accepted issuer","tags":["Accepted issuers"],"description":"Idempotent. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"acceptedIssuerId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["acceptedIssuerId","environment","source","label","attestationLevel","issuerProfileId","rootSha256","status","createdAt","removedAt"],"properties":{"acceptedIssuerId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"source":{"anyOf":[{"type":"string","enum":["NEXIEL_ISSUER"]},{"type":"string","enum":["UPLOADED"]}]},"label":{"type":"string"},"attestationLevel":{"type":"string","enum":["EAA"]},"issuerProfileId":{"anyOf":[{"type":"string"},{"type":"null"}]},"rootSha256":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["ACTIVE"]},{"type":"string","enum":["REMOVED"]}]},"createdAt":{"format":"date-time","type":"string"},"removedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"acceptedIssuerId":"60c0fe6c-8e21-4b86-abf6-d1f975d9f231","environment":"sandbox","source":"NEXIEL_ISSUER","label":"label","attestationLevel":"EAA","issuerProfileId":"fab9429c-3ec9-4df4-a87b-5b75fcf2b525","rootSha256":"rootSha256","status":"ACTIVE","createdAt":"2026-11-19T10:00:00.000Z","removedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/accepted-issuers/anchors":{"get":{"operationId":"listAcceptedIssuerAnchors","summary":"The CA chains your accepted issuers resolve to right now","tags":["Accepted issuers"],"description":"Each referenced issuer's currently published CA anchors (never a revoked or expired one) and each uploaded chain still valid. Paginated by accepted issuer, newest first: a page covers up to `limit` of your active accepted issuers, with every anchor each one resolves to now. Pass `nextCursor` (or the id of an accepted issuer) as `starting_after` for the next page.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":true},{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["acceptedIssuerId","source","label","attestationLevel","issuerProfileId","issuerCaAnchorId","certificates"],"properties":{"acceptedIssuerId":{"type":"string"},"source":{"anyOf":[{"type":"string","enum":["NEXIEL_ISSUER"]},{"type":"string","enum":["UPLOADED"]}]},"label":{"type":"string"},"attestationLevel":{"type":"string","enum":["EAA"]},"issuerProfileId":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuerCaAnchorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"certificates":{"description":"Base64 DER, lowest CA first, the root (the trust anchor) last.","type":"array","items":{"type":"string"}}}}}}}]},"example":{"data":[{"acceptedIssuerId":"60c0fe6c-8e21-4b86-abf6-d1f975d9f231","source":"NEXIEL_ISSUER","label":"label","attestationLevel":"EAA","issuerProfileId":"fab9429c-3ec9-4df4-a87b-5b75fcf2b525","issuerCaAnchorId":"cd6af15c-e638-460e-ad78-508d2773049d","certificates":["certificate"]}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/test-issuer-anchors":{"get":{"operationId":"listTestIssuerAnchors","summary":"The test issuers you trust in test mode","tags":["Test issuers"],"description":"Your active trusted test issuers, newest first. Paginated: pass `nextCursor` as `starting_after` for the next page. Test mode only: requires a test API key (a live key gets `400 operation_not_allowed_in_environment`). Live mode never trusts these issuers.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","kind","label","subject","certificateSha256","notAfter","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"kind":{"description":"Which credential the issuer may vouch for in test mode: PID (SD-JWT VC and mdoc), AV (EU age verification) or MDL (ISO/IEC 18013-5).","anyOf":[{"type":"string","enum":["PID"]},{"type":"string","enum":["AV"]},{"type":"string","enum":["MDL"]}]},"label":{"type":"string"},"subject":{"description":"The certificate subject.","type":"string"},"certificateSha256":{"description":"Hex SHA-256 of the DER certificate.","type":"string"},"notAfter":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","kind":"PID","label":"label","subject":"subject","certificateSha256":"certificateSha256","notAfter":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"post":{"operationId":"addTestIssuerAnchor","summary":"Trust a test issuer in test mode","tags":["Test issuers"],"description":"Adds a trust anchor for test-mode verification of one credential kind: test-mode sessions then accept credentials whose issuer certificate chains to it, alongside those of the Nexiel sandbox issuers. Use it for a conformance suite or your own development issuer. At most 25 per organization; an expired certificate is refused, and so is an EU trusted-list anchor or a certificate one issued (`400 live_trust_anchor`): test mode accepts test issuers only, and a presented credential whose chain reaches live trust material is refused in test mode whatever test issuer it also chains to. Keys from the public test-key page cannot add test issuers (`403 anchor_requires_account`). Supports `Idempotency-Key`. Test mode only: requires a test API key (a live key gets `400 operation_not_allowed_in_environment`). Live mode never trusts these issuers.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["kind","label","certificate"],"properties":{"kind":{"description":"Which credential the issuer may vouch for in test mode: PID (SD-JWT VC and mdoc), AV (EU age verification) or MDL (ISO/IEC 18013-5).","anyOf":[{"type":"string","enum":["PID"]},{"type":"string","enum":["AV"]},{"type":"string","enum":["MDL"]}]},"label":{"minLength":1,"maxLength":200,"type":"string"},"certificate":{"minLength":1,"maxLength":22000,"description":"The trust anchor as a base64 DER X.509 certificate: a CA that signs the issuer certificates, or the issuer certificate itself (trusted by membership; an SD-JWT VC PID signing certificate must still not be self-signed, HAIP 1.0 §6.1.1).","type":"string"}}},"example":{"kind":"PID","label":"Conformance suite issuer","certificate":"MIIBxTCCAWugAwIBAgIU..."}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","kind","label","subject","certificateSha256","notAfter","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"kind":{"description":"Which credential the issuer may vouch for in test mode: PID (SD-JWT VC and mdoc), AV (EU age verification) or MDL (ISO/IEC 18013-5).","anyOf":[{"type":"string","enum":["PID"]},{"type":"string","enum":["AV"]},{"type":"string","enum":["MDL"]}]},"label":{"type":"string"},"subject":{"description":"The certificate subject.","type":"string"},"certificateSha256":{"description":"Hex SHA-256 of the DER certificate.","type":"string"},"notAfter":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","kind":"PID","label":"label","subject":"subject","certificateSha256":"certificateSha256","notAfter":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/test-issuer-anchors/{anchorId}/remove":{"post":{"operationId":"removeTestIssuerAnchor","summary":"Stop trusting a test issuer","tags":["Test issuers"],"description":"Takes effect for the next test-mode session. The record is kept for the audit trail. Supports `Idempotency-Key`. Test mode only: requires a test API key (a live key gets `400 operation_not_allowed_in_environment`). Live mode never trusts these issuers.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"anchorId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean","enum":[true]}}},"example":{"ok":true}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/trust-policies":{"get":{"operationId":"listTrustPolicies","summary":"Your trust policies, with the version in force","tags":["Trust policies"],"description":"You decide which issuers, trust lists, Member States, attestations and attributes your sessions accept, and how revocation is treated, within the law: a request never asks for more than your registration certificate registers, a PID is only ever trusted from the Commission list of PID providers or, where you accept it, an OpenID Federation ecosystem such as IT-Wallet, device binding is always verified, for AML, strong customer authentication and corporate mandate checks a weaker revocation rule needs an acknowledged, recorded reason, and qualified signature and seal approvals always check the signer PID for revocation. Every decision records the policy version and its SHA-256 hash. A check type with no policy of yours runs under the Nexiel default policy. A test API key sees and manages the sandbox policies, which apply to test-mode sessions, and a live key the production ones; `environment` defaults to the key's own, and the other environment is refused. Newest first. Paginated: pass `nextCursor` as `starting_after` for the next page.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":false},{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"type":"string","enum":["age-verification","aml-identity","str-guest-registration","login-authentication","restricted-purchase-alcohol-18","restricted-purchase-tobacco-18","restricted-purchase-lottery-18","mobile-driving-licence","corporate-mandate-verification","sca-payment","sca-login","sca-account-access","sca-emandate","qes-authorization","qseal-authorization"]},"in":"query","name":"checkType","required":false,"description":"Only policies for this check type."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt","activeVersion","versionCount"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"activeVersion":{"anyOf":[{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"examples":[{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}],"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},{"type":"null"}]},"versionCount":{"minimum":0,"type":"integer"}}}}}}]},"example":{"data":[{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","activeVersion":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"versionCount":0}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"post":{"operationId":"createTrustPolicyVersion","summary":"Save a new version of a trust policy","tags":["Trust policies"],"description":"You decide which issuers, trust lists, Member States, attestations and attributes your sessions accept, and how revocation is treated, within the law: a request never asks for more than your registration certificate registers, a PID is only ever trusted from the Commission list of PID providers or, where you accept it, an OpenID Federation ecosystem such as IT-Wallet, device binding is always verified, for AML, strong customer authentication and corporate mandate checks a weaker revocation rule needs an acknowledged, recorded reason, and qualified signature and seal approvals always check the signer PID for revocation. Every decision records the policy version and its SHA-256 hash. Creates the policy for this environment, Service and check type on its first version. A policy equal to the latest version returns that version with status 200 (`created: false`). Set `activate` to put it in force at once. A test API key writes sandbox policies only and a live key production policies only. Production writes need an approved KYB application. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","checkType","policy"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string","enum":["age-verification","aml-identity","str-guest-registration","login-authentication","restricted-purchase-alcohol-18","restricted-purchase-tobacco-18","restricted-purchase-lottery-18","mobile-driving-licence","corporate-mandate-verification","sca-payment","sca-login","sca-account-access","sca-emandate","qes-authorization","qseal-authorization"]},"rpServiceId":{"description":"Your relying-party Service this policy applies to. Omitted or null: every Service without a policy of its own.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"activate":{"description":"Put the new version in force at once. Defaults to false.","type":"boolean"},"policy":{"description":"The policy body. Unknown or misspelt fields are refused with the full list of problems rather than ignored, so a policy is never saved wider than written.","type":"object","required":["attestations","revocation"],"properties":{"attestations":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"maxItems":32,"description":"The attributes to request, a subset of the check type template.","type":"array","items":{"maxLength":64,"type":"string"}},"trustSources":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","required":["source"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"description":"Accept only issuers listed by these Member States. Null accepts every Member State.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":31,"type":"array","items":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK","EU"]}}]},"deny":{"maxItems":31,"description":"Refuse issuers listed by these Member States.","type":"array","items":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK","EU"]}}}},"ecosystems":{"description":"openid_federation only: the federation ecosystems accepted. Null accepts every ecosystem this service trusts.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":8,"type":"array","items":{"maxLength":64,"type":"string"}}]},"certificates":{"description":"pinned_issuer_certificates only: base64 DER issuer CA certificates (for mdoc, the document signer certificate itself may be pinned).","anyOf":[{"type":"null"},{"minItems":1,"maxItems":10,"type":"array","items":{"maxLength":16384,"type":"string"}}]},"acceptedIssuers":{"description":"tenant_accepted_issuers only, and then required: which of your accepted issuers may issue this attestation.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":50,"type":"array","items":{"format":"uuid","type":"string"}}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"anyOf":[{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},{"type":"null"}]}}}}},"example":{"environment":"production","checkType":"aml-identity","activate":true,"policy":{"attestations":[{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate","family_name","given_name","nationalities"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":["AT","DE","IE"],"deny":[]}}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"reject"}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["policy","version","created","activated","dcqlQuery"],"properties":{"policy":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"version":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},"created":{"description":"False when the policy equals the latest version, which is returned instead of a duplicate.","type":"boolean"},"activated":{"type":"boolean"},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}}}},"example":{"policy":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"},"version":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"created":false,"activated":false,"dcqlQuery":{}}}}},"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["policy","version","created","activated","dcqlQuery"],"properties":{"policy":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"version":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},"created":{"description":"False when the policy equals the latest version, which is returned instead of a duplicate.","type":"boolean"},"activated":{"type":"boolean"},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}}}},"example":{"policy":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"},"version":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"created":false,"activated":false,"dcqlQuery":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/trust-policies/presets/{checkType}":{"get":{"operationId":"getTrustPolicyPreset","summary":"The Nexiel default policy for a check type, and what you may configure","tags":["Trust policies"],"description":"The default policy every session runs under when you have none, the attestations, formats and attributes the check type offers, the attributes it cannot do without, and the trust sources each attestation may be trusted from.","parameters":[{"schema":{"type":"string","enum":["age-verification","aml-identity","str-guest-registration","login-authentication","restricted-purchase-alcohol-18","restricted-purchase-tobacco-18","restricted-purchase-lottery-18","mobile-driving-licence","corporate-mandate-verification","sca-payment","sca-login","sca-account-access","sca-emandate","qes-authorization","qseal-authorization"]},"in":"path","name":"checkType","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["checkType","templateVersion","revocationFloor","revocationFixed","attestations","preset","dcqlQuery"],"properties":{"checkType":{"type":"string"},"templateVersion":{"type":"string"},"revocationFloor":{"description":"True when a weaker revocation rule needs an acknowledged floorOverride.","type":"boolean"},"revocationFixed":{"description":"True when the revocation rule cannot be changed (qualified signature and seal approvals).","type":"boolean"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","requiredAttributes","requiredSources","optionalSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"requiredAttributes":{"type":"array","items":{"type":"string"}},"requiredSources":{"type":"array","items":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]}},"optionalSources":{"type":"array","items":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]}}}}},"preset":{"type":"object","required":["document","sha256"],"properties":{"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"sha256":{"type":"string"}}},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}}}},"example":{"checkType":"checkType","templateVersion":"templateVersion","revocationFloor":false,"revocationFixed":false,"attestations":[{"attestation":"pid","formats":["dc+sd-jwt"],"attributes":["attribute"],"requiredAttributes":["requiredAttribute"],"requiredSources":["eu_pid_providers"],"optionalSources":["eu_pid_providers"]}],"preset":{"document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"sha256":"sha256"},"dcqlQuery":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/trust-policies/preview":{"post":{"operationId":"previewTrustPolicy","summary":"Validate a policy and see the request it produces, without saving it","tags":["Trust policies"],"description":"Returns the canonical document, its SHA-256, the DCQL query a session would send and what differs from the Nexiel default. Nothing is stored.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","checkType","policy"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string","enum":["age-verification","aml-identity","str-guest-registration","login-authentication","restricted-purchase-alcohol-18","restricted-purchase-tobacco-18","restricted-purchase-lottery-18","mobile-driving-licence","corporate-mandate-verification","sca-payment","sca-login","sca-account-access","sca-emandate","qes-authorization","qseal-authorization"]},"rpServiceId":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"policy":{"description":"The policy body. Unknown or misspelt fields are refused with the full list of problems rather than ignored, so a policy is never saved wider than written.","type":"object","required":["attestations","revocation"],"properties":{"attestations":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"maxItems":32,"description":"The attributes to request, a subset of the check type template.","type":"array","items":{"maxLength":64,"type":"string"}},"trustSources":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","required":["source"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"description":"Accept only issuers listed by these Member States. Null accepts every Member State.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":31,"type":"array","items":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK","EU"]}}]},"deny":{"maxItems":31,"description":"Refuse issuers listed by these Member States.","type":"array","items":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK","EU"]}}}},"ecosystems":{"description":"openid_federation only: the federation ecosystems accepted. Null accepts every ecosystem this service trusts.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":8,"type":"array","items":{"maxLength":64,"type":"string"}}]},"certificates":{"description":"pinned_issuer_certificates only: base64 DER issuer CA certificates (for mdoc, the document signer certificate itself may be pinned).","anyOf":[{"type":"null"},{"minItems":1,"maxItems":10,"type":"array","items":{"maxLength":16384,"type":"string"}}]},"acceptedIssuers":{"description":"tenant_accepted_issuers only, and then required: which of your accepted issuers may issue this attestation.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":50,"type":"array","items":{"format":"uuid","type":"string"}}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"anyOf":[{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},{"type":"null"}]}}}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["document","sha256","dcqlQuery","lowersRevocationFloor","changesFromDefault"],"properties":{"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"sha256":{"type":"string"},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}},"lowersRevocationFloor":{"type":"boolean"},"changesFromDefault":{"type":"array","items":{"type":"object","required":["scope","field","kind","before","after"],"properties":{"scope":{"type":"string"},"field":{"type":"string"},"kind":{"anyOf":[{"type":"string","enum":["added"]},{"type":"string","enum":["removed"]},{"type":"string","enum":["changed"]}]},"before":{"anyOf":[{"type":"string"},{"type":"null"}]},"after":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}},"example":{"document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"sha256":"sha256","dcqlQuery":{},"lowersRevocationFloor":false,"changesFromDefault":[{"scope":"scope","field":"field","kind":"added","before":"before","after":"after"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/trust-policies/{trustPolicyId}":{"get":{"operationId":"getTrustPolicy","summary":"One trust policy with every version","tags":["Trust policies"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"trustPolicyId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt","versions"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"versions":{"type":"array","items":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}}}}},"example":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","versions":[{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/trust-policies/{trustPolicyId}/versions/{versionId}":{"get":{"operationId":"getTrustPolicyVersion","summary":"One version, the request it produces and what changed","tags":["Trust policies"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"trustPolicyId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"versionId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["version","dcqlQuery","changesFromPrevious","changesFromDefault"],"properties":{"version":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}},"changesFromPrevious":{"description":"What changed from the previous version; null for version 1.","anyOf":[{"type":"array","items":{"type":"object","required":["scope","field","kind","before","after"],"properties":{"scope":{"type":"string"},"field":{"type":"string"},"kind":{"anyOf":[{"type":"string","enum":["added"]},{"type":"string","enum":["removed"]},{"type":"string","enum":["changed"]}]},"before":{"anyOf":[{"type":"string"},{"type":"null"}]},"after":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},{"type":"null"}]},"changesFromDefault":{"description":"What differs from Nexiel's default policy for the check type.","type":"array","items":{"type":"object","required":["scope","field","kind","before","after"],"properties":{"scope":{"type":"string"},"field":{"type":"string"},"kind":{"anyOf":[{"type":"string","enum":["added"]},{"type":"string","enum":["removed"]},{"type":"string","enum":["changed"]}]},"before":{"anyOf":[{"type":"string"},{"type":"null"}]},"after":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}},"example":{"version":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"dcqlQuery":{},"changesFromPrevious":[{"scope":"scope","field":"field","kind":"added","before":"before","after":"after"}],"changesFromDefault":[{"scope":"scope","field":"field","kind":"added","before":"before","after":"after"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/trust-policies/{trustPolicyId}/versions/{versionId}/activate":{"post":{"operationId":"activateTrustPolicyVersion","summary":"Put a version in force","tags":["Trust policies"],"description":"New sessions use it from now on; a session already started keeps the version it started with. Idempotent. Production writes need an approved KYB application. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"trustPolicyId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"versionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt","versions"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"versions":{"type":"array","items":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}}}}},"example":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","versions":[{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sca/attestation-profiles":{"get":{"operationId":"listScaAttestationProfiles","summary":"Your SCA attestation profiles","tags":["Strong customer authentication"],"description":"The banks' SCA attestation types you accept, the transaction types each supports, and how each issuer is trusted. In production, needs an approved entitlement for at least one SCA check type.","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["profiles"],"properties":{"profiles":{"type":"array","items":{"type":"object","required":["id","environment","label","vct","transactionDataTypes","trustMode","anchors","issuerKeys","acceptedAudiences","status","createdAt","updatedAt","disabledAt"],"properties":{"id":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"label":{"type":"string"},"vct":{"type":"string"},"transactionDataTypes":{"type":"object","additionalProperties":{"type":"string"}},"trustMode":{"anyOf":[{"type":"string","enum":["issuer_anchors"]},{"type":"string","enum":["own_issuer_keys"]}]},"anchors":{"type":"array","items":{"type":"object","required":["subject","notAfter","sha256"],"properties":{"subject":{"type":"string"},"notAfter":{"type":"string"},"sha256":{"type":"string"}}}},"issuerKeys":{"type":"array","items":{"type":"object","required":["kid","thumbprint"],"properties":{"kid":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbprint":{"type":"string"}}}},"acceptedAudiences":{"type":"array","items":{"type":"string"}},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["disabled"]}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"disabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}},"example":{"profiles":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","environment":"sandbox","label":"label","vct":"vct","transactionDataTypes":{},"trustMode":"issuer_anchors","anchors":[{"subject":"subject","notAfter":"notAfter","sha256":"sha256"}],"issuerKeys":[{"kid":"kid","thumbprint":"thumbprint"}],"acceptedAudiences":["acceptedAudience"],"status":"active","createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","disabledAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]},"post":{"operationId":"createScaAttestationProfile","summary":"Trust a bank's SCA attestations","tags":["Strong customer authentication"],"description":"Adds an SCA attestation type you accept, from your users' bank: its `vct`, the transaction data types its type metadata lists (each mapped to its TS12 schema), and how its issuer is trusted. `issuer_anchors`: the attestation's x5c chain must validate to one of the bank's CA certificates. `own_issuer_keys`: you are the bank and pin your own issuer keys. Production profiles need an approved KYB application and never accept Nexiel TEST certificates, keys or attestation types. A sandbox profile becomes usable once your sandbox registration certificates register its attestation type: issue new sandbox test certificates after adding one. In production, needs an approved entitlement for each SCA check type the profile serves, the same grant `POST /v1/verify/sessions` requires. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","label","vct","transactionDataTypes","trust"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"label":{"minLength":1,"maxLength":120,"type":"string"},"vct":{"minLength":1,"maxLength":512,"description":"The SCA attestation type (SD-JWT VC `vct`) your users' bank issues.","type":"string"},"transactionDataTypes":{"description":"From the attestation's type metadata `transaction_data_types` (TS12 §3.2): each transaction data type URI the attestation accepts, mapped to the TS12 schema it uses (`urn:eudi:sca:payment:1`, `urn:eudi:sca:login_risk_transaction:1`, `urn:eudi:sca:account_access:1` or `urn:eudi:sca:emandate:1`). Where the bank uses the schema identifier itself as the type, map it to itself.","type":"object","additionalProperties":{"type":"string"}},"trust":{"anyOf":[{"additionalProperties":false,"type":"object","required":["mode","anchorCertificatesPem"],"properties":{"mode":{"type":"string","enum":["issuer_anchors"]},"anchorCertificatesPem":{"minLength":1,"maxLength":65536,"description":"PEM CA certificates of the bank's SCA attestation issuing PKI (1 to 10). The attestation's x5c chain must validate to one.","type":"string"}}},{"additionalProperties":false,"type":"object","required":["mode","issuerPublicKeys"],"properties":{"mode":{"type":"string","enum":["own_issuer_keys"]},"issuerPublicKeys":{"minItems":1,"maxItems":10,"description":"For a bank verifying the SCA attestations it issues itself: its own issuer public keys as EC P-256 JWKs (`kty`, `crv`, `x`, `y`, optional `kid`). Never send a private key; a JWK with a private member is refused.","type":"array","items":{"type":"object","additionalProperties":{}}}}}]},"acceptedAudiences":{"maxItems":10,"description":"Values the attestation's own `aud` claim may name, such as the bank's relying-party URL (TS12 §2.2 examples carry one). An attestation whose `aud` names none of them is refused. One without `aud` is accepted.","type":"array","items":{"minLength":1,"maxLength":512,"type":"string"}}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","environment","label","vct","transactionDataTypes","trustMode","anchors","issuerKeys","acceptedAudiences","status","createdAt","updatedAt","disabledAt"],"properties":{"id":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"label":{"type":"string"},"vct":{"type":"string"},"transactionDataTypes":{"type":"object","additionalProperties":{"type":"string"}},"trustMode":{"anyOf":[{"type":"string","enum":["issuer_anchors"]},{"type":"string","enum":["own_issuer_keys"]}]},"anchors":{"type":"array","items":{"type":"object","required":["subject","notAfter","sha256"],"properties":{"subject":{"type":"string"},"notAfter":{"type":"string"},"sha256":{"type":"string"}}}},"issuerKeys":{"type":"array","items":{"type":"object","required":["kid","thumbprint"],"properties":{"kid":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbprint":{"type":"string"}}}},"acceptedAudiences":{"type":"array","items":{"type":"string"}},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["disabled"]}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"disabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","environment":"sandbox","label":"label","vct":"vct","transactionDataTypes":{},"trustMode":"issuer_anchors","anchors":[{"subject":"subject","notAfter":"notAfter","sha256":"sha256"}],"issuerKeys":[{"kid":"kid","thumbprint":"thumbprint"}],"acceptedAudiences":["acceptedAudience"],"status":"active","createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","disabledAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/sca/attestation-profiles/{profileId}/disable":{"post":{"operationId":"disableScaAttestationProfile","summary":"Stop trusting a bank's SCA attestations","tags":["Strong customer authentication"],"description":"Disables the profile at once: new sessions cannot use it, and open sessions started with it fail. Needs no entitlement, so you can always stop trusting a bank, including after an entitlement is withdrawn. A test key disables test-mode profiles only and a live key live ones; any other id answers 404. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"profileId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","environment","label","vct","transactionDataTypes","trustMode","anchors","issuerKeys","acceptedAudiences","status","createdAt","updatedAt","disabledAt"],"properties":{"id":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"label":{"type":"string"},"vct":{"type":"string"},"transactionDataTypes":{"type":"object","additionalProperties":{"type":"string"}},"trustMode":{"anyOf":[{"type":"string","enum":["issuer_anchors"]},{"type":"string","enum":["own_issuer_keys"]}]},"anchors":{"type":"array","items":{"type":"object","required":["subject","notAfter","sha256"],"properties":{"subject":{"type":"string"},"notAfter":{"type":"string"},"sha256":{"type":"string"}}}},"issuerKeys":{"type":"array","items":{"type":"object","required":["kid","thumbprint"],"properties":{"kid":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbprint":{"type":"string"}}}},"acceptedAudiences":{"type":"array","items":{"type":"string"}},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["disabled"]}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"disabledAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","environment":"sandbox","label":"label","vct":"vct","transactionDataTypes":{},"trustMode":"issuer_anchors","anchors":[{"subject":"subject","notAfter":"notAfter","sha256":"sha256"}],"issuerKeys":[{"kid":"kid","thumbprint":"thumbprint"}],"acceptedAudiences":["acceptedAudience"],"status":"active","createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","disabledAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/sandbox/sca-attestations":{"post":{"operationId":"issueSandboxScaAttestation","summary":"Issue a TEST SCA attestation (sandbox only)","tags":["Strong customer authentication"],"description":"Sandbox only. The Nexiel TEST PSP issues an SCA attestation bound to your test wallet key, so you can run the whole SCA flow before your users’ banks issue real ones. Your test wallet presents it with a key-binding JWT carrying the `transaction_data_hashes`, `jti`, `amr` and `response_mode` TS12 requires. It is trusted only in sandbox, where every SCA session falls back to the TEST PSP when you have no sandbox profile of your own. Production rejects it. Each call issues a fresh attestation. With an `Idempotency-Key`, a retry of the same request returns the attestation first issued, and the same key with a different request is a `409`. Returns `404` in production.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["holderPublicJwk"],"properties":{"holderPublicJwk":{"description":"The test wallet's holder public key; the attestation binds it in `cnf.jwk`.","type":"object","required":["kty","crv","x","y"],"properties":{"kty":{"type":"string","enum":["EC"]},"crv":{"type":"string","enum":["P-256"]},"x":{"minLength":43,"maxLength":43,"type":"string"},"y":{"minLength":43,"maxLength":43,"type":"string"}}}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["attestation","vct","issuerCertificatePem","trustAnchorPem"],"properties":{"attestation":{"description":"A Nexiel TEST SCA attestation (SD-JWT VC, compact, no disclosures).","type":"string"},"vct":{"type":"string"},"issuerCertificatePem":{"description":"The Nexiel TEST PSP issuer certificate (also in the x5c header).","type":"string"},"trustAnchorPem":{"description":"The Nexiel TEST CA root it chains to.","type":"string"}}},"example":{"attestation":"attestation","vct":"vct","issuerCertificatePem":"issuerCertificatePem","trustAnchorPem":"trustAnchorPem"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/sign":{"post":{"operationId":"createSigningRequest","summary":"Start a wallet-authorised qualified electronic signature","tags":["Nexiel Sign"],"description":"Starts a qualified electronic signature (eIDAS Art. 3(12)) that the signer authorises with their EUDI wallet. The signer is a declared UBO, director or senior managing official on your approved KYB application and signs as themselves with their own QTSP credential. Nexiel prepares the PAdES signature and asks the signer’s wallet to present their PID and approve this one signature: the approval names the QTSP credential, `eu_eidas_qes`, the hash algorithm and the digest of the data to be signed, and the wallet signs its hash. The PID must match the representative. The approval then goes to the QTSP, which activates the credential and signs. Nexiel never asks for or handles a PIN; the QTSP may run its own authorization step. Returns at once with the wallet request to show; the signature completes asynchronously. Read `GET /v1/sign/requests/{id}` or subscribe to the `sign.request.completed`, `sign.request.failed` and `sign.request.qtsp_authorization_required` webhook events. Once completed, take the signed PDF with `POST /v1/sign/requests/{id}/document/claim`; Nexiel keeps only hashes once it has been claimed. Built to ETSI TS 119 432 and the CSC API v2.2; production requires a qualified trust service provider account. Until one is configured, production requests return 409 `qes_not_configured` / `qseal_not_configured`. In sandbox the Nexiel TEST QTSP signs with TEST certificates that are not qualified, so the whole flow can be tested end to end. A wallet may decline to present a PID together with transaction data (the PID rulebook does not yet describe it); the request then fails with `wallet_authorization_failed`. Supports `Idempotency-Key`. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["document","documentLabel","signerId"],"properties":{"document":{"minLength":8,"maxLength":15000000,"pattern":"^[A-Za-z0-9+/]+={0,2}$","description":"The PDF to sign, base64-encoded.","type":"string"},"documentLabel":{"minLength":1,"maxLength":256,"pattern":"\\S","description":"A short name for the document, shown to the signer in their wallet when they approve the signature (for example \"Service agreement 2026-10\"). Keep it free of personal data.","type":"string","example":"Service agreement 2026-10"},"signerId":{"format":"uuid","description":"The declared UBO, director or senior managing official on your approved KYB application who signs, as themselves. The wallet that approves the signature must present a PID matching this person.","type":"string"},"flow":{"description":"`cross_device` (default): show `walletRequest.authorizationRequestUri` as a QR code. `same_device`: open it on the same phone; `redirectUri` is then required.","anyOf":[{"type":"string","enum":["cross_device"]},{"type":"string","enum":["same_device"]}]},"redirectUri":{"minLength":1,"maxLength":2048,"description":"Same-device only: your page the wallet returns the signer to, with `#response_code=...` appended. Send that code to `POST /v1/verify/sessions/{walletRequest.sessionId}/redirect-return` to finish the approval.","type":"string"},"returnUri":{"minLength":1,"maxLength":2048,"pattern":"^https://","description":"Where to send the signer’s browser after the QTSP’s own authorization page, with `?signingRequestId=...&status=...` appended. Only used when the QTSP asks the signer to confirm in its own authorization step.","type":"string"}}},"examples":{"crossDevice":{"summary":"Cross-device: show the wallet request as a QR code","value":{"document":"JVBERi0xLjQKJcOkw7zDtsOf...(truncated base64 PDF)","documentLabel":"Service agreement 2026-10","signerId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11"}},"sameDevice":{"summary":"Same-device: open the wallet on this phone","value":{"document":"JVBERi0xLjQKJcOkw7zDtsOf...(truncated base64 PDF)","documentLabel":"Service agreement 2026-10","signerId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","flow":"same_device","redirectUri":"https://app.example.com/signing/return","returnUri":"https://app.example.com/signing/done"}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","status","walletRequest","documentHashSha256","dtbsrHash","hashAlgorithmOid","signatureQualifier","credentialId","qtsp","expiresAt"],"properties":{"id":{"format":"uuid","description":"The signing request id. Read it with GET and watch for webhook events.","type":"string"},"status":{"type":"string","enum":["awaiting_wallet"]},"walletRequest":{"description":"What to show the signer.","type":"object","required":["sessionId","authorizationRequestUri","requestUri","clientId","flow","expiresAt","sessionToken"],"properties":{"sessionId":{"format":"uuid","description":"The Verify session in which the signer approves.","type":"string"},"authorizationRequestUri":{"description":"The `openid4vp://` request: a QR code (cross-device) or a link (same-device).","type":"string"},"requestUri":{"type":"string"},"clientId":{"description":"Your relying-party identifier (`x509_hash:...`).","type":"string"},"flow":{"anyOf":[{"type":"string","enum":["cross_device"]},{"type":"string","enum":["same_device"]}]},"expiresAt":{"format":"date-time","type":"string"},"sessionToken":{"description":"Returned once: lets a browser poll the Verify session without your API key.","type":"string"}}},"documentHashSha256":{"description":"SHA-256 (hex) of the document you sent.","type":"string"},"dtbsrHash":{"description":"Base64 digest of the PAdES signed attributes: the exact data the signer approves and the QTSP signs.","type":"string"},"hashAlgorithmOid":{"type":"string"},"signatureQualifier":{"anyOf":[{"type":"string","enum":["eu_eidas_qes"]},{"type":"string","enum":["eu_eidas_qeseal"]}]},"credentialId":{"description":"The QTSP credential that signs.","type":"string"},"qtsp":{"type":"object","required":["mode","provider"],"properties":{"mode":{"description":"`csc`: a qualified trust service provider over the CSC API. `nexiel_test`: the sandbox TEST QTSP, whose signatures are not qualified.","anyOf":[{"type":"string","enum":["csc"]},{"type":"string","enum":["nexiel_test"]}]},"provider":{"description":"The QTSP label recorded on the operation.","type":"string"}}},"expiresAt":{"format":"date-time","type":"string"}}},"examples":{"created":{"summary":"Production: the QTSP will sign","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","status":"awaiting_wallet","walletRequest":{"sessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10%2Frequest-object&request_uri_method=post","requestUri":"https://compliance.nexiel.io/v1/verify/sessions/0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10/request-object","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","flow":"cross_device","expiresAt":"2026-10-11T10:10:00.000Z","sessionToken":"N8hQ2cXvL0aP5mT3rB7yK1wE9sD4fG6jZ2uV8iO0qRc"},"documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qes","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"expiresAt":"2026-10-11T10:10:00.000Z"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"502":{"description":"Upstream error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/sign/requests/{requestId}":{"get":{"operationId":"getSigningRequest","summary":"A signature request: its status (never hands over the PDF)","tags":["Nexiel Sign"],"description":"The request's status. Reading never hands over or spends the signed PDF: once `completed`, `signedDocumentStatus` is `available` and you take the PDF with `POST /v1/sign/requests/{requestId}/document/claim`, after which it reads `delivered`. A completed PDF never claimed is deleted after 7 days (`expired`); the hashes and the operation record remain. Read-only (agent) keys may read. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","status","failureReason","environment","representativeUboId","verifySessionId","documentHashSha256","dtbsrHash","hashAlgorithmOid","signatureQualifier","credentialId","qtsp","transactionDataHash","qtspAuthorizationUrl","signedDocumentStatus","signedDocumentHashSha256","operationId","frozenDecisionArtifact","createdAt","expiresAt","completedAt"],"properties":{"id":{"format":"uuid","type":"string"},"status":{"description":"`awaiting_wallet`: the signer has not approved yet. `awaiting_qtsp_authorization`: send the signer to `qtspAuthorizationUrl`. `authorizing`/`signing`: in progress. `completed`: signed. `failed`: see `failureReason`.","anyOf":[{"type":"string","enum":["awaiting_wallet"]},{"type":"string","enum":["authorizing"]},{"type":"string","enum":["awaiting_qtsp_authorization"]},{"type":"string","enum":["signing"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]}]},"failureReason":{"description":"`wallet_authorization_failed` (the wallet declined, or the PID did not match the representative), `wallet_authorization_expired`, `wallet_approval_mismatch`, `qtsp_authorization_denied`, `qtsp_authorization_mismatch`, `qtsp_unavailable`, `qtsp_rejected`, `qtsp_credential_not_found`, `qtsp_signature_invalid`, `qtsp_not_configured`, `document_integrity_failed` or `expired`.","anyOf":[{"type":"string"},{"type":"null"}]},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"representativeUboId":{"description":"The signer (Sign) or authorising representative (Seal). `null` once that declared person’s record has been deleted at the end of its retention period.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"verifySessionId":{"description":"The wallet approval session. `null` once that session has been erased.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"documentHashSha256":{"type":"string"},"dtbsrHash":{"type":"string"},"hashAlgorithmOid":{"type":"string"},"signatureQualifier":{"type":"string"},"credentialId":{"type":"string"},"qtsp":{"type":"object","required":["mode","provider"],"properties":{"mode":{"description":"`csc`: a qualified trust service provider over the CSC API. `nexiel_test`: the sandbox TEST QTSP, whose signatures are not qualified.","anyOf":[{"type":"string","enum":["csc"]},{"type":"string","enum":["nexiel_test"]}]},"provider":{"description":"The QTSP label recorded on the operation.","type":"string"}}},"transactionDataHash":{"description":"The OpenID4VP transaction data hash the signer’s wallet signed (base64url), once approved.","anyOf":[{"type":"string"},{"type":"null"}]},"qtspAuthorizationUrl":{"description":"Set only while `awaiting_qtsp_authorization`: open it in the signer’s browser.","anyOf":[{"type":"string"},{"type":"null"}]},"signedDocumentStatus":{"description":"Where the signed PDF stands. Reading the request never hands it over: claim it with `POST .../requests/{requestId}/document/claim`. `available`: ready to claim. `delivered`: claimed. `expired`: never claimed within 7 days of completion, and deleted. `null` until the request is `completed` (a failed request never has one).","anyOf":[{"type":"string","enum":["available"]},{"type":"string","enum":["delivered"]},{"type":"string","enum":["expired"]},{"type":"null"}]},"signedDocumentHashSha256":{"description":"SHA-256 (hex) of the signed PDF, once completed. Nexiel keeps it after the PDF itself is deleted.","anyOf":[{"type":"string"},{"type":"null"}]},"operationId":{"description":"The permanent operation record, once completed.","anyOf":[{"type":"string"},{"type":"null"}]},"frozenDecisionArtifact":{"anyOf":[{"type":"object","required":["engineVersion","cscApiSpecVersion","subFilter","authorizationMethod","qtspProvider","cscCredentialId"],"properties":{"engineVersion":{"type":"string"},"cscApiSpecVersion":{"type":"string"},"subFilter":{"type":"string"},"authorizationMethod":{"description":"Always `eudi_wallet`.","type":"string"},"qtspProvider":{"type":"string"},"cscCredentialId":{"type":"string"}}},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"completedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"examples":{"awaitingQtsp":{"summary":"Approved in the wallet; the QTSP asks the signer to confirm","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","environment":"production","representativeUboId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","verifySessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qes","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"createdAt":"2026-10-11T10:00:00.000Z","status":"awaiting_qtsp_authorization","failureReason":null,"transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","qtspAuthorizationUrl":"https://qtsp.example/oauth2/authorize?client_id=nexiel&request_uri=urn%3Aexample%3Apar-1","signedDocumentStatus":null,"signedDocumentHashSha256":null,"operationId":null,"frozenDecisionArtifact":null,"expiresAt":"2026-10-11T10:25:00.000Z","completedAt":null}},"completed":{"summary":"Completed: the signed PDF is ready to claim","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","environment":"production","representativeUboId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","verifySessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qes","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"createdAt":"2026-10-11T10:00:00.000Z","status":"completed","failureReason":null,"transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","qtspAuthorizationUrl":null,"signedDocumentStatus":"available","signedDocumentHashSha256":"1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d","operationId":"7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d","frozenDecisionArtifact":{"engineVersion":"0.3.0+src.024c0eba57c8","cscApiSpecVersion":"2.2.0.0","subFilter":"ETSI.CAdES.detached","authorizationMethod":"eudi_wallet","qtspProvider":"example-qtsp","cscCredentialId":"GX0112348"},"expiresAt":"2026-10-11T10:25:00.000Z","completedAt":"2026-10-11T10:03:12.000Z"}},"failed":{"summary":"Failed: the wallet holder was not the declared representative","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","environment":"production","representativeUboId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","verifySessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qes","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"createdAt":"2026-10-11T10:00:00.000Z","status":"failed","failureReason":"wallet_authorization_failed","transactionDataHash":null,"qtspAuthorizationUrl":null,"signedDocumentStatus":null,"signedDocumentHashSha256":null,"operationId":null,"frozenDecisionArtifact":null,"expiresAt":"2026-10-11T10:10:00.000Z","completedAt":null}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"502":{"description":"Upstream error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/sign/requests/{requestId}/document/claim":{"post":{"operationId":"claimSignedDocument","summary":"Claim the signed PDF (once; retry-safe with the same Idempotency-Key)","tags":["Nexiel Sign"],"description":"Hands over the signed PDF of a completed request, once. Reading the request (`GET /v1/sign/requests/{requestId}`) never does; its `signedDocumentStatus` says when the PDF is `available`. Requires your API key with full scope and an `Idempotency-Key`: a retry with the same key within 60 minutes of the claim returns the same PDF, so a crash after the claim never loses it; after that Nexiel deletes its copy and keeps only the hashes (`410 signed_document_no_longer_held`). A claim with another key after the PDF was claimed returns `409 signed_document_already_claimed`; one before completion `409 signed_document_not_ready`; one for a failed request `404 signed_document_not_available`; one never made within 7 days of completion `410 signed_document_expired`. Read-only (agent) keys cannot claim. Rate limited like every API-key route. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["id","signedDocument","signedDocumentHashSha256","claimedAt","replayableUntil"],"properties":{"id":{"format":"uuid","description":"The signing request id.","type":"string"},"signedDocument":{"description":"The signed PDF, base64.","type":"string"},"signedDocumentHashSha256":{"description":"SHA-256 (hex) of the signed PDF; Nexiel keeps this hash after the PDF is deleted.","type":"string"},"claimedAt":{"format":"date-time","type":"string"},"replayableUntil":{"format":"date-time","description":"Until when a retry with the same Idempotency-Key returns this same PDF. After that Nexiel holds only the hashes.","type":"string"}}},"examples":{"claimed":{"summary":"The signed PDF, claimed (a retry with the same Idempotency-Key within an hour returns the same body)","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","signedDocument":"JVBERi0xLjQKJcOkw7zDtsOf...(truncated base64 signed PDF)","signedDocumentHashSha256":"1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d","claimedAt":"2026-10-11T10:04:00.000Z","replayableUntil":"2026-10-11T11:04:00.000Z"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/sign/qtsp-callback":{"get":{"operationId":"signingQtspCallback","summary":"The QTSP’s redirect back after its own authorization step","tags":["Nexiel Sign"],"description":"Opened by the signer’s browser when the QTSP’s authorization server redirects back (CSC API v2.2 §8.2.2: `code` and `state`, or `error`). Never called by your backend. Completes the request, then redirects to the `returnUri` you gave (303) or shows a short page.","parameters":[{"schema":{"minLength":16,"maxLength":512,"type":"string"},"in":"query","name":"state","required":true},{"schema":{"minLength":1,"maxLength":2048,"type":"string"},"in":"query","name":"code","required":false},{"schema":{"maxLength":256,"type":"string"},"in":"query","name":"error","required":false},{"schema":{"maxLength":1024,"type":"string"},"in":"query","name":"error_description","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/seal":{"post":{"operationId":"createSealingRequest","summary":"Start a wallet-authorised qualified electronic seal","tags":["Nexiel Seal"],"description":"Starts a qualified electronic seal (eIDAS Art. 3(25)) of your organization, authorised by one of its declared representatives with their EUDI wallet. The seal is your organization’s and uses its seal credential; the representative presents their PID and approves this one seal (`eu_eidas_qeseal`, the credential, the hash algorithm and the digest of the data to be sealed). Returns at once with the wallet request to show; the seal completes asynchronously. Read `GET /v1/seal/requests/{id}` or subscribe to the `seal.request.completed`, `seal.request.failed` and `seal.request.qtsp_authorization_required` webhook events. Once completed, take the sealed PDF with `POST /v1/seal/requests/{id}/document/claim`; Nexiel keeps only hashes once it has been claimed. Built to ETSI TS 119 432 and the CSC API v2.2; production requires a qualified trust service provider account. Until one is configured, production requests return 409 `qes_not_configured` / `qseal_not_configured`. In sandbox the Nexiel TEST QTSP signs with TEST certificates that are not qualified, so the whole flow can be tested end to end. A wallet may decline to present a PID together with transaction data (the PID rulebook does not yet describe it); the request then fails with `wallet_authorization_failed`. Supports `Idempotency-Key`. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["document","documentLabel","authorizingRepresentativeId"],"properties":{"document":{"minLength":8,"maxLength":15000000,"pattern":"^[A-Za-z0-9+/]+={0,2}$","description":"The PDF to sign, base64-encoded.","type":"string"},"documentLabel":{"minLength":1,"maxLength":256,"pattern":"\\S","description":"A short name for the document, shown to the signer in their wallet when they approve the signature (for example \"Service agreement 2026-10\"). Keep it free of personal data.","type":"string","example":"Service agreement 2026-10"},"authorizingRepresentativeId":{"format":"uuid","description":"The declared UBO, director or senior managing official on your approved KYB application who authorises this seal. The wallet that approves the seal must present a PID matching this person. The seal itself is your organization’s.","type":"string"},"flow":{"description":"`cross_device` (default): show `walletRequest.authorizationRequestUri` as a QR code. `same_device`: open it on the same phone; `redirectUri` is then required.","anyOf":[{"type":"string","enum":["cross_device"]},{"type":"string","enum":["same_device"]}]},"redirectUri":{"minLength":1,"maxLength":2048,"description":"Same-device only: your page the wallet returns the signer to, with `#response_code=...` appended. Send that code to `POST /v1/verify/sessions/{walletRequest.sessionId}/redirect-return` to finish the approval.","type":"string"},"returnUri":{"minLength":1,"maxLength":2048,"pattern":"^https://","description":"Where to send the signer’s browser after the QTSP’s own authorization page, with `?signingRequestId=...&status=...` appended. Only used when the QTSP asks the signer to confirm in its own authorization step.","type":"string"}}},"examples":{"crossDevice":{"summary":"Cross-device: show the wallet request as a QR code","value":{"document":"JVBERi0xLjQKJcOkw7zDtsOf...(truncated base64 PDF)","documentLabel":"Invoice 2026-10","authorizingRepresentativeId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11"}},"sameDevice":{"summary":"Same-device: open the wallet on this phone","value":{"document":"JVBERi0xLjQKJcOkw7zDtsOf...(truncated base64 PDF)","documentLabel":"Invoice 2026-10","authorizingRepresentativeId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","flow":"same_device","redirectUri":"https://app.example.com/signing/return","returnUri":"https://app.example.com/signing/done"}}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","status","walletRequest","documentHashSha256","dtbsrHash","hashAlgorithmOid","signatureQualifier","credentialId","qtsp","expiresAt"],"properties":{"id":{"format":"uuid","description":"The signing request id. Read it with GET and watch for webhook events.","type":"string"},"status":{"type":"string","enum":["awaiting_wallet"]},"walletRequest":{"description":"What to show the signer.","type":"object","required":["sessionId","authorizationRequestUri","requestUri","clientId","flow","expiresAt","sessionToken"],"properties":{"sessionId":{"format":"uuid","description":"The Verify session in which the signer approves.","type":"string"},"authorizationRequestUri":{"description":"The `openid4vp://` request: a QR code (cross-device) or a link (same-device).","type":"string"},"requestUri":{"type":"string"},"clientId":{"description":"Your relying-party identifier (`x509_hash:...`).","type":"string"},"flow":{"anyOf":[{"type":"string","enum":["cross_device"]},{"type":"string","enum":["same_device"]}]},"expiresAt":{"format":"date-time","type":"string"},"sessionToken":{"description":"Returned once: lets a browser poll the Verify session without your API key.","type":"string"}}},"documentHashSha256":{"description":"SHA-256 (hex) of the document you sent.","type":"string"},"dtbsrHash":{"description":"Base64 digest of the PAdES signed attributes: the exact data the signer approves and the QTSP signs.","type":"string"},"hashAlgorithmOid":{"type":"string"},"signatureQualifier":{"anyOf":[{"type":"string","enum":["eu_eidas_qes"]},{"type":"string","enum":["eu_eidas_qeseal"]}]},"credentialId":{"description":"The QTSP credential that signs.","type":"string"},"qtsp":{"type":"object","required":["mode","provider"],"properties":{"mode":{"description":"`csc`: a qualified trust service provider over the CSC API. `nexiel_test`: the sandbox TEST QTSP, whose signatures are not qualified.","anyOf":[{"type":"string","enum":["csc"]},{"type":"string","enum":["nexiel_test"]}]},"provider":{"description":"The QTSP label recorded on the operation.","type":"string"}}},"expiresAt":{"format":"date-time","type":"string"}}},"examples":{"created":{"summary":"Production: the QTSP will sign","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","status":"awaiting_wallet","walletRequest":{"sessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","authorizationRequestUri":"openid4vp://?client_id=x509_hash%3AUvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk&request_uri=https%3A%2F%2Fcompliance.nexiel.io%2Fv1%2Fverify%2Fsessions%2F0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10%2Frequest-object&request_uri_method=post","requestUri":"https://compliance.nexiel.io/v1/verify/sessions/0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10/request-object","clientId":"x509_hash:Uvo3HtuIxuhC92rShpgqcT3YXwrqRxWEviRiA0OZszk","flow":"cross_device","expiresAt":"2026-10-11T10:10:00.000Z","sessionToken":"N8hQ2cXvL0aP5mT3rB7yK1wE9sD4fG6jZ2uV8iO0qRc"},"documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qeseal","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"expiresAt":"2026-10-11T10:10:00.000Z"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"502":{"description":"Upstream error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/seal/requests/{requestId}":{"get":{"operationId":"getSealingRequest","summary":"A seal request: its status (never hands over the PDF)","tags":["Nexiel Seal"],"description":"The request's status. Reading never hands over or spends the sealed PDF: once `completed`, `signedDocumentStatus` is `available` and you take the PDF with `POST /v1/seal/requests/{requestId}/document/claim`, after which it reads `delivered`. A completed PDF never claimed is deleted after 7 days (`expired`); the hashes and the operation record remain. Read-only (agent) keys may read. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","status","failureReason","environment","representativeUboId","verifySessionId","documentHashSha256","dtbsrHash","hashAlgorithmOid","signatureQualifier","credentialId","qtsp","transactionDataHash","qtspAuthorizationUrl","signedDocumentStatus","signedDocumentHashSha256","operationId","frozenDecisionArtifact","createdAt","expiresAt","completedAt"],"properties":{"id":{"format":"uuid","type":"string"},"status":{"description":"`awaiting_wallet`: the signer has not approved yet. `awaiting_qtsp_authorization`: send the signer to `qtspAuthorizationUrl`. `authorizing`/`signing`: in progress. `completed`: signed. `failed`: see `failureReason`.","anyOf":[{"type":"string","enum":["awaiting_wallet"]},{"type":"string","enum":["authorizing"]},{"type":"string","enum":["awaiting_qtsp_authorization"]},{"type":"string","enum":["signing"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]}]},"failureReason":{"description":"`wallet_authorization_failed` (the wallet declined, or the PID did not match the representative), `wallet_authorization_expired`, `wallet_approval_mismatch`, `qtsp_authorization_denied`, `qtsp_authorization_mismatch`, `qtsp_unavailable`, `qtsp_rejected`, `qtsp_credential_not_found`, `qtsp_signature_invalid`, `qtsp_not_configured`, `document_integrity_failed` or `expired`.","anyOf":[{"type":"string"},{"type":"null"}]},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"representativeUboId":{"description":"The signer (Sign) or authorising representative (Seal). `null` once that declared person’s record has been deleted at the end of its retention period.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"verifySessionId":{"description":"The wallet approval session. `null` once that session has been erased.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"documentHashSha256":{"type":"string"},"dtbsrHash":{"type":"string"},"hashAlgorithmOid":{"type":"string"},"signatureQualifier":{"type":"string"},"credentialId":{"type":"string"},"qtsp":{"type":"object","required":["mode","provider"],"properties":{"mode":{"description":"`csc`: a qualified trust service provider over the CSC API. `nexiel_test`: the sandbox TEST QTSP, whose signatures are not qualified.","anyOf":[{"type":"string","enum":["csc"]},{"type":"string","enum":["nexiel_test"]}]},"provider":{"description":"The QTSP label recorded on the operation.","type":"string"}}},"transactionDataHash":{"description":"The OpenID4VP transaction data hash the signer’s wallet signed (base64url), once approved.","anyOf":[{"type":"string"},{"type":"null"}]},"qtspAuthorizationUrl":{"description":"Set only while `awaiting_qtsp_authorization`: open it in the signer’s browser.","anyOf":[{"type":"string"},{"type":"null"}]},"signedDocumentStatus":{"description":"Where the signed PDF stands. Reading the request never hands it over: claim it with `POST .../requests/{requestId}/document/claim`. `available`: ready to claim. `delivered`: claimed. `expired`: never claimed within 7 days of completion, and deleted. `null` until the request is `completed` (a failed request never has one).","anyOf":[{"type":"string","enum":["available"]},{"type":"string","enum":["delivered"]},{"type":"string","enum":["expired"]},{"type":"null"}]},"signedDocumentHashSha256":{"description":"SHA-256 (hex) of the signed PDF, once completed. Nexiel keeps it after the PDF itself is deleted.","anyOf":[{"type":"string"},{"type":"null"}]},"operationId":{"description":"The permanent operation record, once completed.","anyOf":[{"type":"string"},{"type":"null"}]},"frozenDecisionArtifact":{"anyOf":[{"type":"object","required":["engineVersion","cscApiSpecVersion","subFilter","authorizationMethod","qtspProvider","cscCredentialId"],"properties":{"engineVersion":{"type":"string"},"cscApiSpecVersion":{"type":"string"},"subFilter":{"type":"string"},"authorizationMethod":{"description":"Always `eudi_wallet`.","type":"string"},"qtspProvider":{"type":"string"},"cscCredentialId":{"type":"string"}}},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"completedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"examples":{"awaitingQtsp":{"summary":"Approved in the wallet; the QTSP asks the signer to confirm","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","environment":"production","representativeUboId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","verifySessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qeseal","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"createdAt":"2026-10-11T10:00:00.000Z","status":"awaiting_qtsp_authorization","failureReason":null,"transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","qtspAuthorizationUrl":"https://qtsp.example/oauth2/authorize?client_id=nexiel&request_uri=urn%3Aexample%3Apar-1","signedDocumentStatus":null,"signedDocumentHashSha256":null,"operationId":null,"frozenDecisionArtifact":null,"expiresAt":"2026-10-11T10:25:00.000Z","completedAt":null}},"completed":{"summary":"Completed: the signed PDF is ready to claim","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","environment":"production","representativeUboId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","verifySessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qeseal","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"createdAt":"2026-10-11T10:00:00.000Z","status":"completed","failureReason":null,"transactionDataHash":"OJcnQQByvV1iTYxiQQQx4dact-TNnSG-Ku_cs_6g55Q","qtspAuthorizationUrl":null,"signedDocumentStatus":"available","signedDocumentHashSha256":"1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d","operationId":"7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d","frozenDecisionArtifact":{"engineVersion":"0.3.0+src.024c0eba57c8","cscApiSpecVersion":"2.2.0.0","subFilter":"ETSI.CAdES.detached","authorizationMethod":"eudi_wallet","qtspProvider":"example-qtsp","cscCredentialId":"GX0112348"},"expiresAt":"2026-10-11T10:25:00.000Z","completedAt":"2026-10-11T10:03:12.000Z"}},"failed":{"summary":"Failed: the wallet holder was not the declared representative","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","environment":"production","representativeUboId":"6f3c2a52-6c7b-4b0c-9a37-5f5d3f1d2c11","verifySessionId":"0d6f2b5e-8a51-4c0b-9e6f-3a2f1c7d9b10","documentHashSha256":"9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f809","dtbsrHash":"sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=","hashAlgorithmOid":"2.16.840.1.101.3.4.2.1","signatureQualifier":"eu_eidas_qeseal","credentialId":"GX0112348","qtsp":{"mode":"csc","provider":"example-qtsp"},"createdAt":"2026-10-11T10:00:00.000Z","status":"failed","failureReason":"wallet_authorization_failed","transactionDataHash":null,"qtspAuthorizationUrl":null,"signedDocumentStatus":null,"signedDocumentHashSha256":null,"operationId":null,"frozenDecisionArtifact":null,"expiresAt":"2026-10-11T10:10:00.000Z","completedAt":null}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"502":{"description":"Upstream error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/seal/requests/{requestId}/document/claim":{"post":{"operationId":"claimSealedDocument","summary":"Claim the sealed PDF (once; retry-safe with the same Idempotency-Key)","tags":["Nexiel Seal"],"description":"Hands over the sealed PDF of a completed request, once. Reading the request (`GET /v1/seal/requests/{requestId}`) never does; its `signedDocumentStatus` says when the PDF is `available`. Requires your API key with full scope and an `Idempotency-Key`: a retry with the same key within 60 minutes of the claim returns the same PDF, so a crash after the claim never loses it; after that Nexiel deletes its copy and keeps only the hashes (`410 signed_document_no_longer_held`). A claim with another key after the PDF was claimed returns `409 signed_document_already_claimed`; one before completion `409 signed_document_not_ready`; one for a failed request `404 signed_document_not_available`; one never made within 7 days of completion `410 signed_document_expired`. Read-only (agent) keys cannot claim. Rate limited like every API-key route. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["id","signedDocument","signedDocumentHashSha256","claimedAt","replayableUntil"],"properties":{"id":{"format":"uuid","description":"The signing request id.","type":"string"},"signedDocument":{"description":"The signed PDF, base64.","type":"string"},"signedDocumentHashSha256":{"description":"SHA-256 (hex) of the signed PDF; Nexiel keeps this hash after the PDF is deleted.","type":"string"},"claimedAt":{"format":"date-time","type":"string"},"replayableUntil":{"format":"date-time","description":"Until when a retry with the same Idempotency-Key returns this same PDF. After that Nexiel holds only the hashes.","type":"string"}}},"examples":{"claimed":{"summary":"The sealed PDF, claimed (a retry with the same Idempotency-Key within an hour returns the same body)","value":{"id":"b2b1c4a7-3e0f-4f9d-8c6a-1e2d3f4a5b6c","signedDocument":"JVBERi0xLjQKJcOkw7zDtsOf...(truncated base64 sealed PDF)","signedDocumentHashSha256":"1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d","claimedAt":"2026-10-11T10:04:00.000Z","replayableUntil":"2026-10-11T11:04:00.000Z"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/seal/qtsp-callback":{"get":{"operationId":"sealingQtspCallback","summary":"The QTSP’s redirect back after its own authorization step","tags":["Nexiel Seal"],"description":"Opened by the signer’s browser when the QTSP’s authorization server redirects back (CSC API v2.2 §8.2.2: `code` and `state`, or `error`). Never called by your backend. Completes the request, then redirects to the `returnUri` you gave (303) or shows a short page.","parameters":[{"schema":{"minLength":16,"maxLength":512,"type":"string"},"in":"query","name":"state","required":true},{"schema":{"minLength":1,"maxLength":2048,"type":"string"},"in":"query","name":"code","required":false},{"schema":{"maxLength":256,"type":"string"},"in":"query","name":"error","required":false},{"schema":{"maxLength":1024,"type":"string"},"in":"query","name":"error_description","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/dc-api-origins":{"get":{"operationId":"getRpServiceDcApiOrigins","summary":"A service's Digital Credentials API origins","tags":["Relying-party identity"],"description":"The web origins sessions signed under this service may use with `flow: dc_api`, for one environment.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["serviceId","environment","origins"],"properties":{"serviceId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"origins":{"type":"array","items":{"type":"string"}}}},"example":{"serviceId":"b03dfe3b-a297-473e-aae0-7c8467e08389","environment":"sandbox","origins":["origin"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"replaceRpServiceDcApiOrigins","summary":"Replace a service's Digital Credentials API origins","tags":["Relying-party identity"],"description":"Sets the complete origin list for one environment, all or nothing: one invalid entry and nothing is saved. Production origins need an approved KYB application. Every change is audited. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","origins"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"origins":{"maxItems":20,"description":"The complete list, replacing the current one. Each entry is a web origin: `https://` plus a host and optional port, nothing else (no path, no trailing slash, lower case). Sandbox also accepts `http://localhost` and `http://127.0.0.1` with a port. An empty list turns Digital Credentials API sessions off for this service. Nexiel Login's hosted page runs on Nexiel's own origin and does not use this list.","type":"array","items":{"minLength":1,"maxLength":255,"type":"string"},"example":["https://shop.example.eu","https://checkout.example.eu"]}}},"examples":{"production":{"summary":"Allow two production pages to start Digital Credentials API sessions under this service","value":{"environment":"production","origins":["https://shop.example.eu","https://checkout.example.eu"]}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["serviceId","environment","origins"],"properties":{"serviceId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"origins":{"type":"array","items":{"type":"string"}}}},"example":{"serviceId":"b03dfe3b-a297-473e-aae0-7c8467e08389","environment":"sandbox","origins":["origin"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/federation":{"get":{"operationId":"getRpFederationProfile","summary":"Your OpenID Federation profile for a service","tags":["Relying-party identity"],"description":"Your Entity Identifier and endpoints, whether you are onboarded (Nexiel resolves your own Trust Chain to the federation's Trust Anchor, as a wallet would), the Entity Configuration exactly as published, and the status of each Trust Mark. `404 federation_profile_not_found` when no profile is enabled for the service in that environment.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","rpServiceId","environment","ecosystem","ecosystemLabel","status","entityId","clientId","endpoints","authorityHints","redirectUris","activatedAt","onboarding","entityConfiguration","trustMarks","createdAt","updatedAt"],"properties":{"id":{"format":"uuid","type":"string"},"rpServiceId":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"ecosystem":{"description":"`nexiel-test`: the Nexiel TEST federation (sandbox only), which onboards your Leaf at once. `it-wallet-preproduction`: Italy's IT-Wallet pre-production federation (sandbox only). `it-wallet`: Italy's IT-Wallet federation (production only). For the IT-Wallet federations your Leaf is onboarded only once your federation authority publishes a Subordinate Statement about it.","anyOf":[{"type":"string","enum":["nexiel-test"]},{"type":"string","enum":["it-wallet-preproduction"]},{"type":"string","enum":["it-wallet"]}]},"ecosystemLabel":{"type":"string"},"status":{"type":"string"},"entityId":{"description":"Your Entity Identifier; give it to your federation authority to be onboarded.","type":"string"},"clientId":{"description":"The `openid_federation:` client identifier wallets see.","type":"string"},"endpoints":{"type":"object","required":["entityId","configuration","requestObject","response","walletReturn"],"properties":{"entityId":{"type":"string"},"configuration":{"description":"Where your Entity Configuration is published.","type":"string"},"requestObject":{"description":"Your `request_uris` entry.","type":"string"},"response":{"description":"Your `response_uris` entry.","type":"string"},"walletReturn":{"description":"The Nexiel page a cross-device wallet returns to; always in your `redirect_uris`.","type":"string"}}},"authorityHints":{"type":"array","items":{"type":"string"}},"redirectUris":{"description":"Your own same-device return pages, published in `redirect_uris`.","type":"array","items":{"type":"string"}},"activatedAt":{"description":"When the service started signing as this Leaf. Null: it still signs with its access certificate.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"onboarding":{"type":"object","required":["status","reason","trustAnchor","path","chainExpiresAt"],"properties":{"status":{"anyOf":[{"type":"string","enum":["onboarded"]},{"type":"string","enum":["not_onboarded"]}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"trustAnchor":{"anyOf":[{"type":"string"},{"type":"null"}]},"path":{"type":"array","items":{"type":"string"}},"chainExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"entityConfiguration":{"type":"object","required":["jwt","payload"],"properties":{"jwt":{"type":"string"},"payload":{"type":"object","additionalProperties":{}}}},"trustMarks":{"type":"array","items":{"type":"object","required":["trustMarkType","issuer","expiresAt","status","detail"],"properties":{"trustMarkType":{"type":"string"},"issuer":{"type":"string"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["invalid"]},{"type":"string","enum":["unverified"]}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","ecosystem":"nexiel-test","ecosystemLabel":"ecosystemLabel","status":"status","entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","endpoints":{"entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","configuration":"configuration","requestObject":"requestObject","response":"response","walletReturn":"walletReturn"},"authorityHints":["authorityHint"],"redirectUris":["https://example.com/redirecturi"],"activatedAt":"2026-11-19T10:00:00.000Z","onboarding":{"status":"onboarded","reason":"reason","trustAnchor":"trustAnchor","path":["path"],"chainExpiresAt":"2026-11-19T10:00:00.000Z"},"entityConfiguration":{"jwt":"jwt","payload":{}},"trustMarks":[{"trustMarkType":"trustMarkType","issuer":"issuer","expiresAt":"2026-11-19T10:00:00.000Z","status":"valid","detail":"detail"}],"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"configureRpFederationProfile","summary":"Enable or update OpenID Federation for a service","tags":["Relying-party identity"],"description":"Creates the service's OpenID Federation Leaf for that environment. The first call creates your federation and request-signing keys (in a hardware-backed key store in production) and a fixed Entity Identifier; later calls update its metadata, authority hints and return pages. In `nexiel-test` (sandbox) the TEST intermediate onboards you at once and the profile is activated straight away. In the IT-Wallet federations, give your Entity Identifier to your federation authority; the service keeps signing with its access certificate until you activate the profile, which is possible once the authority has published a Subordinate Statement about you. Production requires an approved KYB application. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","ecosystem","entityMetadata"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"ecosystem":{"description":"`nexiel-test`: the Nexiel TEST federation (sandbox only), which onboards your Leaf at once. `it-wallet-preproduction`: Italy's IT-Wallet pre-production federation (sandbox only). `it-wallet`: Italy's IT-Wallet federation (production only). For the IT-Wallet federations your Leaf is onboarded only once your federation authority publishes a Subordinate Statement about it.","anyOf":[{"type":"string","enum":["nexiel-test"]},{"type":"string","enum":["it-wallet-preproduction"]},{"type":"string","enum":["it-wallet"]}]},"authorityHints":{"minItems":1,"maxItems":5,"description":"Entity Identifiers of the federation authorities that onboard you (the Trust Anchor or an accredited intermediate). Required for the IT-Wallet federations; omit for `nexiel-test`.","type":"array","items":{"maxLength":2048,"type":"string"}},"entityMetadata":{"additionalProperties":false,"type":"object","required":["organizationName","homepageUri","policyUri","logoUri","contacts"],"properties":{"organizationName":{"minLength":1,"maxLength":200,"description":"Shown to wallet users as your organization name.","type":"string"},"homepageUri":{"maxLength":512,"description":"https URL of your website.","type":"string"},"policyUri":{"maxLength":512,"description":"https URL of your privacy policy.","type":"string"},"logoUri":{"maxLength":512,"description":"https URL of your logo. The IT-Wallet profile requires SVG.","type":"string"},"contacts":{"minItems":1,"maxItems":5,"description":"Contact email addresses (the IT-Wallet profile expects your certified email, PEC).","type":"array","items":{"maxLength":200,"type":"string"}},"tosUri":{"maxLength":512,"type":"string"}}},"redirectUris":{"maxItems":10,"description":"Your pages a wallet may return the user to after a same-device presentation (https, no fragment). Published as `redirect_uris` in your Entity Configuration; a same-device session for this service must use one of them as `redirectUri`. Omit to leave them unchanged.","type":"array","items":{"minLength":1,"maxLength":2048,"type":"string"}}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","rpServiceId","environment","ecosystem","ecosystemLabel","status","entityId","clientId","endpoints","authorityHints","redirectUris","activatedAt","onboarding","entityConfiguration","trustMarks","createdAt","updatedAt"],"properties":{"id":{"format":"uuid","type":"string"},"rpServiceId":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"ecosystem":{"description":"`nexiel-test`: the Nexiel TEST federation (sandbox only), which onboards your Leaf at once. `it-wallet-preproduction`: Italy's IT-Wallet pre-production federation (sandbox only). `it-wallet`: Italy's IT-Wallet federation (production only). For the IT-Wallet federations your Leaf is onboarded only once your federation authority publishes a Subordinate Statement about it.","anyOf":[{"type":"string","enum":["nexiel-test"]},{"type":"string","enum":["it-wallet-preproduction"]},{"type":"string","enum":["it-wallet"]}]},"ecosystemLabel":{"type":"string"},"status":{"type":"string"},"entityId":{"description":"Your Entity Identifier; give it to your federation authority to be onboarded.","type":"string"},"clientId":{"description":"The `openid_federation:` client identifier wallets see.","type":"string"},"endpoints":{"type":"object","required":["entityId","configuration","requestObject","response","walletReturn"],"properties":{"entityId":{"type":"string"},"configuration":{"description":"Where your Entity Configuration is published.","type":"string"},"requestObject":{"description":"Your `request_uris` entry.","type":"string"},"response":{"description":"Your `response_uris` entry.","type":"string"},"walletReturn":{"description":"The Nexiel page a cross-device wallet returns to; always in your `redirect_uris`.","type":"string"}}},"authorityHints":{"type":"array","items":{"type":"string"}},"redirectUris":{"description":"Your own same-device return pages, published in `redirect_uris`.","type":"array","items":{"type":"string"}},"activatedAt":{"description":"When the service started signing as this Leaf. Null: it still signs with its access certificate.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"onboarding":{"type":"object","required":["status","reason","trustAnchor","path","chainExpiresAt"],"properties":{"status":{"anyOf":[{"type":"string","enum":["onboarded"]},{"type":"string","enum":["not_onboarded"]}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"trustAnchor":{"anyOf":[{"type":"string"},{"type":"null"}]},"path":{"type":"array","items":{"type":"string"}},"chainExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"entityConfiguration":{"type":"object","required":["jwt","payload"],"properties":{"jwt":{"type":"string"},"payload":{"type":"object","additionalProperties":{}}}},"trustMarks":{"type":"array","items":{"type":"object","required":["trustMarkType","issuer","expiresAt","status","detail"],"properties":{"trustMarkType":{"type":"string"},"issuer":{"type":"string"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["invalid"]},{"type":"string","enum":["unverified"]}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","ecosystem":"nexiel-test","ecosystemLabel":"ecosystemLabel","status":"status","entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","endpoints":{"entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","configuration":"configuration","requestObject":"requestObject","response":"response","walletReturn":"walletReturn"},"authorityHints":["authorityHint"],"redirectUris":["https://example.com/redirecturi"],"activatedAt":"2026-11-19T10:00:00.000Z","onboarding":{"status":"onboarded","reason":"reason","trustAnchor":"trustAnchor","path":["path"],"chainExpiresAt":"2026-11-19T10:00:00.000Z"},"entityConfiguration":{"jwt":"jwt","payload":{}},"trustMarks":[{"trustMarkType":"trustMarkType","issuer":"issuer","expiresAt":"2026-11-19T10:00:00.000Z","status":"valid","detail":"detail"}],"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/federation/activate":{"post":{"operationId":"activateRpFederationProfile","summary":"Start signing as your OpenID Federation Leaf","tags":["Relying-party identity"],"description":"Switches the service's new sessions in that environment to the `openid_federation:` client identifier. Nexiel first resolves your own Trust Chain to the federation's Trust Anchor: `409 federation_not_onboarded` until your federation authority publishes a Subordinate Statement about you. Wallets that do not support OpenID Federation cannot answer an activated service, so keep a separate service on its access certificate for them. Idempotent. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","rpServiceId","environment","ecosystem","ecosystemLabel","status","entityId","clientId","endpoints","authorityHints","redirectUris","activatedAt","onboarding","entityConfiguration","trustMarks","createdAt","updatedAt"],"properties":{"id":{"format":"uuid","type":"string"},"rpServiceId":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"ecosystem":{"description":"`nexiel-test`: the Nexiel TEST federation (sandbox only), which onboards your Leaf at once. `it-wallet-preproduction`: Italy's IT-Wallet pre-production federation (sandbox only). `it-wallet`: Italy's IT-Wallet federation (production only). For the IT-Wallet federations your Leaf is onboarded only once your federation authority publishes a Subordinate Statement about it.","anyOf":[{"type":"string","enum":["nexiel-test"]},{"type":"string","enum":["it-wallet-preproduction"]},{"type":"string","enum":["it-wallet"]}]},"ecosystemLabel":{"type":"string"},"status":{"type":"string"},"entityId":{"description":"Your Entity Identifier; give it to your federation authority to be onboarded.","type":"string"},"clientId":{"description":"The `openid_federation:` client identifier wallets see.","type":"string"},"endpoints":{"type":"object","required":["entityId","configuration","requestObject","response","walletReturn"],"properties":{"entityId":{"type":"string"},"configuration":{"description":"Where your Entity Configuration is published.","type":"string"},"requestObject":{"description":"Your `request_uris` entry.","type":"string"},"response":{"description":"Your `response_uris` entry.","type":"string"},"walletReturn":{"description":"The Nexiel page a cross-device wallet returns to; always in your `redirect_uris`.","type":"string"}}},"authorityHints":{"type":"array","items":{"type":"string"}},"redirectUris":{"description":"Your own same-device return pages, published in `redirect_uris`.","type":"array","items":{"type":"string"}},"activatedAt":{"description":"When the service started signing as this Leaf. Null: it still signs with its access certificate.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"onboarding":{"type":"object","required":["status","reason","trustAnchor","path","chainExpiresAt"],"properties":{"status":{"anyOf":[{"type":"string","enum":["onboarded"]},{"type":"string","enum":["not_onboarded"]}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"trustAnchor":{"anyOf":[{"type":"string"},{"type":"null"}]},"path":{"type":"array","items":{"type":"string"}},"chainExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"entityConfiguration":{"type":"object","required":["jwt","payload"],"properties":{"jwt":{"type":"string"},"payload":{"type":"object","additionalProperties":{}}}},"trustMarks":{"type":"array","items":{"type":"object","required":["trustMarkType","issuer","expiresAt","status","detail"],"properties":{"trustMarkType":{"type":"string"},"issuer":{"type":"string"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["invalid"]},{"type":"string","enum":["unverified"]}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","ecosystem":"nexiel-test","ecosystemLabel":"ecosystemLabel","status":"status","entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","endpoints":{"entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","configuration":"configuration","requestObject":"requestObject","response":"response","walletReturn":"walletReturn"},"authorityHints":["authorityHint"],"redirectUris":["https://example.com/redirecturi"],"activatedAt":"2026-11-19T10:00:00.000Z","onboarding":{"status":"onboarded","reason":"reason","trustAnchor":"trustAnchor","path":["path"],"chainExpiresAt":"2026-11-19T10:00:00.000Z"},"entityConfiguration":{"jwt":"jwt","payload":{}},"trustMarks":[{"trustMarkType":"trustMarkType","issuer":"issuer","expiresAt":"2026-11-19T10:00:00.000Z","status":"valid","detail":"detail"}],"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/federation/trust-marks":{"post":{"operationId":"importRpFederationTrustMark","summary":"Add a Trust Mark your federation authority issued","tags":["Relying-party identity"],"description":"Publishes a Trust Mark in your Entity Configuration. It must be a `trust-mark+jwt` about your Entity and not expired; a mark of the same type from the same issuer replaces the earlier one. Its signature and issuer are checked against the federation and shown in the profile. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","trustMark"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"trustMark":{"minLength":1,"maxLength":65536,"description":"A Trust Mark JWT your federation authority issued to your Entity.","type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","rpServiceId","environment","ecosystem","ecosystemLabel","status","entityId","clientId","endpoints","authorityHints","redirectUris","activatedAt","onboarding","entityConfiguration","trustMarks","createdAt","updatedAt"],"properties":{"id":{"format":"uuid","type":"string"},"rpServiceId":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"ecosystem":{"description":"`nexiel-test`: the Nexiel TEST federation (sandbox only), which onboards your Leaf at once. `it-wallet-preproduction`: Italy's IT-Wallet pre-production federation (sandbox only). `it-wallet`: Italy's IT-Wallet federation (production only). For the IT-Wallet federations your Leaf is onboarded only once your federation authority publishes a Subordinate Statement about it.","anyOf":[{"type":"string","enum":["nexiel-test"]},{"type":"string","enum":["it-wallet-preproduction"]},{"type":"string","enum":["it-wallet"]}]},"ecosystemLabel":{"type":"string"},"status":{"type":"string"},"entityId":{"description":"Your Entity Identifier; give it to your federation authority to be onboarded.","type":"string"},"clientId":{"description":"The `openid_federation:` client identifier wallets see.","type":"string"},"endpoints":{"type":"object","required":["entityId","configuration","requestObject","response","walletReturn"],"properties":{"entityId":{"type":"string"},"configuration":{"description":"Where your Entity Configuration is published.","type":"string"},"requestObject":{"description":"Your `request_uris` entry.","type":"string"},"response":{"description":"Your `response_uris` entry.","type":"string"},"walletReturn":{"description":"The Nexiel page a cross-device wallet returns to; always in your `redirect_uris`.","type":"string"}}},"authorityHints":{"type":"array","items":{"type":"string"}},"redirectUris":{"description":"Your own same-device return pages, published in `redirect_uris`.","type":"array","items":{"type":"string"}},"activatedAt":{"description":"When the service started signing as this Leaf. Null: it still signs with its access certificate.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"onboarding":{"type":"object","required":["status","reason","trustAnchor","path","chainExpiresAt"],"properties":{"status":{"anyOf":[{"type":"string","enum":["onboarded"]},{"type":"string","enum":["not_onboarded"]}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"trustAnchor":{"anyOf":[{"type":"string"},{"type":"null"}]},"path":{"type":"array","items":{"type":"string"}},"chainExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"entityConfiguration":{"type":"object","required":["jwt","payload"],"properties":{"jwt":{"type":"string"},"payload":{"type":"object","additionalProperties":{}}}},"trustMarks":{"type":"array","items":{"type":"object","required":["trustMarkType","issuer","expiresAt","status","detail"],"properties":{"trustMarkType":{"type":"string"},"issuer":{"type":"string"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["valid"]},{"type":"string","enum":["invalid"]},{"type":"string","enum":["unverified"]}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","ecosystem":"nexiel-test","ecosystemLabel":"ecosystemLabel","status":"status","entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","endpoints":{"entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","configuration":"configuration","requestObject":"requestObject","response":"response","walletReturn":"walletReturn"},"authorityHints":["authorityHint"],"redirectUris":["https://example.com/redirecturi"],"activatedAt":"2026-11-19T10:00:00.000Z","onboarding":{"status":"onboarded","reason":"reason","trustAnchor":"trustAnchor","path":["path"],"chainExpiresAt":"2026-11-19T10:00:00.000Z"},"entityConfiguration":{"jwt":"jwt","payload":{}},"trustMarks":[{"trustMarkType":"trustMarkType","issuer":"issuer","expiresAt":"2026-11-19T10:00:00.000Z","status":"valid","detail":"detail"}],"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/rp-identity/services/{serviceId}/federation/disable":{"post":{"operationId":"disableRpFederationProfile","summary":"Disable OpenID Federation for a service","tags":["Relying-party identity"],"description":"Stops the service signing as a federation Leaf at once: its Entity Configuration is no longer published, open federation sessions can no longer be fetched, and new sessions use its access certificate again. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","reason"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"reason":{"minLength":1,"maxLength":200,"type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"serviceId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","rpServiceId","environment","entityId","status","disabledAt"],"properties":{"id":{"format":"uuid","type":"string"},"rpServiceId":{"format":"uuid","type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"entityId":{"type":"string"},"status":{"type":"string","enum":["disabled"]},"disabledAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","environment":"sandbox","entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","status":"disabled","disabledAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/federation/entities/{entityKey}/.well-known/openid-federation":{"get":{"operationId":"getFederationEntityConfiguration","summary":"Entity Configuration of a relying party federation Leaf","tags":["OpenID Federation"],"description":"Public. The signed Entity Configuration (`application/entity-statement+jwt`) of a relying party service that acts as an OpenID Federation Leaf: its federation keys, authority hints, Trust Marks, `federation_entity` metadata and `openid_credential_verifier` metadata (request and response URIs, encryption and format support, and the key that signs its request objects). Valid for 24 hours. `404` when no enabled profile has this key in this environment.","parameters":[{"schema":{"pattern":"^[A-Za-z0-9_-]{22}$","type":"string"},"in":"path","name":"entityKey","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"A signed Entity Statement (`application/entity-statement+jwt`).","content":{"application/entity-statement+jwt":{"schema":{"description":"A signed Entity Statement (`application/entity-statement+jwt`).","type":"string"}}}},"404":{"description":"Default Response","content":{"application/entity-statement+jwt":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/entity-statement+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/federation/entities/{entityKey}/request-object":{"get":{"operationId":"getFederationRequestObject","summary":"Signed request object of a federation Leaf session (request_uri, GET)","tags":["OpenID Federation"],"description":"Called by the EUDI wallet. The signed request object of a session whose service signs as an OpenID Federation Leaf: header `typ: oauth-authz-req+jwt`, `alg: ES256`, `kid` (a key of the Leaf's `openid_credential_verifier` metadata) and `trust_chain` (the Leaf's Trust Chain to its Trust Anchor); `client_id` is `openid_federation:` plus the Entity Identifier. POST accepts `wallet_nonce` and `wallet_metadata`. Any error status tells the wallet to stop.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"query","name":"id","required":true,"description":"The session id from `requestUri`."},{"schema":{"pattern":"^[A-Za-z0-9_-]{22}$","type":"string"},"in":"path","name":"entityKey","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","content":{"application/oauth-authz-req+jwt":{"schema":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","type":"string"}}}},"400":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"404":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"409":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"410":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"429":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}},"503":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}}}},"post":{"operationId":"postFederationRequestObject","summary":"Signed request object of a federation Leaf session (request_uri, POST)","tags":["OpenID Federation"],"description":"Called by the EUDI wallet. The signed request object of a session whose service signs as an OpenID Federation Leaf: header `typ: oauth-authz-req+jwt`, `alg: ES256`, `kid` (a key of the Leaf's `openid_credential_verifier` metadata) and `trust_chain` (the Leaf's Trust Chain to its Trust Anchor); `client_id` is `openid_federation:` plus the Entity Identifier. POST accepts `wallet_nonce` and `wallet_metadata`. Any error status tells the wallet to stop.","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"additionalProperties":true,"type":"object","properties":{"wallet_metadata":{"maxLength":16384,"type":"string"},"wallet_nonce":{"minLength":1,"maxLength":512,"type":"string"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"query","name":"id","required":true,"description":"The session id from `requestUri`."},{"schema":{"pattern":"^[A-Za-z0-9_-]{22}$","type":"string"},"in":"path","name":"entityKey","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","content":{"application/oauth-authz-req+jwt":{"schema":{"description":"The signed request object, as `application/oauth-authz-req+jwt`.","type":"string"}}}},"400":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"404":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"409":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"410":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"429":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}},"503":{"description":"Default Response","content":{"application/oauth-authz-req+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/federation/entities/{entityKey}/response":{"post":{"operationId":"submitFederationVerificationResponse","summary":"Wallet's direct_post.jwt callback for a federation Leaf","tags":["OpenID Federation"],"description":"Called by the EUDI wallet. The fixed `response_uri` of an OpenID Federation Leaf (the one listed in its `response_uris`). The session is found from the response JWE's `kid`, which a wallet must send (OpenID4VP 1.0 §8.3), or from `state` for an unencrypted error. Otherwise identical to `POST /v1/verify/sessions/{sessionId}/responses`.","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"additionalProperties":true,"type":"object","properties":{"response":{"minLength":1,"maxLength":524288,"description":"The encrypted authorization response (compact JWE).","type":"string"},"state":{"maxLength":512,"type":"string"},"error":{"minLength":1,"maxLength":512,"type":"string"},"error_description":{"maxLength":2048,"type":"string"},"vp_token":{"description":"Accepted unencrypted only for an `eu-age-verification` session; refused for every other session."}}}}}},"parameters":[{"schema":{"pattern":"^[A-Za-z0-9_-]{22}$","type":"string"},"in":"path","name":"entityKey","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"redirect_uri":{"description":"Where the wallet sends the user next. Same-device sessions: your `redirectUri` with `#response_code=...`, or with `#error=<code>` after the wallet declined or reported an error. Cross-device sessions: a Nexiel page telling the user to return to the device they started on; absent after a wallet error. The verification outcome is never returned to the wallet.","type":"string"}}},"example":{"redirect_uri":"https://example.com/redirect_uri"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sandbox/federation/{entity}/.well-known/openid-federation":{"get":{"operationId":"getTestFederationEntityConfiguration","summary":"Nexiel TEST federation: Entity Configuration","tags":["OpenID Federation"],"description":"Test mode only (`404` where test mode is switched off). Part of the Nexiel TEST federation, which live mode never trusts. The Entity Configuration of the TEST Trust Anchor, the TEST intermediate or the TEST credential issuer. Configure the TEST Trust Anchor in a test wallet to accept sandbox federation requests.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["trust-anchor"]},{"type":"string","enum":["intermediate"]},{"type":"string","enum":["credential-issuer"]}]},"in":"path","name":"entity","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"A signed Entity Statement (`application/entity-statement+jwt`).","content":{"application/entity-statement+jwt":{"schema":{"description":"A signed Entity Statement (`application/entity-statement+jwt`).","type":"string"}}}},"404":{"description":"Default Response","content":{"application/entity-statement+jwt":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/entity-statement+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/sandbox/federation/{authority}/fetch":{"get":{"operationId":"fetchTestFederationSubordinateStatement","summary":"Nexiel TEST federation: fetch a Subordinate Statement","tags":["OpenID Federation"],"description":"Test mode only (`404` where test mode is switched off). Part of the Nexiel TEST federation, which live mode never trusts. OpenID Federation 1.0 §8.1 fetch endpoint of the TEST Trust Anchor or intermediate.","parameters":[{"schema":{"minLength":1,"maxLength":2048,"type":"string"},"in":"query","name":"sub","required":true},{"schema":{"anyOf":[{"type":"string","enum":["trust-anchor"]},{"type":"string","enum":["intermediate"]}]},"in":"path","name":"authority","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"A signed Entity Statement (`application/entity-statement+jwt`).","content":{"application/entity-statement+jwt":{"schema":{"description":"A signed Entity Statement (`application/entity-statement+jwt`).","type":"string"}}}},"404":{"description":"Default Response","content":{"application/entity-statement+jwt":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/entity-statement+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/sandbox/federation/{authority}/list":{"get":{"operationId":"listTestFederationSubordinates","summary":"Nexiel TEST federation: list Immediate Subordinates","tags":["OpenID Federation"],"description":"Test mode only (`404` where test mode is switched off). Part of the Nexiel TEST federation, which live mode never trusts. OpenID Federation 1.0 §8.2 subordinate listing.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["trust-anchor"]},{"type":"string","enum":["intermediate"]}]},"in":"path","name":"authority","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}},"example":["string"]}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/sandbox/federation/{authority}/trust-mark-status":{"post":{"operationId":"getTestFederationTrustMarkStatus","summary":"Nexiel TEST federation: Trust Mark status","tags":["OpenID Federation"],"description":"Test mode only (`404` where test mode is switched off). Part of the Nexiel TEST federation, which live mode never trusts. OpenID Federation 1.0 §8.4 Trust Mark status: a signed `trust-mark-status-response+jwt`. `404` for a Trust Mark this authority did not issue.","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["trust_mark"],"properties":{"trust_mark":{"minLength":1,"maxLength":65536,"type":"string"}}}}}},"parameters":[{"schema":{"anyOf":[{"type":"string","enum":["trust-anchor"]},{"type":"string","enum":["intermediate"]}]},"in":"path","name":"authority","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/trust-mark-status-response+jwt":{"schema":{"type":"string"}}}},"404":{"description":"Default Response","content":{"application/trust-mark-status-response+jwt":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/trust-mark-status-response+jwt":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}}}}},"/v1/login/.well-known/openid-configuration":{"get":{"operationId":"getLoginDiscoveryDocument","summary":"Nexiel Login OIDC discovery document","tags":["Login"],"description":"The OpenID Connect discovery document for Nexiel Login live connections. The issuer (`https://compliance.nexiel.io/v1/login`) has a path component, so per OpenID Connect Discovery 1.0 §4 the document lives at the issuer followed by `/.well-known/openid-configuration`. Test mode connections use the separate test mode issuer, `https://compliance.nexiel.io/v1/login/test`, whose document lives at `/v1/login/test/.well-known/openid-configuration`. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuer","authorization_endpoint","token_endpoint","jwks_uri","response_types_supported","subject_types_supported","id_token_signing_alg_values_supported","scopes_supported","token_endpoint_auth_methods_supported","code_challenge_methods_supported","claims_supported","grant_types_supported","end_session_endpoint","backchannel_logout_supported","backchannel_logout_session_supported","ui_locales_supported"],"properties":{"issuer":{"type":"string"},"authorization_endpoint":{"type":"string"},"token_endpoint":{"type":"string"},"jwks_uri":{"type":"string"},"response_types_supported":{"type":"array","items":{"type":"string"}},"subject_types_supported":{"type":"array","items":{"type":"string"}},"id_token_signing_alg_values_supported":{"type":"array","items":{"type":"string"}},"scopes_supported":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"}},"code_challenge_methods_supported":{"type":"array","items":{"type":"string"}},"claims_supported":{"type":"array","items":{"type":"string"}},"grant_types_supported":{"type":"array","items":{"type":"string"}},"end_session_endpoint":{"type":"string"},"backchannel_logout_supported":{"type":"boolean"},"backchannel_logout_session_supported":{"type":"boolean"},"ui_locales_supported":{"type":"array","items":{"type":"string"}}}},"example":{"issuer":"issuer","authorization_endpoint":"authorization_endpoint","token_endpoint":"token_endpoint","jwks_uri":"https://example.com/jwks_uri","response_types_supported":["response_types_supported"],"subject_types_supported":["subject_types_supported"],"id_token_signing_alg_values_supported":["id_token_signing_alg_values_supported"],"scopes_supported":["scopes_supported"],"token_endpoint_auth_methods_supported":["token_endpoint_auth_methods_supported"],"code_challenge_methods_supported":["code_challenge_methods_supported"],"claims_supported":["claims_supported"],"grant_types_supported":["grant_types_supported"],"end_session_endpoint":"end_session_endpoint","backchannel_logout_supported":false,"backchannel_logout_session_supported":false,"ui_locales_supported":["ui_locales_supported"]}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/.well-known/jwks.json":{"get":{"operationId":"getLoginJwks","summary":"Nexiel Login's id_token signing keys (JWKS)","tags":["Login"],"description":"This issuer's active and rotated (never revoked) id_token signing keys, so an id_token signed just before a key rotation stays verifiable through the overlap window. Only this issuer's own keys are listed: the live and test mode issuers never share a key, so a token from one never verifies against the other's set. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description). No key is published in that case.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{}}}},"example":{"keys":[{}]}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/authorize":{"get":{"operationId":"loginAuthorize","summary":"Hosted login page (also the OAuth 2.0 / OIDC authorize endpoint)","tags":["Login"],"description":"Returns the hosted login page as HTML (the same role as the authorize endpoint of any OpenID Connect provider), never a JSON response. Validates `client_id`, `redirect_uri`, and PKCE against your registered Nexiel Login connection, starts an EUDI wallet verification session, and renders a QR code for it. The page polls `GET /v1/login/authorize/{authorizationRequestId}/status` and sends the browser to your `redirect_uri` once the check completes. If the browser presents a valid, unexpired SSO session cookie for the same `client_id` (set when an earlier login completed), the wallet step is skipped and this responds with an immediate 302 to your `redirect_uri`. An unknown `client_id`, a connection of the other mode (a test mode connection here, which belongs to the test mode issuer), or a `redirect_uri` outside the connection's registered allowlist, renders a static error page and never redirects (the standard OAuth open-redirect defense). Every other validation failure redirects to the validated `redirect_uri` with `?error=...&error_description=...&state=...`, per RFC 6749 §4.1.2.1. Rate limited by source IP, because no client identity is established yet. A caller over the limit gets the standard 429 JSON error rather than HTML or a redirect, since the limit is checked before `client_id` and `redirect_uri` are validated. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"query","name":"response_type","required":false},{"schema":{"type":"string"},"in":"query","name":"client_id","required":false},{"schema":{"type":"string"},"in":"query","name":"redirect_uri","required":false},{"schema":{"type":"string"},"in":"query","name":"scope","required":false},{"schema":{"type":"string"},"in":"query","name":"state","required":false},{"schema":{"type":"string"},"in":"query","name":"nonce","required":false},{"schema":{"type":"string"},"in":"query","name":"code_challenge","required":false},{"schema":{"type":"string"},"in":"query","name":"code_challenge_method","required":false},{"schema":{"type":"string"},"example":"de fr","in":"query","name":"ui_locales","required":false,"description":"OpenID Connect Core 1.0 §3.1.2.1: the end user's preferred languages for the hosted page, as a space-separated list of BCP 47 tags in order of preference. The page uses the first one it supports (en, de, fr, es, it, pl), then the browser's Accept-Language, then English."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response"}}}},"/v1/login/authorize/{authorizationRequestId}/status":{"get":{"operationId":"loginAuthorizeStatus","summary":"The hosted login page's own unauthenticated status-poll route","tags":["Login"],"description":"Authorization for this route is the unguessable `authorizationRequestId` itself, the same model as the wallet's `direct_post` callback, since an end user's browser holds no bearer token. The first poll that observes \"completed\" issues the single-use OAuth authorization code, exactly once, and sets a fresh per-connection SSO session cookie (HttpOnly, scoped to this issuer's path: `nx_login_sso_<client_id>` on `/v1/login`, `nx_login_test_sso_<client_id>` on `/v1/login/test`), so a later authorize request from the same browser, for the same `client_id`, can skip the wallet step. An authorization request of the other issuer's mode is answered 404, like an unknown one. Rate limited by source IP, with a limit sized for the hosted page's polling interval of about 2 seconds. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]},{"type":"string","enum":["already_delivered"]}]},"redirectUrl":{"description":"Present only when status is \"completed\". The hosted page sends the browser here directly. It is built server-side from your registered `redirect_uri`, the single-use OAuth authorization code, and the `state` you originally supplied.","type":"string"},"failureCategory":{"description":"Present when status is \"failed\" or \"expired\": a coarse category the hosted page turns into one plain sentence for the end user (declined, wallet_error, credential_invalid, credential_mismatch, issuer_not_trusted, signer_mismatch, expired, technical or unknown).","type":"string"},"failureReason":{"description":"Sandbox deployments only, when status is \"failed\": the wallet session's failure reason code.","type":"string"}}},"example":{"status":"pending","redirectUrl":"https://example.com/redirecturl","failureCategory":"failureCategory","failureReason":"failureReason"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/token":{"post":{"operationId":"loginToken","summary":"OAuth 2.0 Authorization Code + PKCE token exchange (RFC 6749 §4.1.3)","tags":["Login"],"description":"Authenticates your connection with `client_secret_basic` (an `Authorization: Basic` header) or `client_secret_post` (`client_id` and `client_secret` as body fields). `code_verifier` is required and checked against the `code_challenge` sent to `/authorize` (S256 only). Returns a compact-serialized ES256 `id_token` whose `sub` is a stable pairwise identifier for this combination of your connection and the wallet holder, signed by this issuer's own key. A connection of the other mode gets `401 invalid_client` once its secret is verified, with an `error_description` naming its own issuer. Rate limited by source IP, because the calling relying party cannot be identified until its `client_secret` is verified. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"grant_type":{"type":"string"},"code":{"type":"string"},"redirect_uri":{"type":"string"},"code_verifier":{"type":"string"},"client_id":{"type":"string"},"client_secret":{"type":"string"}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["access_token","token_type","expires_in","id_token"],"properties":{"access_token":{"type":"string"},"token_type":{"type":"string","enum":["Bearer"]},"expires_in":{"type":"number"},"id_token":{"type":"string"}}},"example":{"access_token":"access_token","token_type":"Bearer","expires_in":1,"id_token":"id_token"}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/authorize/{authorizationRequestId}/cancel":{"post":{"operationId":"loginAuthorizeCancel","summary":"The hosted login page's cancel action","tags":["Login"],"description":"Called by the hosted login page when the user chooses to cancel, while waiting or after a failure or expiry. Ends the sign-in and returns the URL that sends the browser back to your `redirect_uri` with `error=access_denied` (RFC 6749 §4.1.2.1). Repeating it returns the same URL. A completed sign-in returns `409` `authorization_request_completed` and the page delivers the code instead. Authorization is the unguessable `authorizationRequestId`, as for the status poll. Rate limited by source IP. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled.","parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["redirectUrl"],"properties":{"redirectUrl":{"description":"Your registered `redirect_uri` with `error=access_denied`, an `error_description` and your `state` (RFC 6749 §4.1.2.1).","type":"string"}}},"example":{"redirectUrl":"https://rp.example/callback?error=access_denied&error_description=The+user+cancelled+the+sign-in.&state=af0ifjsldkj"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/logout":{"get":{"operationId":"loginLogout","summary":"RP-Initiated Logout (end_session_endpoint)","tags":["Login"],"description":"The OpenID Connect RP-Initiated Logout 1.0 `end_session_endpoint`. Redirect the end user's browser here (GET) or submit the same parameters as a form (POST). With a valid `id_token_hint`, the session named by its `sid` is ended and the SSO cookie is cleared. Without one, the user is first asked to confirm. The `id_token_hint` signature must verify against this issuer's own published keys and its issuer must match (a test mode id_token is never accepted by the live issuer, nor the reverse); an expired token is still accepted. `post_logout_redirect_uri` must exactly match one of the `post_logout_redirect_uris` registered for the connection, otherwise the request is rejected with a 400 page and nothing happens; the browser is never redirected to an unregistered address. `state` is appended to the redirect. If your connection registered a `backchannel_logout_uri`, a signed Logout Token is delivered to it for every session this request ended (retried with backoff on failure). Rate limited by source IP. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"query","name":"id_token_hint","required":false},{"schema":{"type":"string"},"in":"query","name":"client_id","required":false},{"schema":{"type":"string"},"in":"query","name":"post_logout_redirect_uri","required":false},{"schema":{"type":"string"},"in":"query","name":"state","required":false},{"schema":{"type":"string"},"in":"query","name":"confirm_token","required":false},{"schema":{"type":"string"},"in":"query","name":"logout_hint","required":false},{"schema":{"type":"string"},"in":"query","name":"ui_locales","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response"}}},"post":{"operationId":"loginLogoutPost","summary":"RP-Initiated Logout (end_session_endpoint), form POST","tags":["Login"],"description":"The OpenID Connect RP-Initiated Logout 1.0 `end_session_endpoint`. Redirect the end user's browser here (GET) or submit the same parameters as a form (POST). With a valid `id_token_hint`, the session named by its `sid` is ended and the SSO cookie is cleared. Without one, the user is first asked to confirm. The `id_token_hint` signature must verify against this issuer's own published keys and its issuer must match (a test mode id_token is never accepted by the live issuer, nor the reverse); an expired token is still accepted. `post_logout_redirect_uri` must exactly match one of the `post_logout_redirect_uris` registered for the connection, otherwise the request is rejected with a 400 page and nothing happens; the browser is never redirected to an unregistered address. `state` is appended to the redirect. If your connection registered a `backchannel_logout_uri`, a signed Logout Token is delivered to it for every session this request ended (retried with backoff on failure). Rate limited by source IP. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"id_token_hint":{"type":"string"},"client_id":{"type":"string"},"post_logout_redirect_uri":{"type":"string"},"state":{"type":"string"},"confirm_token":{"type":"string"},"logout_hint":{"type":"string"},"ui_locales":{"type":"string"}}}}}},"responses":{"200":{"description":"Default Response"}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/sessions/revoke":{"post":{"operationId":"loginRevokeSessions","summary":"Revoke Nexiel Login sessions for one of your users","tags":["Login"],"description":"Server-side session revocation for a relying party. Authenticate with your connection's `client_secret_basic` or `client_secret_post` credentials, exactly as at `/v1/login/token`, and pass exactly one of `sub` (ends every live session of that user on your connection) or `sid` (ends that one session), both as received in an id_token. You can only ever end sessions of your own connection. An ended session can no longer skip the wallet step, and a back-channel Logout Token is delivered to your `backchannel_logout_uri` if you registered one. The call is idempotent: repeating it returns `revoked_sessions: 0`, so it needs no Idempotency-Key. A connection of the other mode gets `401 invalid_client`, with an `error_description` naming its own issuer. Rate limited by source IP, because the caller is not identified until its `client_secret` is verified. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"sub":{"description":"The pairwise subject from an id_token. Ends every live session of that user on your connection.","type":"string"},"sid":{"description":"The session id from an id_token. Ends that one session.","type":"string"},"client_id":{"type":"string"},"client_secret":{"type":"string"}}},"examples":{"example1":{"value":{"sid":"5b0b8ea5-4a52-4b3e-8d0e-2f6b4f2d9c11"}},"example2":{"value":{"sub":"0f8c3e72-1d9a-4c8b-9a52-7e1b6d3a4f90"}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["revoked_sessions"],"properties":{"revoked_sessions":{"description":"How many live sessions this request ended. 0 when none matched or they had already ended.","type":"integer"}}},"example":{"revoked_sessions":1}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/test/.well-known/openid-configuration":{"get":{"operationId":"getLoginTestDiscoveryDocument","summary":"Nexiel Login OIDC discovery document (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `GET /v1/login/.well-known/openid-configuration`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["issuer","authorization_endpoint","token_endpoint","jwks_uri","response_types_supported","subject_types_supported","id_token_signing_alg_values_supported","scopes_supported","token_endpoint_auth_methods_supported","code_challenge_methods_supported","claims_supported","grant_types_supported","end_session_endpoint","backchannel_logout_supported","backchannel_logout_session_supported","ui_locales_supported"],"properties":{"issuer":{"type":"string"},"authorization_endpoint":{"type":"string"},"token_endpoint":{"type":"string"},"jwks_uri":{"type":"string"},"response_types_supported":{"type":"array","items":{"type":"string"}},"subject_types_supported":{"type":"array","items":{"type":"string"}},"id_token_signing_alg_values_supported":{"type":"array","items":{"type":"string"}},"scopes_supported":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"}},"code_challenge_methods_supported":{"type":"array","items":{"type":"string"}},"claims_supported":{"type":"array","items":{"type":"string"}},"grant_types_supported":{"type":"array","items":{"type":"string"}},"end_session_endpoint":{"type":"string"},"backchannel_logout_supported":{"type":"boolean"},"backchannel_logout_session_supported":{"type":"boolean"},"ui_locales_supported":{"type":"array","items":{"type":"string"}}}},"example":{"issuer":"issuer","authorization_endpoint":"authorization_endpoint","token_endpoint":"token_endpoint","jwks_uri":"https://example.com/jwks_uri","response_types_supported":["response_types_supported"],"subject_types_supported":["subject_types_supported"],"id_token_signing_alg_values_supported":["id_token_signing_alg_values_supported"],"scopes_supported":["scopes_supported"],"token_endpoint_auth_methods_supported":["token_endpoint_auth_methods_supported"],"code_challenge_methods_supported":["code_challenge_methods_supported"],"claims_supported":["claims_supported"],"grant_types_supported":["grant_types_supported"],"end_session_endpoint":"end_session_endpoint","backchannel_logout_supported":false,"backchannel_logout_session_supported":false,"ui_locales_supported":["ui_locales_supported"]}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/test/.well-known/jwks.json":{"get":{"operationId":"getLoginTestJwks","summary":"Nexiel Login's id_token signing keys (JWKS) (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `GET /v1/login/.well-known/jwks.json`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description). No key is published in that case.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{}}}},"example":{"keys":[{}]}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/test/authorize":{"get":{"operationId":"loginTestAuthorize","summary":"Hosted login page (also the OAuth 2.0 / OIDC authorize endpoint) (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `GET /v1/login/authorize`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"query","name":"response_type","required":false},{"schema":{"type":"string"},"in":"query","name":"client_id","required":false},{"schema":{"type":"string"},"in":"query","name":"redirect_uri","required":false},{"schema":{"type":"string"},"in":"query","name":"scope","required":false},{"schema":{"type":"string"},"in":"query","name":"state","required":false},{"schema":{"type":"string"},"in":"query","name":"nonce","required":false},{"schema":{"type":"string"},"in":"query","name":"code_challenge","required":false},{"schema":{"type":"string"},"in":"query","name":"code_challenge_method","required":false},{"schema":{"type":"string"},"example":"de fr","in":"query","name":"ui_locales","required":false,"description":"OpenID Connect Core 1.0 §3.1.2.1: the end user's preferred languages for the hosted page, as a space-separated list of BCP 47 tags in order of preference. The page uses the first one it supports (en, de, fr, es, it, pl), then the browser's Accept-Language, then English."},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response"}}}},"/v1/login/test/authorize/{authorizationRequestId}/status":{"get":{"operationId":"loginTestAuthorizeStatus","summary":"The hosted login page's own unauthenticated status-poll route (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `GET /v1/login/authorize/{authorizationRequestId}/status`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["failed"]},{"type":"string","enum":["expired"]},{"type":"string","enum":["already_delivered"]}]},"redirectUrl":{"description":"Present only when status is \"completed\". The hosted page sends the browser here directly. It is built server-side from your registered `redirect_uri`, the single-use OAuth authorization code, and the `state` you originally supplied.","type":"string"},"failureCategory":{"description":"Present when status is \"failed\" or \"expired\": a coarse category the hosted page turns into one plain sentence for the end user (declined, wallet_error, credential_invalid, credential_mismatch, issuer_not_trusted, signer_mismatch, expired, technical or unknown).","type":"string"},"failureReason":{"description":"Sandbox deployments only, when status is \"failed\": the wallet session's failure reason code.","type":"string"}}},"example":{"status":"pending","redirectUrl":"https://example.com/redirecturl","failureCategory":"failureCategory","failureReason":"failureReason"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/test/token":{"post":{"operationId":"loginTestToken","summary":"OAuth 2.0 Authorization Code + PKCE token exchange (RFC 6749 §4.1.3) (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `POST /v1/login/token`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"grant_type":{"type":"string"},"code":{"type":"string"},"redirect_uri":{"type":"string"},"code_verifier":{"type":"string"},"client_id":{"type":"string"},"client_secret":{"type":"string"}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["access_token","token_type","expires_in","id_token"],"properties":{"access_token":{"type":"string"},"token_type":{"type":"string","enum":["Bearer"]},"expires_in":{"type":"number"},"id_token":{"type":"string"}}},"example":{"access_token":"access_token","token_type":"Bearer","expires_in":1,"id_token":"id_token"}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/test/authorize/{authorizationRequestId}/cancel":{"post":{"operationId":"loginTestAuthorizeCancel","summary":"The hosted login page's cancel action (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `POST /v1/login/authorize/{authorizationRequestId}/cancel`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled.","parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["redirectUrl"],"properties":{"redirectUrl":{"description":"Your registered `redirect_uri` with `error=access_denied`, an `error_description` and your `state` (RFC 6749 §4.1.2.1).","type":"string"}}},"example":{"redirectUrl":"https://rp.example/callback?error=access_denied&error_description=The+user+cancelled+the+sign-in.&state=af0ifjsldkj"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/test/logout":{"get":{"operationId":"loginTestLogout","summary":"RP-Initiated Logout (end_session_endpoint) (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `GET /v1/login/logout`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"query","name":"id_token_hint","required":false},{"schema":{"type":"string"},"in":"query","name":"client_id","required":false},{"schema":{"type":"string"},"in":"query","name":"post_logout_redirect_uri","required":false},{"schema":{"type":"string"},"in":"query","name":"state","required":false},{"schema":{"type":"string"},"in":"query","name":"confirm_token","required":false},{"schema":{"type":"string"},"in":"query","name":"logout_hint","required":false},{"schema":{"type":"string"},"in":"query","name":"ui_locales","required":false},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response"}}},"post":{"operationId":"loginTestLogoutPost","summary":"RP-Initiated Logout (end_session_endpoint), form POST (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `POST /v1/login/logout`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"id_token_hint":{"type":"string"},"client_id":{"type":"string"},"post_logout_redirect_uri":{"type":"string"},"state":{"type":"string"},"confirm_token":{"type":"string"},"logout_hint":{"type":"string"},"ui_locales":{"type":"string"}}}}}},"responses":{"200":{"description":"Default Response"}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/test/sessions/revoke":{"post":{"operationId":"loginTestRevokeSessions","summary":"Revoke Nexiel Login sessions for one of your users (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `POST /v1/login/sessions/revoke`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","properties":{"sub":{"description":"The pairwise subject from an id_token. Ends every live session of that user on your connection.","type":"string"},"sid":{"description":"The session id from an id_token. Ends that one session.","type":"string"},"client_id":{"type":"string"},"client_secret":{"type":"string"}}},"examples":{"example1":{"value":{"sid":"5b0b8ea5-4a52-4b3e-8d0e-2f6b4f2d9c11"}},"example2":{"value":{"sub":"0f8c3e72-1d9a-4c8b-9a52-7e1b6d3a4f90"}}}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["revoked_sessions"],"properties":{"revoked_sessions":{"description":"How many live sessions this request ended. 0 when none matched or they had already ended.","type":"integer"}}},"example":{"revoked_sessions":1}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error","error_description"],"properties":{"error":{"type":"string"},"error_description":{"type":"string"}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/login/authorize/{authorizationRequestId}/dc-api":{"post":{"operationId":"loginAuthorizeDcApi","summary":"The hosted login page's Digital Credentials API session","tags":["Login"],"description":"Called by the hosted login page when the browser supports the Digital Credentials API. Returns the requests for `navigator.credentials.get()`, bound to the hosted page's own origin. Idempotent by construction: it returns the same session while that session is open, and a fresh one after a failed or expired attempt, so it needs no Idempotency-Key. A failed attempt does not end the login; the QR code on the page keeps working in parallel. Rate limited by source IP. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["origin","requests"],"properties":{"origin":{"description":"The web origin this session is bound to.","type":"string"},"requests":{"description":"Pass as `navigator.credentials.get({ digital: { requests } })` from a page at `origin`, inside a user gesture. The browser and the wallet pick one protocol.","type":"array","items":{"anyOf":[{"description":"OpenID4VP over the Digital Credentials API, signed request.","type":"object","required":["protocol","data"],"properties":{"protocol":{"type":"string","enum":["openid4vp-v1-signed"]},"data":{"type":"object","required":["request"],"properties":{"request":{"description":"The signed request object (compact JWS).","type":"string"}}}}},{"description":"ISO mdoc over the Digital Credentials API. Offered in sandbox for checks an mdoc can answer.","type":"object","required":["protocol","data"],"properties":{"protocol":{"type":"string","enum":["org-iso-mdoc"]},"data":{"type":"object","required":["deviceRequest","encryptionInfo"],"properties":{"deviceRequest":{"description":"base64url CBOR DeviceRequest, with reader authentication.","type":"string"},"encryptionInfo":{"description":"base64url CBOR EncryptionInfo with the one-time recipient key.","type":"string"}}}}}]}}}},"example":{"origin":"origin","requests":[{"protocol":"openid4vp-v1-signed","data":{"request":"request"}}]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/authorize/{authorizationRequestId}/dc-api-response":{"post":{"operationId":"loginAuthorizeDcApiResponse","summary":"Complete the hosted login with the credential the Digital Credentials API returned","tags":["Login"],"description":"Called by the hosted login page with the returned credential's `protocol` and `data`, unchanged. The response is encrypted to the session's one-time key and must be bound to the hosted page's origin, and is verified exactly as for any other Nexiel Verify session. The page then sees the login complete on its next status poll. A response that fails verification ends that DC API attempt only; the page can start another. Supports `Idempotency-Key`. Rate limited by source IP. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["protocol","data"],"properties":{"protocol":{"minLength":1,"maxLength":64,"description":"The returned credential's `protocol`.","type":"string"},"data":{"description":"The returned credential's `data`, unchanged (an object)."}}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["completed"]}}},"example":{"status":"completed"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/test/authorize/{authorizationRequestId}/dc-api":{"post":{"operationId":"loginTestAuthorizeDcApi","summary":"The hosted login page's Digital Credentials API session (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `POST /v1/login/authorize/{authorizationRequestId}/dc-api`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["origin","requests"],"properties":{"origin":{"description":"The web origin this session is bound to.","type":"string"},"requests":{"description":"Pass as `navigator.credentials.get({ digital: { requests } })` from a page at `origin`, inside a user gesture. The browser and the wallet pick one protocol.","type":"array","items":{"anyOf":[{"description":"OpenID4VP over the Digital Credentials API, signed request.","type":"object","required":["protocol","data"],"properties":{"protocol":{"type":"string","enum":["openid4vp-v1-signed"]},"data":{"type":"object","required":["request"],"properties":{"request":{"description":"The signed request object (compact JWS).","type":"string"}}}}},{"description":"ISO mdoc over the Digital Credentials API. Offered in sandbox for checks an mdoc can answer.","type":"object","required":["protocol","data"],"properties":{"protocol":{"type":"string","enum":["org-iso-mdoc"]},"data":{"type":"object","required":["deviceRequest","encryptionInfo"],"properties":{"deviceRequest":{"description":"base64url CBOR DeviceRequest, with reader authentication.","type":"string"},"encryptionInfo":{"description":"base64url CBOR EncryptionInfo with the one-time recipient key.","type":"string"}}}}}]}}}},"example":{"origin":"origin","requests":[{"protocol":"openid4vp-v1-signed","data":{"request":"request"}}]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/login/test/authorize/{authorizationRequestId}/dc-api-response":{"post":{"operationId":"loginTestAuthorizeDcApiResponse","summary":"Complete the hosted login with the credential the Digital Credentials API returned (test mode issuer)","tags":["Login"],"description":"The test mode issuer's copy of `POST /v1/login/authorize/{authorizationRequestId}/dc-api-response`, for test mode connections only. The test issuer (`/v1/login/test`) has its own signing keys, discovery document, endpoints and SSO cookies, and never serves a live connection (nor the live issuer a test one). Its sign-ins run in test mode: the sandbox wallet and test credentials, never billed. Otherwise it behaves exactly like the live route. Returns 409 `login_not_configured` on any deployment where this issuer of Nexiel Login is not enabled (see Nexiel Login production status in the API description).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["protocol","data"],"properties":{"protocol":{"minLength":1,"maxLength":64,"description":"The returned credential's `protocol`.","type":"string"},"data":{"description":"The returned credential's `data`, unchanged (an object)."}}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"authorizationRequestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["completed"]}}},"example":{"status":"completed"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/gdpr/export":{"get":{"operationId":"exportGdprData","summary":"GDPR Article 15 (right of access): export everything Nexiel Verify holds about the calling API key","tags":["GDPR"],"description":"Scoped strictly to the authenticated bearer token's own client. Needs a full-access key: a read-only (agent) key gets 403 `forbidden_scope`. Returns every verification session and decision for this caller, in the same shape as `GET /v1/verify/sessions` (the export never carries an evidence pack, so it holds no PII), plus this caller's own audit log entries. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["identity","sessions","auditLog"],"properties":{"identity":{"type":"object","required":["keycloakClientId"],"properties":{"keycloakClientId":{"type":"string"}}},"sessions":{"description":"Every verification session and its decision for this caller, in the same shape as `GET /v1/verify/sessions`. Holds no PII by design.","type":"array","items":{"$ref":"#/components/schemas/VerificationSession"}},"auditLog":{"type":"array","items":{"type":"object","required":["clientSeq","eventType","payload","createdAt"],"properties":{"clientSeq":{"description":"Sequential audit log position for this client, returned as a decimal string because the underlying value can exceed safe JSON number precision.","type":"string"},"eventType":{"type":"string"},"payload":{},"createdAt":{"format":"date-time","type":"string"}}}}}},"example":{"identity":{"keycloakClientId":"80be66fc-771c-433a-a3eb-fb1d9c99282d"},"sessions":[{"sessionId":"640ba930-9e91-4920-ace1-aac93f6e7ce5","clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","checkType":"age-verification","templateVersion":"templateVersion","livemode":false,"status":"pending","createdAt":"2026-11-19T10:00:00.000Z","expiresAt":"2026-11-19T10:00:00.000Z","decision":{"method":"eudi_wallet","booleanProofs":{},"amlResult":"CLEAR","pepFlag":false,"sanctionedFlag":false,"listsChecked":["listsChecked"],"humanReviewRequired":false,"frozenDecisionArtifact":{"engineVersion":"engineVersion","gatesHash":"sha256-3q2+7w==","ensembleWeightsHash":"sha256-3q2+7w==","listSnapshotIds":["a5114b6e-52f3-4e76-a569-d45b663ad6fd"],"trustPolicyVersionId":"f33346be-5fe8-41e2-af02-e4932a5717dd","trustPolicySha256":"trustPolicySha256"},"screeningCandidates":[{"entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","source":"source","listRef":"listRef","entityType":"entityType","isPep":false,"pepCategory":"pepCategory","pepFunctionalCategory":"pepFunctionalCategory","pepStatus":"pepStatus","pepJurisdiction":"pepJurisdiction","linkedPeps":[{"entityId":"e2a1ac05-1939-4eb2-ad23-0d7850adc43d","primaryName":"primaryName","pepCategory":"pepCategory","relationshipSchema":"relationshipSchema","relationshipLabel":"relationshipLabel"}],"matchedVia":["matchedVia"],"score":1,"classification":"CLEAR","programs":["program"],"listedDate":"2026-11-19T10:00:00.000Z","matchedField":"primary_name"}],"customerReviews":[{"decision":"confirmed_match","notesSha256":"notesSha256","notesLength":1,"reviewer":{"type":"dashboard_user","userId":"d898735d-a1c4-44c2-a638-6414bac91929","reviewerId":"251cb245-4718-4d32-af02-760cd63bc2b9"},"reviewedAt":"2026-11-19T10:00:00.000Z"}],"credentialMechanism":"av_mdoc","evidencePackStatus":"not_applicable","evidencePackDelivery":"pull","transactionDataBinding":[{"type":"type","schemaId":"499f5009-f0c2-49e2-aaec-e19c5ddfe329","credentialId":"7d97fee7-62af-40ae-aeae-957280c33681","hashAlgorithm":"sha-256","hash":"sha256-3q2+7w=="}],"scaAuthentication":{"ts12Version":"ts12Version","transactionType":"transactionType","schemaId":"499f5009-f0c2-49e2-aaec-e19c5ddfe329","authenticationCode":"authenticationCode","amr":[{}],"factorCategories":["factorCategorie"],"responseMode":"responseMode","keyBindingIssuedAt":"2026-11-19T10:00:00.000Z","attestationType":"attestationType","attestationStatusCheck":"valid","issuerTrust":{"source":"tenant_sca_profile","profileId":"526d5561-0163-42ca-af06-3b66512523c5","mode":"issuer_anchors","anchorSha256":"anchorSha256","leafSha256":"leafSha256","keyThumbprint":"keyThumbprint"},"dynamicLinking":{"boundElements":["boundElement"],"hashAlgorithm":"sha-256","transactionDataHash":"sha256-3q2+7w==","amountEstimated":false,"recurring":false,"amountVariable":false}},"issuerCertificateStatus":{"status":"good","handling":"accepted"},"credentialStatus":{"status":"valid","mechanism":"status_list","handling":"accepted","unavailableReason":"unavailableReason"},"trustPolicy":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","sha256":"sha256","trustSource":"trustSource","issuerJurisdiction":"issuerJurisdiction","trustAnchorSha256":"trustAnchorSha256","issuerRegistration":{"outcome":"registered","handling":"accepted","source":"credential_issuer_metadata","registrationCertificateSha256":"registrationCertificateSha256"}},"decidedAt":"2026-11-19T10:00:00.000Z"},"metadata":{"orderId":"ord_8213","customerRef":"cus_42"},"sandboxWalletUrl":"https://example.com/sandboxwalleturl"}],"auditLog":[{"clientSeq":"clientSeq","eventType":"eventType","payload":{},"createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/gdpr/erasure-requests":{"post":{"operationId":"createGdprErasureRequest","summary":"GDPR Article 17 (right to erasure): delete this caller's verification sessions and decisions","tags":["GDPR"],"description":"Deletes every verification session and decision for the calling API key, including any undelivered evidence pack. Needs a full-access key: a read-only (agent) key gets 403 `forbidden_scope`. Both can be erased in full on request because neither holds readable PII: raw wallet claims are discarded at the end of the request that disclosed them, and an evidence pack is encrypted to your own key. Never touches the audit log, an append-only hash chain shared across every client. Deletes every session for this caller, including one still 'pending'. A wallet completing a deleted session afterwards gets a 404 on its callback. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["erased","retainedImmutably"],"properties":{"erased":{"type":"object","required":["verifySessions","verifyDecisions"],"properties":{"verifySessions":{"description":"Verification sessions deleted for this caller. Safe to erase in full, because this data holds no PII.","type":"number"},"verifyDecisions":{"description":"Verification decisions deleted for this caller, including any undelivered evidence pack, which is encrypted to your own key and holds no readable PII.","type":"number"}}},"retainedImmutably":{"type":"object","required":["auditLogRows"],"properties":{"auditLogRows":{"description":"Audit log rows for this caller. Never deletable, by design: the audit log is append-only.","type":"number"}}}}},"example":{"erased":{"verifySessions":1,"verifyDecisions":1},"retainedImmutably":{"auditLogRows":1}}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/usage":{"get":{"operationId":"getUsage","summary":"Per-client API usage: request volume by day/month, and verification decisions by check type","tags":["Usage"],"description":"Scoped strictly to the authenticated bearer token's own client, never another client's usage. `requestVolume` is counted from the same per-client, hourly request tracking that anomaly detection uses. `decisions` is counted from the completed EUDI wallet verification decisions in your audit log. Defaults to a trailing 90-day window ending now when `from` and `to` are omitted. The widest single request this endpoint accepts is 366 days. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"example":"2026-06-01","in":"query","name":"from","required":false,"description":"Start of the reporting window (inclusive), UTC calendar date. Defaults to 90 days before `to`."},{"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"example":"2026-07-01","in":"query","name":"to","required":false,"description":"End of the reporting window (exclusive), UTC calendar date. Defaults to today."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["clientId","service","window","requestVolume","decisions"],"properties":{"clientId":{"type":"string"},"service":{"type":"string","enum":["verify"]},"window":{"type":"object","required":["from","to"],"properties":{"from":{"format":"date-time","type":"string"},"to":{"format":"date-time","type":"string"}}},"requestVolume":{"type":"object","required":["total","daily","monthly"],"properties":{"total":{"description":"Total requests this client made against Nexiel Verify in the window. Counts authenticated production requests only. Sandbox-mode traffic has no per-client identity to attribute, so it is never counted here.","type":"number"},"daily":{"type":"array","items":{"type":"object","required":["date","count"],"properties":{"date":{"description":"UTC calendar date, YYYY-MM-DD.","type":"string"},"count":{"type":"number"}}}},"monthly":{"type":"array","items":{"type":"object","required":["month","count"],"properties":{"month":{"description":"UTC calendar month, YYYY-MM.","type":"string"},"count":{"type":"number"}}}}}},"decisions":{"type":"object","required":["total","byCheckType"],"properties":{"total":{"description":"Total completed EUDI wallet verification decisions in the window.","type":"number"},"byCheckType":{"description":"Decisions grouped by check type (e.g. \"age-verification\", \"aml-identity\").","type":"object","additionalProperties":{"type":"number"}}}}}},"example":{"clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","service":"verify","window":{"from":"2026-11-19T10:00:00.000Z","to":"2026-11-19T10:00:00.000Z"},"requestVolume":{"total":1,"daily":[{"date":"2026-11-19T10:00:00.000Z","count":1}],"monthly":[{"month":"month","count":1}]},"decisions":{"total":1,"byCheckType":{}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/evidence-pack-delivery":{"get":{"operationId":"getEvidencePackDeliverySettings","summary":"Get how evidence packs are delivered","tags":["Evidence packs"],"description":"The evidence-pack delivery mode for this product in your API key's environment (sandbox for a test key, production for a live key). With no choice made, delivery is `pull`.","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["settings"],"properties":{"settings":{"type":"array","items":{"type":"object","required":["environment","mode","webhookEndpointId","updatedAt"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"mode":{"description":"`pull`: you fetch the pack yourself (the default). `push`: Nexiel posts the pack to the webhook endpoint you choose and deletes it as soon as that endpoint acknowledges it with a 2xx; if every attempt fails, the pack is deleted undelivered. `push_then_pull_fallback`: the same push, but if every attempt fails you can still fetch the pack once by pull until it expires, 7 days after the decision.","anyOf":[{"type":"string","enum":["pull"]},{"type":"string","enum":["push"]},{"type":"string","enum":["push_then_pull_fallback"]}]},"webhookEndpointId":{"description":"The one endpoint pushed packs go to. Null for pull.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"updatedAt":{"description":"Null while the default (pull) has never been changed.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"example":{"settings":[{"environment":"sandbox","mode":"pull","webhookEndpointId":"a7dd814c-1139-4540-a5a4-85ddd99cd84d","updatedAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/evidence-pack-delivery/{environment}":{"put":{"operationId":"setEvidencePackDeliverySetting","summary":"Choose how evidence packs are delivered","tags":["Evidence packs"],"description":"Sets the delivery mode for one environment, which must be your API key's own (sandbox for a test key, production for a live key). Push modes name the one webhook endpoint the packs go to: it must be enabled and of the same environment, and no other endpoint ever receives a pack. The change applies to packs made after it; a pack already made keeps the mode it was made under. While an endpoint receives evidence packs it cannot be disabled or deleted. Send an `Idempotency-Key` header to make a retry safe.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["mode"],"properties":{"mode":{"description":"`pull`: you fetch the pack yourself (the default). `push`: Nexiel posts the pack to the webhook endpoint you choose and deletes it as soon as that endpoint acknowledges it with a 2xx; if every attempt fails, the pack is deleted undelivered. `push_then_pull_fallback`: the same push, but if every attempt fails you can still fetch the pack once by pull until it expires, 7 days after the decision.","anyOf":[{"type":"string","enum":["pull"]},{"type":"string","enum":["push"]},{"type":"string","enum":["push_then_pull_fallback"]}]},"webhookEndpointId":{"description":"Required for `push` and `push_then_pull_fallback`: an enabled endpoint of the same environment. Omit, or send null, for `pull`.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]}}}}}},"parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"path","name":"environment","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["environment","mode","webhookEndpointId","updatedAt"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"mode":{"description":"`pull`: you fetch the pack yourself (the default). `push`: Nexiel posts the pack to the webhook endpoint you choose and deletes it as soon as that endpoint acknowledges it with a 2xx; if every attempt fails, the pack is deleted undelivered. `push_then_pull_fallback`: the same push, but if every attempt fails you can still fetch the pack once by pull until it expires, 7 days after the decision.","anyOf":[{"type":"string","enum":["pull"]},{"type":"string","enum":["push"]},{"type":"string","enum":["push_then_pull_fallback"]}]},"webhookEndpointId":{"description":"The one endpoint pushed packs go to. Null for pull.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"updatedAt":{"description":"Null while the default (pull) has never been changed.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"environment":"sandbox","mode":"pull","webhookEndpointId":"a7dd814c-1139-4540-a5a4-85ddd99cd84d","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/webhook-event-types":{"get":{"operationId":"listWebhookEventTypes","summary":"List the webhook event types","tags":["Webhooks"],"description":"The catalogue of event types you can subscribe an endpoint to.","security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["eventTypes"],"properties":{"eventTypes":{"type":"array","items":{"type":"object","required":["type","product","description"],"properties":{"type":{"type":"string"},"product":{"anyOf":[{"type":"string","enum":["screen"]},{"type":"string","enum":["verify"]},{"type":"string","enum":["credentials"]},{"type":"string","enum":["platform"]}]},"description":{"type":"string"}}}}}},"example":{"eventTypes":[{"type":"type","product":"screen","description":"description"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/webhook-endpoints":{"get":{"operationId":"listWebhookEndpoints","summary":"List webhook endpoints","tags":["Webhooks"],"description":"Every webhook endpoint of your organization in your API key's environment (sandbox for a test key, production for a live key), newest first. Secrets are never listed. Paginated: pass `nextCursor` as `starting_after` for the next page. `endpoints` is a deprecated copy of `data`.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"endpoints":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `endpoints` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","endpoints":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createWebhookEndpoint","summary":"Create a webhook endpoint","tags":["Webhooks"],"description":"Creates an endpoint and returns its signing secret once. Endpoints belong to your organization, so they keep receiving events across API key rotation and for every product. A test API key manages sandbox endpoints only and a live API key production endpoints only; `environment` defaults to the key's own. Production endpoints need an approved KYB verification. The URL must be a public https URL. Send an `Idempotency-Key` header to make a retry safe: a replay returns the endpoint without the secret (reveal it with the reveal route).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["url"],"properties":{"url":{"maxLength":2048,"description":"Must be a public https URL.","type":"string"},"description":{"maxLength":200,"type":"string"},"eventTypes":{"description":"Event types from the catalogue; omit or leave empty for all.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["endpoint","secret"],"properties":{"endpoint":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"secret":{"description":"The signing secret. Null when the response is an idempotent replay: the secret is never stored with the replay, reveal it with the reveal route.","anyOf":[{"type":"string"},{"type":"null"}]}}},"example":{"endpoint":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"},"secret":"secret"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/webhook-endpoints/{endpointId}":{"get":{"operationId":"getWebhookEndpoint","summary":"Get a webhook endpoint","tags":["Webhooks"],"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateWebhookEndpoint","summary":"Update a webhook endpoint","tags":["Webhooks"],"description":"Change the URL, description, subscribed event types, or enable or disable the endpoint. The URL is checked again. Send an `Idempotency-Key` header to make a retry safe.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"url":{"maxLength":2048,"type":"string"},"description":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}]},"eventTypes":{"type":"array","items":{"type":"string"}},"active":{"type":"boolean"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","url","description","eventTypes","environment","active","createdAt","updatedAt","secretRotatedAt","previousSecretExpiresAt"],"properties":{"id":{"format":"uuid","type":"string"},"url":{"description":"The https URL events are posted to.","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventTypes":{"description":"The subscribed event types. An empty list means every event type.","type":"array","items":{"type":"string"}},"environment":{"description":"`production` endpoints receive live events and need an approved KYB verification. `sandbox` endpoints receive only events produced in sandbox mode.","anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"active":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretRotatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"description":"While a rotation overlap is open, when the previous secret stops signing deliveries.","anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","url":"https://example.com/url","description":"description","eventTypes":["eventType"],"environment":"sandbox","active":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","secretRotatedAt":"2026-11-19T10:00:00.000Z","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteWebhookEndpoint","summary":"Delete a webhook endpoint","tags":["Webhooks"],"description":"Deletes the endpoint and ends its pending deliveries. Its delivery history is kept. Send an `Idempotency-Key` header to make a retry safe: a replay answers 204 again.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"204":{"description":"Deleted."},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/webhook-endpoints/{endpointId}/secret/reveal":{"post":{"operationId":"revealWebhookEndpointSecret","summary":"Reveal the signing secret","tags":["Webhooks"],"description":"Returns the current signing secret (and the previous one while a rotation overlap is open). Every reveal is audited.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["secret","previousSecret","previousSecretExpiresAt"],"properties":{"secret":{"type":"string"},"previousSecret":{"anyOf":[{"type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"secret":"secret","previousSecret":"previousSecret","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/webhook-endpoints/{endpointId}/secret/rotate":{"post":{"operationId":"rotateWebhookEndpointSecret","summary":"Rotate the signing secret","tags":["Webhooks"],"description":"Mints a new signing secret. The previous secret keeps signing alongside it for `overlapSeconds` (default 24 hours): each delivery then carries one `v1` signature per secret, so you can switch without dropping events. Send an `Idempotency-Key` header to make a retry safe: a replay returns no secret (reveal it with the reveal route).","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"overlapSeconds":{"minimum":0,"maximum":604800,"description":"How long the previous secret keeps signing alongside the new one. Default 86400 (24 hours); 0 ends it immediately.","type":"integer"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["secret","previousSecretExpiresAt"],"properties":{"secret":{"description":"Null on an idempotent replay; reveal it with the reveal route.","anyOf":[{"type":"string"},{"type":"null"}]},"previousSecretExpiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"secret":"secret","previousSecretExpiresAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/webhook-endpoints/{endpointId}/test":{"post":{"operationId":"sendWebhookTestEvent","summary":"Send a test event","tags":["Webhooks"],"description":"Sends a signed `webhook.test` event to the endpoint at once, with one attempt, and returns what your receiver answered.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["eventId","deliveryId","outcome","responseStatus","error"],"properties":{"eventId":{"format":"uuid","type":"string"},"deliveryId":{"format":"uuid","type":"string"},"outcome":{"anyOf":[{"type":"string","enum":["delivered"]},{"type":"string","enum":["retrying"]},{"type":"string","enum":["exhausted"]}]},"responseStatus":{"anyOf":[{"type":"integer"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"example":{"eventId":"e21a1d38-2134-483c-a8c8-0e7149217645","deliveryId":"635eb6aa-a9fd-4ada-a86e-fcd7ab144c19","outcome":"delivered","responseStatus":1,"error":"error"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/webhook-endpoints/{endpointId}/deliveries":{"get":{"operationId":"listWebhookDeliveries","summary":"List recent deliveries","tags":["Webhooks"],"description":"Deliveries to the endpoint, newest first, with status and the last response code. Paginated: pass `nextCursor` as `starting_after` for the next page. `deliveries` is a deprecated copy of `data`.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"endpointId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","eventId","eventType","status","attemptCount","maxAttempts","lastResponseStatus","lastError","lastAttemptAt","nextAttemptAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"eventType":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["PENDING"]},{"type":"string","enum":["FAILED"]},{"type":"string","enum":["DELIVERED"]},{"type":"string","enum":["EXHAUSTED"]}]},"attemptCount":{"type":"integer"},"maxAttempts":{"type":"integer"},"lastResponseStatus":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lastError":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"nextAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}},"deliveries":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `deliveries` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","eventId","eventType","status","attemptCount","maxAttempts","lastResponseStatus","lastError","lastAttemptAt","nextAttemptAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"eventType":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["PENDING"]},{"type":"string","enum":["FAILED"]},{"type":"string","enum":["DELIVERED"]},{"type":"string","enum":["EXHAUSTED"]}]},"attemptCount":{"type":"integer"},"maxAttempts":{"type":"integer"},"lastResponseStatus":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lastError":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"nextAttemptAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","eventId":"e21a1d38-2134-483c-a8c8-0e7149217645","eventType":"eventType","status":"PENDING","attemptCount":1,"maxAttempts":1,"lastResponseStatus":1,"lastError":"lastError","lastAttemptAt":"2026-11-19T10:00:00.000Z","nextAttemptAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","deliveries":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","eventId":"e21a1d38-2134-483c-a8c8-0e7149217645","eventType":"eventType","status":"PENDING","attemptCount":1,"maxAttempts":1,"lastResponseStatus":1,"lastError":"lastError","lastAttemptAt":"2026-11-19T10:00:00.000Z","nextAttemptAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/events":{"get":{"operationId":"listEvents","summary":"List events","tags":["Webhooks"],"description":"Events of your organization in your API key's environment (test events for a test key, live events for a live key), newest first, for the last 30 days. Each item is the same envelope a webhook delivery carries, so a receiver that missed deliveries can catch up here. Event data holds identifiers, outcomes and hashes only, never personal data, and never an evidence pack: claim or receive the pack through its own delivery. Paginated: pass `nextCursor` as `starting_after` for the next page.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":20,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 20."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":2000,"type":"string"},"example":"verify.session.completed,verify.session.failed","in":"query","name":"type","required":false,"description":"Only events of these types: comma-separated event types, or families such as `verify.session.*`."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"$ref":"#/components/schemas/WebhookEvent"}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","type":"verify.session.completed","apiVersion":"2026-11-19","livemode":false,"createdAt":"2026-11-19T10:00:00.000Z","data":{}}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/events/{eventId}":{"get":{"operationId":"getEvent","summary":"Retrieve an event","tags":["Webhooks"],"description":"Events of your organization in your API key's environment (test events for a test key, live events for a live key), newest first, for the last 30 days. Each item is the same envelope a webhook delivery carries, so a receiver that missed deliveries can catch up here. Event data holds identifiers, outcomes and hashes only, never personal data, and never an evidence pack: claim or receive the pack through its own delivery. An event of another organization or environment, or older than 30 days, is answered 404.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"eventId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"A platform event: the body of a webhook delivery, and an item of the Events API.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","type":"verify.session.completed","apiVersion":"2026-11-19","livemode":false,"createdAt":"2026-11-19T10:00:00.000Z","data":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/webhook-deliveries/{deliveryId}/redeliver":{"post":{"operationId":"redeliverWebhookDelivery","summary":"Redeliver a webhook","tags":["Webhooks"],"description":"Queues the delivery for another full round of attempts. The event id is unchanged, so deduplicate on it. Send an `Idempotency-Key` header to make a retry safe.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"deliveryId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"202":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["deliveryId","queued"],"properties":{"deliveryId":{"format":"uuid","type":"string"},"queued":{"type":"boolean"}}},"example":{"deliveryId":"635eb6aa-a9fd-4ada-a86e-fcd7ab144c19","queued":false}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/metrics":{"get":{"operationId":"getVerifyMetrics","summary":"Usage and outcome metrics for billing and reporting","tags":["Metrics"],"description":"Per-endpoint request counts, success and failure by error code, and latency; verification sessions per check type, relying-party service and intended use (from the registration certificate each request carried), with outcomes, failure reasons, credential format and flow mix; and billable units from your usage records. Aggregates only, never personal data. Wallet brand is not reported: wallets do not identify themselves to relying parties. With `scope=children` or `all`, an intermediary also receives each client organization that delegated `metrics:read` (endpoints and verifications) or `billing:read` (billable usage), and only those sections. Each client organization included counts once, up to the full limit, against your organization’s delegated-read rate limit for the key’s mode (429 `delegated_read_rate_limit_exceeded`) and is recorded in its audit log and in yours. API requests are counted only when made with an API key. A test API key reports test-mode metrics and a live key live ones; `environment` defaults to the key's own, and the other environment is refused. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"example":"2026-10-01","in":"query","name":"from","required":false,"description":"Window start (inclusive), UTC date. Defaults to 90 days before `to`."},{"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"example":"2026-11-01","in":"query","name":"to","required":false,"description":"Window end (exclusive), UTC date. Defaults to now."},{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":false},{"schema":{"anyOf":[{"type":"string","enum":["self"]},{"type":"string","enum":["children"]},{"type":"string","enum":["all"]}]},"in":"query","name":"scope","required":false,"description":"`self` (default) your own organization; `children` the client organizations that delegated metrics or billing access to you; `all` both."},{"schema":{"format":"uuid","type":"string"},"in":"query","name":"childOrganizationId","required":false,"description":"Only this client organization (it must have delegated access to you)."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["window","environment","totals","tenants"],"properties":{"window":{"type":"object","required":["from","to"],"properties":{"from":{"format":"date-time","type":"string"},"to":{"format":"date-time","type":"string"}}},"environment":{"anyOf":[{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},{"type":"null"}]},"totals":{"type":"object","required":["requests","failedRequests","sessions","completedSessions","billableUnits"],"properties":{"requests":{"type":"integer"},"failedRequests":{"type":"integer"},"sessions":{"type":"integer"},"completedSessions":{"type":"integer"},"billableUnits":{"type":"integer"}}},"tenants":{"type":"array","items":{"type":"object","required":["organizationId","clientId","legalName","relationship","totals","endpoints","verifications","billableUsage"],"properties":{"organizationId":{"format":"uuid","type":"string"},"clientId":{"format":"uuid","type":"string"},"legalName":{"type":"string"},"relationship":{"anyOf":[{"type":"string","enum":["self"]},{"type":"string","enum":["child"]}]},"totals":{"type":"object","required":["requests","failedRequests","sessions","completedSessions","billableUnits"],"properties":{"requests":{"type":"integer"},"failedRequests":{"type":"integer"},"sessions":{"type":"integer"},"completedSessions":{"type":"integer"},"billableUnits":{"type":"integer"}}},"endpoints":{"type":"array","items":{"type":"object","required":["environment","service","method","route","requests","succeeded","failed","byStatus","byErrorCode","latency"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"service":{"type":"string"},"method":{"type":"string"},"route":{"description":"The route template, e.g. `/v1/verify/sessions/:sessionId`. Never a concrete URL.","type":"string"},"requests":{"type":"integer"},"succeeded":{"type":"integer"},"failed":{"type":"integer"},"byStatus":{"type":"object","additionalProperties":{"type":"integer"}},"byErrorCode":{"type":"object","additionalProperties":{"type":"integer"}},"latency":{"type":"object","required":["averageMs","maxMs","p50UpperBoundMs","p95UpperBoundMs"],"properties":{"averageMs":{"type":"integer"},"maxMs":{"type":"integer"},"p50UpperBoundMs":{"description":"Upper bound of the histogram bucket holding the median (100, 250, 500, 1000 or 2500 ms); null above 2500 ms.","anyOf":[{"type":"integer"},{"type":"null"}]},"p95UpperBoundMs":{"anyOf":[{"type":"integer"},{"type":"null"}]}}}}}},"verifications":{"type":"array","items":{"type":"object","required":["environment","checkType","rpServiceId","intendedUseId","sessions","completed","failed","expired","failureReasons","credentialFormats","credentialMechanisms","flows","responseModes","durationMs"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"intendedUseId":{"description":"The intended use named by the registration certificate the request carried.","anyOf":[{"type":"string"},{"type":"null"}]},"sessions":{"type":"integer"},"completed":{"type":"integer"},"failed":{"type":"integer"},"expired":{"type":"integer"},"failureReasons":{"type":"object","additionalProperties":{"type":"integer"}},"credentialFormats":{"description":"By DCQL format: `dc+sd-jwt` or `mso_mdoc`.","type":"object","additionalProperties":{"type":"integer"}},"credentialMechanisms":{"type":"object","additionalProperties":{"type":"integer"}},"flows":{"description":"By flow: `same_device`, `cross_device` or `dc_api`.","type":"object","additionalProperties":{"type":"integer"}},"responseModes":{"type":"object","additionalProperties":{"type":"integer"}},"durationMs":{"type":"object","required":["average","max"],"properties":{"average":{"type":"integer"},"max":{"type":"integer"}}}}}},"billableUsage":{"type":"array","items":{"type":"object","required":["service","eventType","mode","units"],"properties":{"service":{"type":"string"},"eventType":{"type":"string"},"mode":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"units":{"type":"integer"}}}}}}}}},"example":{"window":{"from":"2026-11-19T10:00:00.000Z","to":"2026-11-19T10:00:00.000Z"},"environment":"sandbox","totals":{"requests":1,"failedRequests":1,"sessions":1,"completedSessions":1,"billableUnits":1},"tenants":[{"organizationId":"63f3f9d5-58af-45b2-aed2-f99465c381cd","clientId":"ee914811-4225-4132-a632-cba8ae04e3b9","legalName":"legalName","relationship":"self","totals":{"requests":1,"failedRequests":1,"sessions":1,"completedSessions":1,"billableUnits":1},"endpoints":[{"environment":"sandbox","service":"service","method":"method","route":"route","requests":1,"succeeded":1,"failed":1,"byStatus":{},"byErrorCode":{},"latency":{"averageMs":1,"maxMs":1,"p50UpperBoundMs":1,"p95UpperBoundMs":1}}],"verifications":[{"environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","intendedUseId":"3a776f52-c8e6-45cc-a597-b0efae48e999","sessions":1,"completed":1,"failed":1,"expired":1,"failureReasons":{},"credentialFormats":{},"credentialMechanisms":{},"flows":{},"responseModes":{},"durationMs":{"average":1,"max":1}}],"billableUsage":[{"service":"service","eventType":"eventType","mode":"sandbox","units":1}]}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/metrics.csv":{"get":{"operationId":"exportVerifyMetricsCsv","summary":"The same metrics as a CSV file","tags":["Metrics"],"description":"The report from `GET /v1/verify/metrics` as one RFC 4180 CSV table with a `section` column (`endpoint`, `verification`, `billable_usage`). Cells that a spreadsheet would read as a formula are prefixed with an apostrophe. If your organization has turned on source restrictions, a request returns `403 client_access_restricted`, even with a valid credential, unless its source IP is in one of your allowed IP ranges or its `Origin` header matches one of your allowed domains. IP ranges match IPv4 addresses only. Source restrictions are off by default. Manage them under Organization, Source restrictions in your dashboard (by default, organization Admins and Owners can do this, and saving changes requires an approved KYB application).","parameters":[{"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"example":"2026-10-01","in":"query","name":"from","required":false,"description":"Window start (inclusive), UTC date. Defaults to 90 days before `to`."},{"schema":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"example":"2026-11-01","in":"query","name":"to","required":false,"description":"Window end (exclusive), UTC date. Defaults to now."},{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":false},{"schema":{"anyOf":[{"type":"string","enum":["self"]},{"type":"string","enum":["children"]},{"type":"string","enum":["all"]}]},"in":"query","name":"scope","required":false,"description":"`self` (default) your own organization; `children` the client organizations that delegated metrics or billing access to you; `all` both."},{"schema":{"format":"uuid","type":"string"},"in":"query","name":"childOrganizationId","required":false,"description":"Only this client organization (it must have delegated access to you)."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"CSV report","content":{"text/csv":{"schema":{"description":"CSV report","type":"string"}}}},"400":{"description":"Default Response","content":{"text/csv":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"401":{"description":"Default Response","content":{"text/csv":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"403":{"description":"Default Response","content":{"text/csv":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"404":{"description":"Default Response","content":{"text/csv":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"409":{"description":"Default Response","content":{"text/csv":{"schema":{"additionalProperties":true,"type":"object","required":["error","message"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"param":{"description":"The request field the error is about, as a dotted path, when one can be named.","type":"string"},"retryAfterSeconds":{"description":"Present on retryable errors; the same number as the Retry-After header.","type":"number"}}}}}},"429":{"description":"Default Response","content":{"text/csv":{"schema":{"additionalProperties":true,"type":"object","required":["error","message","retryAfterSeconds"],"properties":{"error":{"description":"Stable, machine-readable error code.","type":"string"},"message":{"description":"Human-readable explanation. May change; never parse it.","type":"string"},"retryAfterSeconds":{"description":"Seconds to wait before retrying; also sent as the Retry-After header.","type":"number"}}}}}}}}},"/v1/verify/intermediary/invitations":{"post":{"operationId":"createIntermediaryInvitation","summary":"Invite a client organization to work through you","tags":["Intermediary"],"description":"Proposes a relationship to one legal entity, named by its trade register identity: the permissions it would delegate to you and whether its usage would be billed to you. Returns a one-time token for the client, who accepts it in their dashboard; their own KYB record must match. Valid for 14 days. Needs your approved KYB. Needs a live API key: a relationship covers test and live mode alike. Supports `Idempotency-Key`; a replay returns the same invitation with `token: null`, because the token is shown once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["childLegalName","childRegistryCountry","childRegistryNumber","delegatedPermissions","billingRollup"],"properties":{"childLegalName":{"minLength":1,"maxLength":300,"type":"string","example":"Example Retail Ltd"},"childRegistryCountry":{"pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country of the trade register.","type":"string","example":"IE"},"childRegistryNumber":{"minLength":1,"maxLength":64,"type":"string","example":"654321"},"delegatedPermissions":{"uniqueItems":true,"maxItems":5,"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"description":"Bill the client's metered usage to your own subscription.","type":"boolean"}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["invitation","token"],"properties":{"invitation":{"type":"object","required":["id","childLegalName","childRegistryCountry","childRegistryNumber","delegatedPermissions","billingRollup","status","expiresAt","acceptedAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"childLegalName":{"type":"string"},"childRegistryCountry":{"type":"string"},"childRegistryNumber":{"type":"string"},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["accepted"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]}]},"expiresAt":{"format":"date-time","type":"string"},"acceptedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"token":{"description":"Give this to the client organization. Shown once; only its hash is stored. Null on an Idempotency-Key replay.","anyOf":[{"examples":["nxinv_3q2Zb7mWkA9xYpLf0cTnR8sVdE1uHgJo"],"type":"string"},{"type":"null"}]}}},"example":{"invitation":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","childLegalName":"childLegalName","childRegistryCountry":"childRegistryCountry","childRegistryNumber":"childRegistryNumber","delegatedPermissions":["metrics:read"],"billingRollup":false,"status":"pending","expiresAt":"2026-11-19T10:00:00.000Z","acceptedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"},"token":"nxinv_3q2Zb7mWkA9xYpLf0cTnR8sVdE1uHgJo"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]},"get":{"operationId":"listIntermediaryInvitations","summary":"The invitations you have sent","tags":["Intermediary"],"description":"Newest first, every status unless `status` narrows the list. Paginated: pass `nextCursor` as `starting_after` for the next page. `invitations` is a deprecated copy of `data` that will be removed in a future API version.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["accepted"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]}]},"in":"query","name":"status","required":false,"description":"Only invitations in this status (a pending invitation past its expiry is `expired`)."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","childLegalName","childRegistryCountry","childRegistryNumber","delegatedPermissions","billingRollup","status","expiresAt","acceptedAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"childLegalName":{"type":"string"},"childRegistryCountry":{"type":"string"},"childRegistryNumber":{"type":"string"},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["accepted"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]}]},"expiresAt":{"format":"date-time","type":"string"},"acceptedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}},"invitations":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `invitations` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","childLegalName","childRegistryCountry","childRegistryNumber","delegatedPermissions","billingRollup","status","expiresAt","acceptedAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"childLegalName":{"type":"string"},"childRegistryCountry":{"type":"string"},"childRegistryNumber":{"type":"string"},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["accepted"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]}]},"expiresAt":{"format":"date-time","type":"string"},"acceptedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","childLegalName":"childLegalName","childRegistryCountry":"childRegistryCountry","childRegistryNumber":"childRegistryNumber","delegatedPermissions":["metrics:read"],"billingRollup":false,"status":"pending","expiresAt":"2026-11-19T10:00:00.000Z","acceptedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","invitations":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","childLegalName":"childLegalName","childRegistryCountry":"childRegistryCountry","childRegistryNumber":"childRegistryNumber","delegatedPermissions":["metrics:read"],"billingRollup":false,"status":"pending","expiresAt":"2026-11-19T10:00:00.000Z","acceptedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/invitations/{invitationId}/revoke":{"post":{"operationId":"revokeIntermediaryInvitation","summary":"Withdraw a pending invitation","tags":["Intermediary"],"description":"Needs a live API key: a relationship covers test and live mode alike. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"invitationId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","childLegalName","childRegistryCountry","childRegistryNumber","delegatedPermissions","billingRollup","status","expiresAt","acceptedAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"childLegalName":{"type":"string"},"childRegistryCountry":{"type":"string"},"childRegistryNumber":{"type":"string"},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["accepted"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]}]},"expiresAt":{"format":"date-time","type":"string"},"acceptedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","childLegalName":"childLegalName","childRegistryCountry":"childRegistryCountry","childRegistryNumber":"childRegistryNumber","delegatedPermissions":["metrics:read"],"billingRollup":false,"status":"pending","expiresAt":"2026-11-19T10:00:00.000Z","acceptedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/invitations/preview":{"post":{"operationId":"previewIntermediaryInvitation","summary":"See who invited you, and for which permissions","tags":["Intermediary"],"description":"Read only. The token travels in the body, never in a URL. Accept an invitation in your dashboard.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["token"],"properties":{"token":{"minLength":10,"maxLength":200,"type":"string"}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["parentOrganizationId","parentLegalName","invitation"],"properties":{"parentOrganizationId":{"format":"uuid","type":"string"},"parentLegalName":{"type":"string"},"invitation":{"type":"object","required":["id","childLegalName","childRegistryCountry","childRegistryNumber","delegatedPermissions","billingRollup","status","expiresAt","acceptedAt","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"childLegalName":{"type":"string"},"childRegistryCountry":{"type":"string"},"childRegistryNumber":{"type":"string"},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["accepted"]},{"type":"string","enum":["revoked"]},{"type":"string","enum":["expired"]}]},"expiresAt":{"format":"date-time","type":"string"},"acceptedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}}},"example":{"parentOrganizationId":"c781fddd-e9db-4002-a668-512c4c71ddbd","parentLegalName":"parentLegalName","invitation":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","childLegalName":"childLegalName","childRegistryCountry":"childRegistryCountry","childRegistryNumber":"childRegistryNumber","delegatedPermissions":["metrics:read"],"billingRollup":false,"status":"pending","expiresAt":"2026-11-19T10:00:00.000Z","acceptedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/intermediary/children":{"get":{"operationId":"listIntermediaryChildren","summary":"Your client organizations","tags":["Intermediary"],"description":"Your relationships with client organizations, newest first: active ones unless `status` says otherwise. Paginated: pass `nextCursor` as `starting_after` for the next page. `links` is a deprecated copy of `data` that will be removed in a future API version.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"default":"active","anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["revoked"]}]},"in":"query","name":"status","required":false,"description":"Relationships in this status. Defaults to `active`."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","parentOrganizationId","childOrganizationId","counterpartyLegalName","status","delegatedPermissions","billingRollup","createdAt","updatedAt","revokedAt"],"properties":{"id":{"format":"uuid","type":"string"},"parentOrganizationId":{"format":"uuid","type":"string"},"childOrganizationId":{"format":"uuid","type":"string"},"counterpartyLegalName":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["revoked"]}]},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"links":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `links` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","parentOrganizationId","childOrganizationId","counterpartyLegalName","status","delegatedPermissions","billingRollup","createdAt","updatedAt","revokedAt"],"properties":{"id":{"format":"uuid","type":"string"},"parentOrganizationId":{"format":"uuid","type":"string"},"childOrganizationId":{"format":"uuid","type":"string"},"counterpartyLegalName":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["revoked"]}]},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","parentOrganizationId":"c781fddd-e9db-4002-a668-512c4c71ddbd","childOrganizationId":"52b97a3d-81c8-4dd2-a4f9-8306d6c74c5d","counterpartyLegalName":"counterpartyLegalName","status":"active","delegatedPermissions":["metrics:read"],"billingRollup":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","links":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","parentOrganizationId":"c781fddd-e9db-4002-a668-512c4c71ddbd","childOrganizationId":"52b97a3d-81c8-4dd2-a4f9-8306d6c74c5d","counterpartyLegalName":"counterpartyLegalName","status":"active","delegatedPermissions":["metrics:read"],"billingRollup":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/parent":{"get":{"operationId":"getIntermediaryParent","summary":"The intermediary your organization works through, if any","tags":["Intermediary"],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["link"],"properties":{"link":{"anyOf":[{"type":"object","required":["id","parentOrganizationId","childOrganizationId","counterpartyLegalName","status","delegatedPermissions","billingRollup","createdAt","updatedAt","revokedAt"],"properties":{"id":{"format":"uuid","type":"string"},"parentOrganizationId":{"format":"uuid","type":"string"},"childOrganizationId":{"format":"uuid","type":"string"},"counterpartyLegalName":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["revoked"]}]},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},{"type":"null"}]}}},"example":{"link":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","parentOrganizationId":"c781fddd-e9db-4002-a668-512c4c71ddbd","childOrganizationId":"52b97a3d-81c8-4dd2-a4f9-8306d6c74c5d","counterpartyLegalName":"counterpartyLegalName","status":"active","delegatedPermissions":["metrics:read"],"billingRollup":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]}},"/v1/verify/intermediary/links/{linkId}/narrow":{"post":{"operationId":"narrowIntermediaryLink","summary":"Remove delegated permissions or turn billing roll-up off","tags":["Intermediary"],"description":"Either side may narrow a relationship. Permissions can only be removed and roll-up only turned off; widening needs a new invitation the client accepts. Needs a live API key: a relationship covers test and live mode alike. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"delegatedPermissions":{"uniqueItems":true,"maxItems":5,"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"description":"Only `false`: roll-up can be turned off here, and turned on only through a new invitation.","type":"boolean","enum":[false]}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"linkId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","parentOrganizationId","childOrganizationId","counterpartyLegalName","status","delegatedPermissions","billingRollup","createdAt","updatedAt","revokedAt"],"properties":{"id":{"format":"uuid","type":"string"},"parentOrganizationId":{"format":"uuid","type":"string"},"childOrganizationId":{"format":"uuid","type":"string"},"counterpartyLegalName":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["revoked"]}]},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","parentOrganizationId":"c781fddd-e9db-4002-a668-512c4c71ddbd","childOrganizationId":"52b97a3d-81c8-4dd2-a4f9-8306d6c74c5d","counterpartyLegalName":"counterpartyLegalName","status":"active","delegatedPermissions":["metrics:read"],"billingRollup":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/links/{linkId}/revoke":{"post":{"operationId":"revokeIntermediaryLink","summary":"End an intermediary relationship","tags":["Intermediary"],"description":"Either side may end it. Delegated access stops at once and billing returns to the client. Needs a live API key: a relationship covers test and live mode alike. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"linkId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","parentOrganizationId","childOrganizationId","counterpartyLegalName","status","delegatedPermissions","billingRollup","createdAt","updatedAt","revokedAt"],"properties":{"id":{"format":"uuid","type":"string"},"parentOrganizationId":{"format":"uuid","type":"string"},"childOrganizationId":{"format":"uuid","type":"string"},"counterpartyLegalName":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["active"]},{"type":"string","enum":["revoked"]}]},"delegatedPermissions":{"type":"array","items":{"description":"`metrics:read` usage and outcome metrics; `billing:read` billable usage; `branding:manage` hosted page branding; `custom_domains:manage` hosted page domains; `data_deletion_requests:read` the list of data deletion requests (never the requester identity, which only the client can decrypt); `trust_policies:read` the client's trust policies; `trust_policies:manage` also saves and activates trust policy versions for the client.","anyOf":[{"type":"string","enum":["metrics:read"]},{"type":"string","enum":["billing:read"]},{"type":"string","enum":["branding:manage"]},{"type":"string","enum":["custom_domains:manage"]},{"type":"string","enum":["data_deletion_requests:read"]},{"type":"string","enum":["trust_policies:read"]},{"type":"string","enum":["trust_policies:manage"]}]}},"billingRollup":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"revokedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","parentOrganizationId":"c781fddd-e9db-4002-a668-512c4c71ddbd","childOrganizationId":"52b97a3d-81c8-4dd2-a4f9-8306d6c74c5d","counterpartyLegalName":"counterpartyLegalName","status":"active","delegatedPermissions":["metrics:read"],"billingRollup":false,"createdAt":"2026-11-19T10:00:00.000Z","updatedAt":"2026-11-19T10:00:00.000Z","revokedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/trust-policies":{"get":{"operationId":"listChildTrustPolicies","summary":"A client organization's trust policies, with the version in force","tags":["Intermediary"],"description":"Needs `trust_policies:read` or `trust_policies:manage` delegated by the client. Newest first. Paginated: pass `nextCursor` as `starting_after` for the next page. Each read is recorded in the client’s audit log and in yours, and counts against your organization’s delegated-read rate limit, shared by all your API keys of the same mode (test keys and live keys have separate limits) and separate from each key’s own limit (429 `delegated_read_rate_limit_exceeded` with `Retry-After` when exhausted). A test API key sees and changes the client’s sandbox policies, a live key its production ones; any other is not found.","parameters":[{"schema":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"in":"query","name":"environment","required":false},{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"type":"string","enum":["age-verification","aml-identity","str-guest-registration","login-authentication","restricted-purchase-alcohol-18","restricted-purchase-tobacco-18","restricted-purchase-lottery-18","mobile-driving-licence","corporate-mandate-verification","sca-payment","sca-login","sca-account-access","sca-emandate","qes-authorization","qseal-authorization"]},"in":"query","name":"checkType","required":false,"description":"Only policies for this check type."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt","activeVersion","versionCount"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"activeVersion":{"anyOf":[{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"examples":[{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}],"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},{"type":"null"}]},"versionCount":{"minimum":0,"type":"integer"}}}}}}]},"example":{"data":[{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","activeVersion":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"versionCount":0}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"post":{"operationId":"createChildTrustPolicyVersion","summary":"Save a new version of a client organization’s trust policy","tags":["Intermediary"],"description":"Needs `trust_policies:manage` delegated by the client. The same rules apply as when the client saves it: the policy stays within the client’s own registration, and production needs the client’s approved KYB. A version that lowers a revocation floor, or is less strict about issuer registration than the version in force, is refused, and the refused attempt is recorded in both audit logs: only the client can accept that risk. Recorded in the client’s audit log and yours, announced to the client, and the version names your API client with `createdVia: intermediary`. A document identical to the latest version saves nothing new: the response is 200 with `created: false` (201 when a version was created). A test API key sees and changes the client’s sandbox policies, a live key its production ones; any other is not found. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["environment","checkType","policy"],"properties":{"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string","enum":["age-verification","aml-identity","str-guest-registration","login-authentication","restricted-purchase-alcohol-18","restricted-purchase-tobacco-18","restricted-purchase-lottery-18","mobile-driving-licence","corporate-mandate-verification","sca-payment","sca-login","sca-account-access","sca-emandate","qes-authorization","qseal-authorization"]},"rpServiceId":{"description":"Your relying-party Service this policy applies to. Omitted or null: every Service without a policy of its own.","anyOf":[{"format":"uuid","type":"string"},{"type":"null"}]},"activate":{"description":"Put the new version in force at once. Defaults to false.","type":"boolean"},"policy":{"description":"The policy body. Unknown or misspelt fields are refused with the full list of problems rather than ignored, so a policy is never saved wider than written.","type":"object","required":["attestations","revocation"],"properties":{"attestations":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"maxItems":32,"description":"The attributes to request, a subset of the check type template.","type":"array","items":{"maxLength":64,"type":"string"}},"trustSources":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","required":["source"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"description":"Accept only issuers listed by these Member States. Null accepts every Member State.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":31,"type":"array","items":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK","EU"]}}]},"deny":{"maxItems":31,"description":"Refuse issuers listed by these Member States.","type":"array","items":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK","EU"]}}}},"ecosystems":{"description":"openid_federation only: the federation ecosystems accepted. Null accepts every ecosystem this service trusts.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":8,"type":"array","items":{"maxLength":64,"type":"string"}}]},"certificates":{"description":"pinned_issuer_certificates only: base64 DER issuer CA certificates (for mdoc, the document signer certificate itself may be pinned).","anyOf":[{"type":"null"},{"minItems":1,"maxItems":10,"type":"array","items":{"maxLength":16384,"type":"string"}}]},"acceptedIssuers":{"description":"tenant_accepted_issuers only, and then required: which of your accepted issuers may issue this attestation.","anyOf":[{"type":"null"},{"minItems":1,"maxItems":50,"type":"array","items":{"format":"uuid","type":"string"}}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"anyOf":[{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},{"type":"null"}]}}}}},"example":{"environment":"production","checkType":"aml-identity","activate":true,"policy":{"attestations":[{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate","family_name","given_name","nationalities"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":["AT","DE","IE"],"deny":[]}}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"reject"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["policy","version","created","activated","dcqlQuery"],"properties":{"policy":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"version":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},"created":{"description":"False when the policy equals the latest version, which is returned instead of a duplicate.","type":"boolean"},"activated":{"type":"boolean"},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}}}},"example":{"policy":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"},"version":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"created":false,"activated":false,"dcqlQuery":{}}}}},"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["policy","version","created","activated","dcqlQuery"],"properties":{"policy":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"version":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}},"created":{"description":"False when the policy equals the latest version, which is returned instead of a duplicate.","type":"boolean"},"activated":{"type":"boolean"},"dcqlQuery":{"additionalProperties":true,"description":"The DCQL query a session sends under this policy, before it is narrowed to your registration certificate.","type":"object","properties":{}}}},"example":{"policy":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z"},"version":{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"},"created":false,"activated":false,"dcqlQuery":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/trust-policies/{trustPolicyId}":{"get":{"operationId":"getChildTrustPolicy","summary":"One of a client organization's trust policies, with every version","tags":["Intermediary"],"description":"Needs `trust_policies:read` or `trust_policies:manage` delegated by the client. Each read is recorded in the client’s audit log and in yours, and counts against your organization’s delegated-read rate limit, shared by all your API keys of the same mode (test keys and live keys have separate limits) and separate from each key’s own limit (429 `delegated_read_rate_limit_exceeded` with `Retry-After` when exhausted). A test API key sees and changes the client’s sandbox policies, a live key its production ones; any other is not found.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"trustPolicyId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt","versions"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"versions":{"type":"array","items":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}}}}},"example":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","versions":[{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/trust-policies/{trustPolicyId}/versions/{versionId}/activate":{"post":{"operationId":"activateChildTrustPolicyVersion","summary":"Put a version of a client organization’s trust policy in force","tags":["Intermediary"],"description":"Needs `trust_policies:manage` delegated by the client. Production needs the client’s approved KYB. A version that lowers a revocation floor, or is less strict about issuer registration than the version in force, is refused, and the refused attempt is recorded in both audit logs. Recorded in the client’s audit log and yours, and announced to the client. Activating the version already in force changes nothing and is a read: it is recorded as one and counts against your delegated-read rate limit. A test API key sees and changes the client’s sandbox policies, a live key its production ones; any other is not found. Idempotent. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"trustPolicyId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"versionId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["trustPolicyId","environment","checkType","rpServiceId","activeVersionId","activatedAt","createdAt","versions"],"properties":{"trustPolicyId":{"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"checkType":{"type":"string"},"rpServiceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"versions":{"type":"array","items":{"type":"object","required":["versionId","version","sha256","document","floorOverride","createdBy","createdVia","createdAt"],"properties":{"versionId":{"type":"string"},"version":{"minimum":1,"type":"integer"},"sha256":{"description":"SHA-256 hex digest of the canonical policy document. Every decision made under this version records it.","type":"string"},"document":{"type":"object","required":["schema","checkType","attestations","revocation","deviceBinding","floorOverride"],"properties":{"schema":{"type":"string","enum":["nexiel.verify.trust-policy/1"]},"checkType":{"type":"string"},"attestations":{"type":"array","items":{"type":"object","required":["attestation","formats","attributes","trustSources"],"properties":{"attestation":{"type":"string","enum":["pid","eu_av","mdl","corporate_mandate","sca_attestation"]},"formats":{"type":"array","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}},"attributes":{"type":"array","items":{"type":"string"}},"trustSources":{"type":"array","items":{"type":"object","required":["source","jurisdictions","ecosystems","certificates","acceptedIssuers"],"properties":{"source":{"type":"string","enum":["eu_pid_providers","eu_av_providers","mdl_issuer_anchors","corporate_mandate_issuer_anchors","eu_qeaa_providers","eu_pub_eaa_providers","openid_federation","tenant_accepted_issuers","pinned_issuer_certificates","sca_attestation_profile"]},"jurisdictions":{"type":"object","required":["allow","deny"],"properties":{"allow":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"deny":{"type":"array","items":{"type":"string"}}}},"ecosystems":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"certificates":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"acceptedIssuers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}}}}}}},"revocation":{"type":"object","required":["checkRevocation","onStatusUnavailable"],"properties":{"checkRevocation":{"type":"boolean"},"onStatusUnavailable":{"anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}},"deviceBinding":{"type":"string","enum":["required"]},"floorOverride":{"anyOf":[{"type":"object","required":["acknowledged","reason"],"properties":{"acknowledged":{"type":"boolean","enum":[true]},"reason":{"minLength":10,"maxLength":500,"description":"Why your risk analysis accepts a weaker revocation check for this check type. Recorded and audited, so it must not contain personal data.","type":"string"}}},{"type":"null"}]},"issuerRegistration":{"description":"Optional check that the issuer registered the credential's type. Off by default.","type":"object","required":["requireRegisteredAttestationType","onRegistrationUnavailable"],"properties":{"requireRegisteredAttestationType":{"description":"When true, a credential is accepted only if its type is listed in its issuer's registration certificate (provides_attestations). A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","type":"boolean"},"onRegistrationUnavailable":{"description":"What to do when the issuer's registration cannot be established: refuse the credential, or accept it and record the outcome.","anyOf":[{"type":"string","enum":["reject"]},{"type":"string","enum":["accept_with_flag"]}]}}}},"example":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null}},"floorOverride":{"description":"True when this version lowers the revocation floor of an AML, SCA or corporate mandate check type.","type":"boolean"},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdVia":{"description":"How the version was saved: `api` or `dashboard` by the organization itself, `intermediary` by its intermediary on its behalf (`createdBy` then names the intermediary API client or user).","anyOf":[{"type":"string","enum":["api"]},{"type":"string","enum":["dashboard"]},{"type":"string","enum":["intermediary"]}]},"createdAt":{"format":"date-time","type":"string"}}}}}},"example":{"trustPolicyId":"1f8be2e8-9f00-43a8-ac0e-942110b77225","environment":"sandbox","checkType":"checkType","rpServiceId":"fc9da4ad-71f7-47e2-ae05-c83af00ec025","activeVersionId":"03753c1e-55c4-4da8-a06b-989b985b63b9","activatedAt":"2026-11-19T10:00:00.000Z","createdAt":"2026-11-19T10:00:00.000Z","versions":[{"versionId":"0e455f90-a9e4-4960-a6a9-b7a9824286cd","version":1,"sha256":"sha256","document":{"schema":"nexiel.verify.trust-policy/1","checkType":"age-verification","attestations":[{"attestation":"eu_av","formats":["mso_mdoc"],"attributes":["age_over_18"],"trustSources":[{"source":"eu_av_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]},{"attestation":"pid","formats":["dc+sd-jwt","mso_mdoc"],"attributes":["birthdate"],"trustSources":[{"source":"eu_pid_providers","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null},{"source":"openid_federation","jurisdictions":{"allow":null,"deny":[]},"ecosystems":null,"certificates":null,"acceptedIssuers":null}]}],"revocation":{"checkRevocation":true,"onStatusUnavailable":"accept_with_flag"},"deviceBinding":"required","floorOverride":null},"floorOverride":false,"createdBy":"createdBy","createdVia":"api","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/branding":{"get":{"operationId":"getBranding","summary":"Your hosted page branding","tags":["White label"],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["displayName","logoUrl","logoDataUri","primaryColor","primaryHoverColor","backgroundColor","textColor","supportUrl","privacyPolicyUrl","updatedAt"],"properties":{"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoDataUri":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryHoverColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"backgroundColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"textColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"supportUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"privacyPolicyUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"displayName":"displayName","logoUrl":"https://example.com/logourl","logoDataUri":"https://example.com/logodatauri","primaryColor":"primaryColor","primaryHoverColor":"primaryHoverColor","backgroundColor":"backgroundColor","textColor":"textColor","supportUrl":"https://example.com/supporturl","privacyPolicyUrl":"https://example.com/privacypolicyurl","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"}]},"put":{"operationId":"replaceBranding","summary":"Replace your hosted page branding","tags":["White label"],"description":"Name, logo, colours and help and privacy links for every hosted page shown on your behalf. Colours are six-digit hex; links and a logo URL must be https; an uploaded logo is a PNG, JPEG or WebP data URI of at most 100 KB. Replaces the whole branding; omitted fields are cleared. Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"displayName":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"maxLength":2048,"pattern":"^https://","type":"string"},{"type":"null"}]},"logoDataUri":{"anyOf":[{"maxLength":140000,"pattern":"^data:image/(png|jpeg|webp);base64,","type":"string"},{"type":"null"}]},"primaryColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"primaryHoverColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"backgroundColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"textColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"supportUrl":{"anyOf":[{"maxLength":2048,"pattern":"^https://","type":"string"},{"type":"null"}]},"privacyPolicyUrl":{"anyOf":[{"maxLength":2048,"pattern":"^https://","type":"string"},{"type":"null"}]}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["displayName","logoUrl","logoDataUri","primaryColor","primaryHoverColor","backgroundColor","textColor","supportUrl","privacyPolicyUrl","updatedAt"],"properties":{"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoDataUri":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryHoverColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"backgroundColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"textColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"supportUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"privacyPolicyUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"displayName":"displayName","logoUrl":"https://example.com/logourl","logoDataUri":"https://example.com/logodatauri","primaryColor":"primaryColor","primaryHoverColor":"primaryHoverColor","backgroundColor":"backgroundColor","textColor":"textColor","supportUrl":"https://example.com/supporturl","privacyPolicyUrl":"https://example.com/privacypolicyurl","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/intermediary/children/{childOrganizationId}/branding":{"get":{"operationId":"getChildBranding","summary":"A client organization's hosted page branding","tags":["White label"],"description":"Needs `branding:manage` delegated by the client. Each read is recorded in the client’s audit log and in yours, and counts against your organization’s delegated-read rate limit, shared by all your API keys of the same mode (test keys and live keys have separate limits) and separate from each key’s own limit (429 `delegated_read_rate_limit_exceeded` with `Retry-After` when exhausted).","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["displayName","logoUrl","logoDataUri","primaryColor","primaryHoverColor","backgroundColor","textColor","supportUrl","privacyPolicyUrl","updatedAt"],"properties":{"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoDataUri":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryHoverColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"backgroundColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"textColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"supportUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"privacyPolicyUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"displayName":"displayName","logoUrl":"https://example.com/logourl","logoDataUri":"https://example.com/logodatauri","primaryColor":"primaryColor","primaryHoverColor":"primaryHoverColor","backgroundColor":"backgroundColor","textColor":"textColor","supportUrl":"https://example.com/supporturl","privacyPolicyUrl":"https://example.com/privacypolicyurl","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"replaceChildBranding","summary":"Replace a client organization's hosted page branding","tags":["White label"],"description":"Needs `branding:manage` delegated by the client. Audited on the client. Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","properties":{"displayName":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"maxLength":2048,"pattern":"^https://","type":"string"},{"type":"null"}]},"logoDataUri":{"anyOf":[{"maxLength":140000,"pattern":"^data:image/(png|jpeg|webp);base64,","type":"string"},{"type":"null"}]},"primaryColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"primaryHoverColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"backgroundColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"textColor":{"anyOf":[{"pattern":"^#[0-9a-fA-F]{6}$","type":"string"},{"type":"null"}]},"supportUrl":{"anyOf":[{"maxLength":2048,"pattern":"^https://","type":"string"},{"type":"null"}]},"privacyPolicyUrl":{"anyOf":[{"maxLength":2048,"pattern":"^https://","type":"string"},{"type":"null"}]}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["displayName","logoUrl","logoDataUri","primaryColor","primaryHoverColor","backgroundColor","textColor","supportUrl","privacyPolicyUrl","updatedAt"],"properties":{"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoDataUri":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"primaryHoverColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"backgroundColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"textColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"supportUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"privacyPolicyUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"displayName":"displayName","logoUrl":"https://example.com/logourl","logoDataUri":"https://example.com/logodatauri","primaryColor":"primaryColor","primaryHoverColor":"primaryHoverColor","backgroundColor":"backgroundColor","textColor":"textColor","supportUrl":"https://example.com/supporturl","privacyPolicyUrl":"https://example.com/privacypolicyurl","updatedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/custom-domains":{"get":{"operationId":"listCustomDomains","summary":"Your custom hosted page domains","tags":["White label"],"description":"Serve your hosted pages (Nexiel Login, the hosted verification page, the wallet return page and the data deletion request form) on your own subdomain. Needs your approved KYB. Publish the TXT record to prove control and point a CNAME at the target shown, then call verify. Once both are seen the domain is active and is served with its own TLS certificate, issued automatically at the next routing sync. Keep both records in place: a domain whose records disappear is suspended. Changes need a live API key, because test and live mode share these settings. Newest first, removed domains never included. Paginated: pass `nextCursor` as `starting_after` for the next page. `domains` is a deprecated copy of `data` that will be removed in a future API version.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]}]},"in":"query","name":"status","required":false,"description":"Only domains in this status."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}},"domains":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `domains` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","domains":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addCustomDomain","summary":"Add a custom hosted page domain","tags":["White label"],"description":"Serve your hosted pages (Nexiel Login, the hosted verification page, the wallet return page and the data deletion request form) on your own subdomain. Needs your approved KYB. Publish the TXT record to prove control and point a CNAME at the target shown, then call verify. Once both are seen the domain is active and is served with its own TLS certificate, issued automatically at the next routing sync. Keep both records in place: a domain whose records disappear is suspended. Changes need a live API key, because test and live mode share these settings. At most five per organization. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["hostname"],"properties":{"hostname":{"minLength":4,"maxLength":253,"type":"string","example":"login.example.com"}}}}}},"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}]}},"/v1/verify/custom-domains/{domainId}/verify":{"post":{"operationId":"verifyCustomDomain","summary":"Check DNS now and activate the domain when both records are present","tags":["White label"],"description":"Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"domainId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/custom-domains/{domainId}/remove":{"post":{"operationId":"removeCustomDomain","summary":"Stop serving hosted pages on a custom domain","tags":["White label"],"description":"Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"domainId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/custom-domains":{"get":{"operationId":"listChildCustomDomains","summary":"A client organization's custom domains","tags":["White label"],"description":"Needs `custom_domains:manage` delegated by the client. Newest first, removed domains never included. Paginated: pass `nextCursor` as `starting_after` for the next page. `domains` is a deprecated copy of `data` that will be removed in a future API version. Each read is recorded in the client’s audit log and in yours, and counts against your organization’s delegated-read rate limit, shared by all your API keys of the same mode (test keys and live keys have separate limits) and separate from each key’s own limit (429 `delegated_read_rate_limit_exceeded` with `Retry-After` when exhausted).","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]}]},"in":"query","name":"status","required":false,"description":"Only domains in this status."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}},"domains":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `domains` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","domains":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addChildCustomDomain","summary":"Add a custom domain for a client organization","tags":["White label"],"description":"Needs `custom_domains:manage` delegated by the client. Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["hostname"],"properties":{"hostname":{"minLength":4,"maxLength":253,"type":"string","example":"login.example.com"}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/custom-domains/{domainId}/verify":{"post":{"operationId":"verifyChildCustomDomain","summary":"Check a client organization's custom domain","tags":["White label"],"description":"Needs `custom_domains:manage` delegated by the client. Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"domainId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/custom-domains/{domainId}/remove":{"post":{"operationId":"removeChildCustomDomain","summary":"Remove a client organization's custom domain","tags":["White label"],"description":"Needs `custom_domains:manage` delegated by the client. Changes need a live API key, because test and live mode share these settings. Supports `Idempotency-Key`.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"domainId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","hostname","status","dns","txtVerifiedAt","cnameVerifiedAt","activatedAt","lastCheckedAt","lastCheckError","createdAt"],"properties":{"id":{"format":"uuid","type":"string"},"hostname":{"type":"string"},"status":{"anyOf":[{"type":"string","enum":["pending"]},{"type":"string","enum":["active"]},{"type":"string","enum":["suspended"]},{"type":"string","enum":["removed"]}]},"dns":{"type":"object","required":["txt","cname"],"properties":{"txt":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}}},"cname":{"type":"object","required":["name","target"],"properties":{"name":{"type":"string"},"target":{"type":"string"}}}}},"txtVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"cnameVerifiedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"activatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastCheckError":{"anyOf":[{"type":"string","enum":["txt_missing"]},{"type":"string","enum":["cname_missing"]},{"type":"string","enum":["cname_mismatch"]},{"type":"string","enum":["dns_error"]},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","hostname":"hostname","status":"pending","dns":{"txt":{"name":"name","value":"value"},"cname":{"name":"name","target":"target"}},"txtVerifiedAt":"2026-11-19T10:00:00.000Z","cnameVerifiedAt":"2026-11-19T10:00:00.000Z","activatedAt":"2026-11-19T10:00:00.000Z","lastCheckedAt":"2026-11-19T10:00:00.000Z","lastCheckError":"txt_missing","createdAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/verify/data-deletion-requests":{"get":{"operationId":"listDataDeletionRequests","summary":"Wallet users’ requests to delete their data","tags":["Data deletion requests"],"description":"Requests a wallet user sent through your hosted data deletion form after confirming who they are with their wallet, newest first. `formUrls` are the addresses to register as your data deletion web form. Each request is also announced by a `verify.data_deletion_request.received` webhook. A test API key sees test-mode requests, a live key live ones. Paginated: pass `nextCursor` as `starting_after` for the next page. `requests` is a deprecated copy of `data` that will be removed in a future API version.","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"in":"query","name":"status","required":false,"description":"Only requests in this status."},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data","formUrls"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","referenceCode","environment","status","createdAt","authenticatedAt","resolution","resolvedAt"],"properties":{"id":{"format":"uuid","type":"string"},"referenceCode":{"type":"string","example":"K7QM-2XRP-9DNA"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"status":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"createdAt":{"format":"date-time","type":"string"},"authenticatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"resolution":{"anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]},{"type":"null"}]},"resolvedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"requests":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `requests` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","referenceCode","environment","status","createdAt","authenticatedAt","resolution","resolvedAt"],"properties":{"id":{"format":"uuid","type":"string"},"referenceCode":{"type":"string","example":"K7QM-2XRP-9DNA"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"status":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"createdAt":{"format":"date-time","type":"string"},"authenticatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"resolution":{"anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]},{"type":"null"}]},"resolvedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"formUrls":{"description":"Register one of these as the data deletion web form of your registration certificate.","type":"array","items":{"type":"string"}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","referenceCode":"K7QM-2XRP-9DNA","environment":"sandbox","status":"received","createdAt":"2026-11-19T10:00:00.000Z","authenticatedAt":"2026-11-19T10:00:00.000Z","resolution":"completed","resolvedAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","requests":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","referenceCode":"K7QM-2XRP-9DNA","environment":"sandbox","status":"received","createdAt":"2026-11-19T10:00:00.000Z","authenticatedAt":"2026-11-19T10:00:00.000Z","resolution":"completed","resolvedAt":"2026-11-19T10:00:00.000Z"}],"formUrls":["https://example.com/formurl"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/data-deletion-requests/{requestId}":{"get":{"operationId":"getDataDeletionRequest","summary":"One data deletion request","tags":["Data deletion requests"],"description":"Read-only. `evidencePackStatus` says whether the requester’s identity (the name and date of birth their wallet disclosed, encrypted to your evidence-pack key) can be claimed with `POST /v1/verify/data-deletion-requests/{requestId}/evidence-pack/claim`. It is deleted from Nexiel seven days after the request in any case; `evidencePackHash` remains as proof of handoff.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["id","referenceCode","environment","status","createdAt","authenticatedAt","resolution","resolvedAt"],"properties":{"id":{"format":"uuid","type":"string"},"referenceCode":{"examples":["K7QM-2XRP-9DNA"],"type":"string"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"status":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"createdAt":{"format":"date-time","type":"string"},"authenticatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"resolution":{"anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]},{"type":"null"}]},"resolvedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},{"type":"object","required":["evidencePackStatus","evidencePackHash"],"properties":{"evidencePackStatus":{"description":"Where the requester's encrypted identity stands. Reading the request never hands it over: claim it with `POST /v1/verify/data-deletion-requests/{requestId}/evidence-pack/claim` while it is `available`.","anyOf":[{"type":"string","enum":["not_applicable"]},{"type":"string","enum":["no_key_registered"]},{"type":"string","enum":["available"]},{"type":"string","enum":["pushing"]},{"type":"string","enum":["delivered"]},{"type":"string","enum":["expired"]}]},"evidencePackHash":{"anyOf":[{"type":"string"},{"type":"null"}]}}}]},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","referenceCode":"K7QM-2XRP-9DNA","environment":"sandbox","status":"received","createdAt":"2026-11-19T10:00:00.000Z","authenticatedAt":"2026-11-19T10:00:00.000Z","resolution":"completed","resolvedAt":"2026-11-19T10:00:00.000Z","evidencePackStatus":"not_applicable","evidencePackHash":"sha256-3q2+7w=="}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/data-deletion-requests/{requestId}/evidence-pack/claim":{"post":{"operationId":"claimDataDeletionRequestIdentity","summary":"Claim the requester’s encrypted identity (once; retry-safe with the same Idempotency-Key)","tags":["Data deletion requests"],"description":"Hands over the name and date of birth the requester’s wallet disclosed, a JWE encrypted to your evidence-pack public key, once, and records the handoff in your audit log. Requires an `Idempotency-Key`: a retry with the same key within 60 minutes returns the same pack; after that Nexiel keeps only its hash. Another key after the claim returns `409 evidence_pack_already_claimed`. Read-only (agent) keys cannot claim.","parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKeyRequired"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["requestId","referenceCode","evidencePackCiphertext","evidencePackHash","evidencePackFormat","claimedAt","replayableUntil"],"properties":{"requestId":{"format":"uuid","type":"string"},"referenceCode":{"type":"string"},"evidencePackCiphertext":{"description":"The requester's disclosed name and date of birth, a JWE encrypted to your evidence-pack public key.","type":"string"},"evidencePackHash":{"description":"SHA-256 (hex) of the ciphertext; Nexiel keeps it as proof of handoff.","type":"string"},"evidencePackFormat":{"type":"string","enum":["jwe_compact"]},"claimedAt":{"format":"date-time","type":"string"},"replayableUntil":{"format":"date-time","type":"string"}}},"example":{"requestId":"b563381d-b91e-4c32-a174-b5de619f0dad","referenceCode":"referenceCode","evidencePackCiphertext":"evidencePackCiphertext","evidencePackHash":"sha256-3q2+7w==","evidencePackFormat":"jwe_compact","claimedAt":"2026-11-19T10:00:00.000Z","replayableUntil":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Gone","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/data-deletion-requests/{requestId}/resolve":{"post":{"operationId":"resolveDataDeletionRequest","summary":"Record the outcome of a data deletion request","tags":["Data deletion requests"],"description":"Once per request; audited. Supports `Idempotency-Key`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["resolution"],"properties":{"resolution":{"description":"`completed` the data was erased; `no_data_held` there was nothing to erase; `legal_retention` refused under a legal retention duty; `identity_not_matched` the requester could not be matched to your records.","anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]}]}}}}}},"parameters":[{"schema":{"format":"uuid","type":"string"},"in":"path","name":"requestId","required":true},{"$ref":"#/components/parameters/NexielVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","referenceCode","environment","status","createdAt","authenticatedAt","resolution","resolvedAt"],"properties":{"id":{"format":"uuid","type":"string"},"referenceCode":{"type":"string","example":"K7QM-2XRP-9DNA"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"status":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"createdAt":{"format":"date-time","type":"string"},"authenticatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"resolution":{"anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]},{"type":"null"}]},"resolvedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"example":{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","referenceCode":"K7QM-2XRP-9DNA","environment":"sandbox","status":"received","createdAt":"2026-11-19T10:00:00.000Z","authenticatedAt":"2026-11-19T10:00:00.000Z","resolution":"completed","resolvedAt":"2026-11-19T10:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/v1/verify/intermediary/children/{childOrganizationId}/data-deletion-requests":{"get":{"operationId":"listChildDataDeletionRequests","summary":"A client organization's data deletion requests (status only)","tags":["Data deletion requests"],"description":"Needs `data_deletion_requests:read` delegated by the client. Never includes the requester’s identity. A test API key sees the client’s test-mode requests, a live key its live ones. Newest first. Paginated: pass `nextCursor` as `starting_after` for the next page. `requests` is a deprecated copy of `data` that will be removed in a future API version. Each read is recorded in the client’s audit log and in yours, and counts against your organization’s delegated-read rate limit, shared by all your API keys of the same mode (test keys and live keys have separate limits) and separate from each key’s own limit (429 `delegated_read_rate_limit_exceeded` with `Retry-After` when exhausted).","parameters":[{"schema":{"minimum":1,"maximum":100,"default":100,"type":"integer"},"in":"query","name":"limit","required":false,"description":"How many items to return, 1 to 100. Defaults to 100; when `hasMore` is true, pass `nextCursor` as `starting_after` for the rest."},{"schema":{"minLength":1,"maxLength":200,"type":"string"},"in":"query","name":"starting_after","required":false,"description":"Return the items after this one: the `nextCursor` of the previous page, or the id of an item in the list."},{"schema":{"minLength":1,"maxLength":200,"deprecated":true,"type":"string"},"in":"query","name":"cursor","required":false,"description":"Deprecated alias of `starting_after`; send `starting_after` instead."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gt]","required":false,"description":"Only items created after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[gte]","required":false,"description":"Only items created at or after this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lt]","required":false,"description":"Only items created before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"maxLength":40,"type":"string"},"example":"2026-11-01T00:00:00Z","in":"query","name":"created[lte]","required":false,"description":"Only items created at or before this time. An ISO 8601 date-time (UTC if no offset is given) or Unix seconds."},{"schema":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"in":"query","name":"status","required":false,"description":"Only requests in this status."},{"schema":{"format":"uuid","type":"string"},"in":"path","name":"childOrganizationId","required":true},{"$ref":"#/components/parameters/NexielVersion"}],"security":[{"keycloakBearer":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Page"},{"type":"object","required":["data","formUrls"],"properties":{"data":{"description":"The items of this page, newest first.","type":"array","items":{"type":"object","required":["id","referenceCode","environment","status","createdAt","authenticatedAt","resolution","resolvedAt"],"properties":{"id":{"format":"uuid","type":"string"},"referenceCode":{"type":"string","example":"K7QM-2XRP-9DNA"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"status":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"createdAt":{"format":"date-time","type":"string"},"authenticatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"resolution":{"anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]},{"type":"null"}]},"resolvedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"requests":{"deprecated":true,"description":"Deprecated: the same items as `data`, under this list's previous name. Read `data` instead; `requests` will be removed in a future API version.","type":"array","items":{"type":"object","required":["id","referenceCode","environment","status","createdAt","authenticatedAt","resolution","resolvedAt"],"properties":{"id":{"format":"uuid","type":"string"},"referenceCode":{"type":"string","example":"K7QM-2XRP-9DNA"},"environment":{"anyOf":[{"type":"string","enum":["sandbox"]},{"type":"string","enum":["production"]}]},"status":{"anyOf":[{"type":"string","enum":["received"]},{"type":"string","enum":["completed"]},{"type":"string","enum":["rejected"]}]},"createdAt":{"format":"date-time","type":"string"},"authenticatedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"resolution":{"anyOf":[{"type":"string","enum":["completed"]},{"type":"string","enum":["no_data_held"]},{"type":"string","enum":["legal_retention"]},{"type":"string","enum":["identity_not_matched"]},{"type":"null"}]},"resolvedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}},"formUrls":{"description":"Register one of these as the data deletion web form of your registration certificate.","type":"array","items":{"type":"string"}}}}]},"example":{"data":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","referenceCode":"K7QM-2XRP-9DNA","environment":"sandbox","status":"received","createdAt":"2026-11-19T10:00:00.000Z","authenticatedAt":"2026-11-19T10:00:00.000Z","resolution":"completed","resolvedAt":"2026-11-19T10:00:00.000Z"}],"hasMore":true,"nextCursor":"MjAyNi0xMS0xOVQxMDowMDowMC4wMDAwMDBafDM3OTFjMDhkLTcyZGQtNDAwMi1hOWZmLTFlMTRhMTFjMDdlNQ","requests":[{"id":"aac39e3a-0c40-44b2-a697-b597f357c5a9","referenceCode":"K7QM-2XRP-9DNA","environment":"sandbox","status":"received","createdAt":"2026-11-19T10:00:00.000Z","authenticatedAt":"2026-11-19T10:00:00.000Z","resolution":"completed","resolvedAt":"2026-11-19T10:00:00.000Z"}],"formUrls":["https://example.com/formurl"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required or failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}}},"servers":[{"url":"https://compliance.nexiel.io","description":"Production"}],"webhooks":{"verify.session.completed":{"post":{"tags":["Webhooks"],"summary":"Verification session completed","description":"Sent once when a wallet response is verified and the decision is recorded.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"verify.session.completed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["sessionId","clientId","checkType","templateVersion","method","mode","timestamp","booleanProofs","evidencePackAvailable","metadata"],"properties":{"sessionId":{"type":"string","format":"uuid"},"clientId":{"type":"string"},"checkType":{"type":"string","description":"The check type the session ran."},"templateVersion":{"type":"string"},"method":{"type":"string","const":"eudi_wallet"},"mode":{"type":"string","enum":["sandbox","production"]},"timestamp":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"The `metadata` you set when creating the session (an empty object when none). Never personal data."},"booleanProofs":{"type":"object","additionalProperties":{"type":"boolean"}},"amlResult":{"type":"string","enum":["CLEAR","POSSIBLE_MATCH","CONFIRMED_MATCH"],"description":"Present only for check types that screen against sanctions and PEP lists."},"pep":{"type":"boolean","description":"Present together with `amlResult`."},"sanctioned":{"type":"boolean","description":"Present together with `amlResult`."},"listsChecked":{"type":"array","items":{"type":"string"},"description":"Present together with `amlResult`."},"humanReviewRequired":{"type":"boolean","description":"Present together with `amlResult`."},"frozenDecisionArtifact":{"type":"object","description":"The exact engine version, thresholds hash, weights hash and list snapshots behind the decision.","properties":{"engineVersion":{"type":"string"},"gatesHash":{"type":"string"},"ensembleWeightsHash":{"type":"string"},"listSnapshotIds":{"type":"array","items":{"type":"string"}},"trustPolicyVersionId":{"type":["string","null"],"description":"The trust policy version in force, or null for the Nexiel default policy."},"trustPolicySha256":{"type":"string","description":"SHA-256 of the canonical trust policy document in force."}}},"trustPolicy":{"type":"object","description":"The trust policy the decision was made under, and which of its trust sources accepted the credential issuer.","required":["versionId","sha256","trustSource","issuerJurisdiction","trustAnchorSha256"],"properties":{"versionId":{"type":["string","null"],"description":"Your trust policy version, or null for the Nexiel default policy."},"sha256":{"type":"string"},"trustSource":{"type":["string","null"]},"issuerJurisdiction":{"type":["string","null"],"description":"The company register Member State for a corporate mandate; null otherwise."},"trustAnchorSha256":{"type":["string","null"],"description":"SHA-256 of the trust anchor certificate that accepted the issuer, for a corporate mandate or an issuer you accepted or pinned yourself; null otherwise."},"issuerRegistration":{"type":["object","null"],"description":"The issuer registration check, when your trust policy turns it on; null otherwise. A registered type shows that the issuer declared it when registering; it is not an authorisation to issue it.","required":["outcome","handling","source","registrationCertificateSha256"],"properties":{"outcome":{"type":"string","enum":["registered","registration_unavailable"]},"handling":{"type":"string","enum":["accepted","accepted_with_flag"]},"source":{"type":["string","null"],"enum":["credential_issuer_metadata",null],"description":"Where the registration certificate was read: the issuer's signed metadata."},"registrationCertificateSha256":{"type":["string","null"],"description":"SHA-256 of the issuer's registration certificate, for a corporate mandate or an issuer you accepted or pinned yourself; null otherwise."}}}}},"credentialStatus":{"type":"string","enum":["valid","revoked","suspended","unavailable","not_revocable","not_checked"],"description":"Outcome of the credential revocation check, when one ran."},"evidencePackAvailable":{"type":"boolean","description":"True when the decision has an encrypted evidence pack. `evidencePackDelivery` says how it arrives: fetched once from the session read route (pull), or posted to your evidence-pack endpoint as `verify.evidence_pack.ready` (push modes)."},"evidencePackDelivery":{"type":"string","enum":["pull","push","push_then_pull_fallback"],"description":"Present when `evidencePackAvailable` is true: the delivery mode the pack was made under."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"verify.session.failed":{"post":{"tags":["Webhooks"],"summary":"Verification session failed","description":"Sent once when a wallet response is rejected and the session can no longer complete.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"verify.session.failed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["sessionId","clientId","checkType","mode","reason","timestamp","metadata"],"properties":{"sessionId":{"type":"string","format":"uuid"},"clientId":{"type":"string"},"checkType":{"type":"string"},"mode":{"type":"string","enum":["sandbox","production"]},"reason":{"type":"string","enum":["wallet_reported_error","wallet_declined","user_cancelled","state_mismatch","vp_token_missing_credential","vp_token_answered_multiple_credential_sets_options","multiple_presentations_for_query","redirect_binding_missing","issuer_not_trusted","issuer_not_accepted_by_policy","trust_policy_unavailable","signature_or_disclosure_invalid","signature_algorithm_not_accepted","status_revoked_at_presentation","missing_key_binding","key_binding_iat_invalid","audience_mismatch","vct_mismatch","credential_not_valid_now","cnf_jwk_missing","required_claims_missing","identity_claims_empty","av_age_over_18_claim_missing_or_malformed","birthdate_claim_missing","birthdate_claim_malformed","credential_revoked","credential_suspended","credential_status_unavailable","issuer_certificate_revoked","issuer_certificate_suspended","issuer_certificate_revocation_unavailable","transaction_data_unavailable","transaction_data_not_authorized_by_presented_credential","transaction_data_hashes_missing","transaction_data_hashes_malformed","transaction_data_hashes_alg_missing","transaction_data_hashes_alg_not_offered","transaction_data_hash_mismatch","transaction_data_hash_missing","transaction_data_hash_extra","transaction_data_hash_duplicated","transaction_data_hashes_unexpected","sca_jti_missing","sca_jti_invalid","sca_response_mode_mismatch","sca_amr_missing","sca_amr_invalid","sca_amr_insufficient_factors","sca_attestation_audience_mismatch","sca_authentication_code_replayed","qes_approval_mismatch","signer_identity_mismatch","signer_birthdate_mismatch","signer_claims_malformed","signer_binding_unavailable","screening_list_coverage_incomplete"],"description":"Stable, machine-readable failure reason."},"policyRejectionReason":{"type":"string","enum":["trust_source_not_accepted","jurisdiction_not_accepted","federation_ecosystem_not_accepted","credential_format_not_accepted","attestation_type_not_registered","issuer_registration_unavailable"],"description":"Present only with `issuer_not_accepted_by_policy`: which rule of your trust policy refused the issuer."},"timestamp":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"The `metadata` you set when creating the session (an empty object when none). Never personal data."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"verify.session.expired":{"post":{"tags":["Webhooks"],"summary":"Verification session expired","description":"Sent once when a session passes its expiry without a completed response.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"verify.session.expired"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["sessionId","clientId","checkType","mode","timestamp","metadata"],"properties":{"sessionId":{"type":"string","format":"uuid"},"clientId":{"type":"string"},"checkType":{"type":"string"},"mode":{"type":"string","enum":["sandbox","production"]},"timestamp":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"The `metadata` you set when creating the session (an empty object when none). Never personal data."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"verify.review.completed":{"post":{"tags":["Webhooks"],"summary":"verify.review.completed","description":"Your organization recorded a human review of a POSSIBLE_MATCH. Carries the decision reference, the outcome, the reviewer type and the time; never the notes, their fingerprint or your reviewer reference, and nothing about the person screened. Read the decision for the full review record. Every delivery is a signed JSON object `{ id, type, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"verify.review.completed"},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["sessionId","clientId","outcome","reviewerType","reviewedAt","mode"],"properties":{"sessionId":{"type":"string","format":"uuid","description":"The reviewed 'aml-identity' session."},"clientId":{"type":"string","description":"The API client the decision belongs to."},"outcome":{"type":"string","enum":["confirmed_match","false_positive","escalated"]},"reviewerType":{"type":"string","enum":["dashboard_user","api_key"],"description":"`dashboard_user`: recorded by a signed-in member in the dashboard. `api_key`: recorded with your API key."},"reviewedAt":{"type":"string","format":"date-time"},"mode":{"type":"string","enum":["sandbox","production"]}}}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"verify.evidence_pack.ready":{"post":{"tags":["Webhooks"],"summary":"Evidence pack ready (push delivery)","description":"Sent only when you chose push delivery for evidence packs, and only to the one endpoint you chose for them, never to your other endpoints. Answer with any 2xx: Nexiel then deletes its copy of the encrypted pack and keeps only its hash. Other responses are retried with exponential backoff, up to 8 attempts (about an hour, a shorter window than other events). If every attempt fails, the pack is deleted undelivered under `push`, or kept for one fetch by pull until it expires under `push_then_pull_fallback`. Delivery is at least once: the same pack can arrive twice with the same event `id` and `evidencePackHash`, so store it once per event id. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }` (see the `X-Nexiel-Signature` header). The pack is the only content that is not an identifier or a hash, and it is encrypted to your key.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"verify.evidence_pack.ready"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["sessionId","clientId","checkType","templateVersion","mode","decidedAt","evidencePackCiphertext","evidencePackHash","evidencePackDeliveryMode","evidencePackFormat"],"properties":{"sessionId":{"type":"string","format":"uuid"},"checkType":{"type":"string"},"templateVersion":{"type":"string"},"mode":{"type":"string","enum":["sandbox","production"]},"trustSnapshotId":{"type":"string","description":"The trust registry snapshot that decided issuer trust, when one did."},"clientId":{"type":"string","description":"The API client the decision was made for."},"decidedAt":{"type":"string","format":"date-time"},"evidencePackExpiresAt":{"type":"string","format":"date-time","description":"When Nexiel deletes the pack at the latest, whatever happens to the push (7 days after the decision)."},"evidencePackCiphertext":{"type":"string","maxLength":262144,"description":"The evidence pack as a JWE in compact serialization (ECDH-ES key agreement, A256GCM, P-256), encrypted to your own registered evidence-pack public key. Only your private key can decrypt it. Nexiel deletes its copy as soon as your endpoint answers with a 2xx."},"evidencePackHash":{"type":"string","description":"SHA-256 (hex) of `evidencePackCiphertext`. Nexiel keeps this hash as proof of handoff; compare it to the ciphertext you received."},"evidencePackDeliveryMode":{"type":"string","enum":["push","push_then_pull_fallback"]},"evidencePackFormat":{"type":"string","const":"jwe_compact"},"frozenDecisionArtifact":{"type":"object","description":"The exact engine version, thresholds hash, weights hash and list snapshots behind the decision. Absent for a check that ran no screening.","properties":{"engineVersion":{"type":"string"},"gatesHash":{"type":"string"},"ensembleWeightsHash":{"type":"string"},"listSnapshotIds":{"type":"array","items":{"type":"string"}}}}}}}}}}},"responses":{"200":{"description":"Pack received. Any 2xx status is treated as delivered, and Nexiel deletes its copy."}}}},"sign.request.qtsp_authorization_required":{"post":{"tags":["Webhooks"],"summary":"Signature request needs the QTSP's authorization","description":"Sent when the representative approved in their wallet and the QTSP asks them to confirm in its own authorization step.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"sign.request.qtsp_authorization_required"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["signingRequestId","verifySessionId","clientId","status","mode","signatureQualifier","documentHashSha256","dtbsrHash","timestamp","qtspAuthorizationUrl"],"properties":{"signingRequestId":{"type":"string","format":"uuid"},"verifySessionId":{"type":["string","null"],"format":"uuid","description":"The wallet approval session; `null` once that session has been erased."},"clientId":{"type":"string"},"status":{"type":"string","const":"awaiting_qtsp_authorization"},"mode":{"type":"string","enum":["sandbox","production"]},"signatureQualifier":{"type":"string","enum":["eu_eidas_qes","eu_eidas_qeseal"]},"documentHashSha256":{"type":"string","description":"SHA-256 (hex) of the PDF as submitted."},"dtbsrHash":{"type":"string","description":"base64 digest of the data to be signed that the representative approved in their wallet."},"timestamp":{"type":"string","format":"date-time"},"qtspAuthorizationUrl":{"type":"string","description":"Open in the signer’s browser to complete the QTSP’s own authorization step."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"sign.request.completed":{"post":{"tags":["Webhooks"],"summary":"Signature request completed","description":"Sent once when the signature is made and the signed PDF is ready to read once.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"sign.request.completed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["signingRequestId","verifySessionId","clientId","status","mode","signatureQualifier","documentHashSha256","dtbsrHash","timestamp","operationId","signedDocumentHashSha256"],"properties":{"signingRequestId":{"type":"string","format":"uuid"},"verifySessionId":{"type":["string","null"],"format":"uuid","description":"The wallet approval session; `null` once that session has been erased."},"clientId":{"type":"string"},"status":{"type":"string","const":"completed"},"mode":{"type":"string","enum":["sandbox","production"]},"signatureQualifier":{"type":"string","enum":["eu_eidas_qes","eu_eidas_qeseal"]},"documentHashSha256":{"type":"string","description":"SHA-256 (hex) of the PDF as submitted."},"dtbsrHash":{"type":"string","description":"base64 digest of the data to be signed that the representative approved in their wallet."},"timestamp":{"type":"string","format":"date-time"},"operationId":{"type":"string","format":"uuid","description":"The permanent, hash-only operation record."},"signedDocumentHashSha256":{"type":"string","description":"SHA-256 (hex) of the signed PDF. Claim the PDF itself with `POST .../requests/{requestId}/document/claim` on the same product route."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"sign.request.failed":{"post":{"tags":["Webhooks"],"summary":"Signature request failed","description":"Sent once when the signature request ends without a signature.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"sign.request.failed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["signingRequestId","verifySessionId","clientId","status","mode","signatureQualifier","documentHashSha256","dtbsrHash","timestamp","failureReason"],"properties":{"signingRequestId":{"type":"string","format":"uuid"},"verifySessionId":{"type":["string","null"],"format":"uuid","description":"The wallet approval session; `null` once that session has been erased."},"clientId":{"type":"string"},"status":{"type":"string","const":"failed"},"mode":{"type":"string","enum":["sandbox","production"]},"signatureQualifier":{"type":"string","enum":["eu_eidas_qes","eu_eidas_qeseal"]},"documentHashSha256":{"type":"string","description":"SHA-256 (hex) of the PDF as submitted."},"dtbsrHash":{"type":"string","description":"base64 digest of the data to be signed that the representative approved in their wallet."},"timestamp":{"type":"string","format":"date-time"},"failureReason":{"type":"string","enum":["wallet_authorization_failed","wallet_authorization_expired","wallet_approval_mismatch","document_integrity_failed","expired","qtsp_unavailable","qtsp_rejected","qtsp_credential_not_found","qtsp_authorization_denied","qtsp_authorization_mismatch","qtsp_signature_invalid","qtsp_not_configured","signing_certificate_not_qualified","qualified_ca_trust_anchors_not_configured","signing_certificate_revoked","signing_certificate_suspended","signing_certificate_revocation_unavailable"],"description":"Stable, machine-readable failure reason."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"seal.request.qtsp_authorization_required":{"post":{"tags":["Webhooks"],"summary":"Seal request needs the QTSP's authorization","description":"Sent when the representative approved in their wallet and the QTSP asks them to confirm in its own authorization step.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"seal.request.qtsp_authorization_required"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["signingRequestId","verifySessionId","clientId","status","mode","signatureQualifier","documentHashSha256","dtbsrHash","timestamp","qtspAuthorizationUrl"],"properties":{"signingRequestId":{"type":"string","format":"uuid"},"verifySessionId":{"type":["string","null"],"format":"uuid","description":"The wallet approval session; `null` once that session has been erased."},"clientId":{"type":"string"},"status":{"type":"string","const":"awaiting_qtsp_authorization"},"mode":{"type":"string","enum":["sandbox","production"]},"signatureQualifier":{"type":"string","enum":["eu_eidas_qes","eu_eidas_qeseal"]},"documentHashSha256":{"type":"string","description":"SHA-256 (hex) of the PDF as submitted."},"dtbsrHash":{"type":"string","description":"base64 digest of the data to be signed that the representative approved in their wallet."},"timestamp":{"type":"string","format":"date-time"},"qtspAuthorizationUrl":{"type":"string","description":"Open in the signer’s browser to complete the QTSP’s own authorization step."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"seal.request.completed":{"post":{"tags":["Webhooks"],"summary":"Seal request completed","description":"Sent once when the seal is made and the signed PDF is ready to read once.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"seal.request.completed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["signingRequestId","verifySessionId","clientId","status","mode","signatureQualifier","documentHashSha256","dtbsrHash","timestamp","operationId","signedDocumentHashSha256"],"properties":{"signingRequestId":{"type":"string","format":"uuid"},"verifySessionId":{"type":["string","null"],"format":"uuid","description":"The wallet approval session; `null` once that session has been erased."},"clientId":{"type":"string"},"status":{"type":"string","const":"completed"},"mode":{"type":"string","enum":["sandbox","production"]},"signatureQualifier":{"type":"string","enum":["eu_eidas_qes","eu_eidas_qeseal"]},"documentHashSha256":{"type":"string","description":"SHA-256 (hex) of the PDF as submitted."},"dtbsrHash":{"type":"string","description":"base64 digest of the data to be signed that the representative approved in their wallet."},"timestamp":{"type":"string","format":"date-time"},"operationId":{"type":"string","format":"uuid","description":"The permanent, hash-only operation record."},"signedDocumentHashSha256":{"type":"string","description":"SHA-256 (hex) of the signed PDF. Claim the PDF itself with `POST .../requests/{requestId}/document/claim` on the same product route."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"seal.request.failed":{"post":{"tags":["Webhooks"],"summary":"Seal request failed","description":"Sent once when the seal request ends without a seal.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"seal.request.failed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["signingRequestId","verifySessionId","clientId","status","mode","signatureQualifier","documentHashSha256","dtbsrHash","timestamp","failureReason"],"properties":{"signingRequestId":{"type":"string","format":"uuid"},"verifySessionId":{"type":["string","null"],"format":"uuid","description":"The wallet approval session; `null` once that session has been erased."},"clientId":{"type":"string"},"status":{"type":"string","const":"failed"},"mode":{"type":"string","enum":["sandbox","production"]},"signatureQualifier":{"type":"string","enum":["eu_eidas_qes","eu_eidas_qeseal"]},"documentHashSha256":{"type":"string","description":"SHA-256 (hex) of the PDF as submitted."},"dtbsrHash":{"type":"string","description":"base64 digest of the data to be signed that the representative approved in their wallet."},"timestamp":{"type":"string","format":"date-time"},"failureReason":{"type":"string","enum":["wallet_authorization_failed","wallet_authorization_expired","wallet_approval_mismatch","document_integrity_failed","expired","qtsp_unavailable","qtsp_rejected","qtsp_credential_not_found","qtsp_authorization_denied","qtsp_authorization_mismatch","qtsp_signature_invalid","qtsp_not_configured","signing_certificate_not_qualified","qualified_ca_trust_anchors_not_configured","signing_certificate_revoked","signing_certificate_suspended","signing_certificate_revocation_unavailable"],"description":"Stable, machine-readable failure reason."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"rp_certificate.expiring_soon":{"post":{"tags":["Webhooks"],"summary":"rp_certificate.expiring_soon","description":"A relying-party access or registration certificate is close to expiry. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"rp_certificate.expiring_soon"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"rp_certificate.revoked":{"post":{"tags":["Webhooks"],"summary":"rp_certificate.revoked","description":"The issuer of a relying-party access or registration certificate revoked it; production signing with it has stopped. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"rp_certificate.revoked"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"rp_certificate.suspended":{"post":{"tags":["Webhooks"],"summary":"rp_certificate.suspended","description":"The issuer put a relying-party certificate on hold; production signing with it is paused until the hold is lifted. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"rp_certificate.suspended"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"rp_certificate.reinstated":{"post":{"tags":["Webhooks"],"summary":"rp_certificate.reinstated","description":"The hold on a relying-party certificate was lifted; production signing with it has resumed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"rp_certificate.reinstated"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"verify.data_deletion_request.received":{"post":{"tags":["Webhooks"],"summary":"Data deletion request received","description":"Sent once when a wallet user confirmed a request to delete their data through your hosted form. Read it with `GET /v1/verify/data-deletion-requests/{requestId}`, which returns the requester identity once, encrypted to your evidence-pack key.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"verify.data_deletion_request.received"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["requestId","referenceCode","authenticatedAt","identityAvailable"],"properties":{"requestId":{"type":"string","format":"uuid"},"referenceCode":{"type":"string","description":"The reference the requester was shown."},"authenticatedAt":{"type":"string","format":"date-time"},"identityAvailable":{"type":"boolean","description":"Whether an encrypted identity evidence pack is waiting to be read."}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"custom_domain.activated":{"post":{"tags":["Webhooks"],"summary":"Custom domain activated","description":"Sent when a custom hosted-page domain passed its DNS checks.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"custom_domain.activated"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["domainId","hostname"],"properties":{"domainId":{"type":"string","format":"uuid"},"hostname":{"type":"string"}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"custom_domain.suspended":{"post":{"tags":["Webhooks"],"summary":"Custom domain suspended","description":"Sent when a custom hosted-page domain no longer passes its DNS checks and stops being served.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"custom_domain.suspended"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["domainId","hostname","reason"],"properties":{"domainId":{"type":"string","format":"uuid"},"hostname":{"type":"string"},"reason":{"type":"string","enum":["txt_missing","cname_missing","cname_mismatch","dns_error"]}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"kyb.application.status_changed":{"post":{"tags":["Webhooks"],"summary":"kyb.application.status_changed","description":"The status of your business verification (KYB) application changed. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"kyb.application.status_changed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.link.created":{"post":{"tags":["Webhooks"],"summary":"Intermediary relationship started","description":"Sent to both organizations when a client accepts an invitation.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.link.created"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["linkId","parentOrganizationId","childOrganizationId","delegatedPermissions","billingRollup","status"],"properties":{"linkId":{"type":"string","format":"uuid"},"parentOrganizationId":{"type":"string","format":"uuid"},"childOrganizationId":{"type":"string","format":"uuid"},"delegatedPermissions":{"type":"array","items":{"type":"string","enum":["metrics:read","billing:read","branding:manage","custom_domains:manage","data_deletion_requests:read","trust_policies:read","trust_policies:manage"]}},"billingRollup":{"type":"boolean"},"status":{"type":"string","enum":["active","revoked"]}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.link.updated":{"post":{"tags":["Webhooks"],"summary":"Intermediary relationship narrowed","description":"Sent to both organizations when delegated permissions are removed or billing roll-up is turned off.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.link.updated"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["linkId","parentOrganizationId","childOrganizationId","delegatedPermissions","billingRollup","status"],"properties":{"linkId":{"type":"string","format":"uuid"},"parentOrganizationId":{"type":"string","format":"uuid"},"childOrganizationId":{"type":"string","format":"uuid"},"delegatedPermissions":{"type":"array","items":{"type":"string","enum":["metrics:read","billing:read","branding:manage","custom_domains:manage","data_deletion_requests:read","trust_policies:read","trust_policies:manage"]}},"billingRollup":{"type":"boolean"},"status":{"type":"string","enum":["active","revoked"]}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.link.revoked":{"post":{"tags":["Webhooks"],"summary":"Intermediary relationship ended","description":"Sent to both organizations when either side ends the relationship.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.link.revoked"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["linkId","parentOrganizationId","childOrganizationId","delegatedPermissions","billingRollup","status"],"properties":{"linkId":{"type":"string","format":"uuid"},"parentOrganizationId":{"type":"string","format":"uuid"},"childOrganizationId":{"type":"string","format":"uuid"},"delegatedPermissions":{"type":"array","items":{"type":"string","enum":["metrics:read","billing:read","branding:manage","custom_domains:manage","data_deletion_requests:read","trust_policies:read","trust_policies:manage"]}},"billingRollup":{"type":"boolean"},"status":{"type":"string","enum":["active","revoked"]}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"intermediary.trust_policy.changed":{"post":{"tags":["Webhooks"],"summary":"Trust policy changed by your intermediary","description":"Sent to the client organization when its intermediary saved or activated a version of one of its trust policies, through `trust_policies:manage`.\n\nEvery delivery is a JSON object `{ id, type, apiVersion, livemode, createdAt, data }`. `id` is the stable, immutable event id (identical on every retry, use it to deduplicate). Deliveries are signed: the `X-Nexiel-Signature` header carries a timestamp and an HMAC-SHA256 of the raw body keyed with the endpoint secret (signed string `<timestamp>.<raw body>`). Respond with any 2xx status to acknowledge; other responses are retried with exponential backoff and jitter for about three days (22 attempts). Delivery is at least once, so deduplicate on `id`. Apart from `verify.evidence_pack.ready`, which carries the pack encrypted to your own key, events never contain personal data or the evidence pack. Fetch the pack from `GET /v1/verify/sessions/{sessionId}`.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"intermediary.trust_policy.changed"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","required":["parentOrganizationId","childOrganizationId","trustPolicyId","trustPolicyVersionId","trustPolicySha256","environment","checkType","change"],"properties":{"parentOrganizationId":{"type":"string","format":"uuid"},"childOrganizationId":{"type":"string","format":"uuid"},"trustPolicyId":{"type":"string","format":"uuid"},"trustPolicyVersionId":{"type":"string","format":"uuid"},"trustPolicySha256":{"type":"string"},"environment":{"type":"string","enum":["sandbox","production"]},"checkType":{"type":"string"},"change":{"type":"string","enum":["version_created","activated"]}}}}}}}},"responses":{"200":{"description":"Event acknowledged. Any 2xx status is treated as delivered."}}}},"api_key.expiring_soon":{"post":{"tags":["Webhooks"],"summary":"api_key.expiring_soon","description":"An API key is close to the end of its lifetime and should be rotated. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"api_key.expiring_soon"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}},"webhook.test":{"post":{"tags":["Webhooks"],"summary":"webhook.test","description":"A test event you send yourself from the dashboard or API. Every delivery is a signed JSON object `{ id, type, apiVersion, livemode, createdAt, data }`; `id` is stable across retries, so deduplicate on it. Answer with any 2xx. Other answers are retried with exponential backoff and jitter for about three days.","parameters":[{"name":"X-Nexiel-Signature","in":"header","required":true,"description":"Timestamp and HMAC-SHA256 signature of the raw request body.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type","apiVersion","livemode","createdAt","data"],"properties":{"id":{"type":"string","format":"uuid","description":"Stable, immutable event id. Deduplicate on it."},"type":{"type":"string","const":"webhook.test"},"apiVersion":{"type":"string","description":"The API version the event is rendered in.","examples":["2026-11-19"]},"livemode":{"type":"boolean","description":"True for a live-mode event, false for test mode."},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":true,"description":"Identifiers and hashes only; never personal data."}}}}}},"responses":{"200":{"description":"Acknowledged. Any 2xx status is treated as delivered."}}}}},"tags":[{"name":"Webhooks","description":"Signed result events sent to the endpoints a client has registered. Polling `GET /v1/verify/sessions/{sessionId}` remains available as the source of truth."},{"name":"Evidence packs","description":"Choose how encrypted evidence packs reach you: pull (the default), push to one of your webhook endpoints, or push with a pull fallback. With push delivery, Nexiel deletes the encrypted pack as soon as your endpoint acknowledges it."},{"name":"Health","description":"Service liveness and mode reporting."},{"name":"Verification","description":"EUDI wallet (OpenID4VP/DCQL) identity verification, with AML/PEP screening for `aml-identity` checks."},{"name":"GDPR","description":"Data-subject-rights support, scoped to the calling API key's own identity: Article 15 access (export) and Article 17 erasure."},{"name":"Login","description":"Nexiel Login (Sign in with EUDI Wallet): the OpenID Connect routes of its two issuers, /v1/login for live connections and /v1/login/test for test connections, each covering the discovery document, the authorization and token endpoints, logout, session revocation, and JWKS. Every login runs on the same EUDI wallet verification engine as the rest of this API (see the API description above)."},{"name":"Strong customer authentication","description":"Which banks' SCA attestations you accept (Commission TS12), and TEST SCA attestations for sandbox. The `sca-*` check types themselves start with `POST /v1/verify/sessions`."},{"name":"OpenID Federation","description":"Public OpenID Federation 1.0 endpoints: the Entity Configuration, request object and response endpoints of your federation Leaf, and the sandbox-only Nexiel TEST federation."},{"name":"Nexiel Sign","description":"Qualified electronic signatures of a natural person (eIDAS Art. 3(12)), authorised in the signer’s EUDI wallet. Built to ETSI TS 119 432 and the CSC API v2.2; production requires a qualified trust service provider account."},{"name":"Nexiel Seal","description":"Qualified electronic seals of your organization (eIDAS Art. 3(25)), authorised in a declared representative’s EUDI wallet. Built to ETSI TS 119 432 and the CSC API v2.2; production requires a qualified trust service provider account."},{"name":"Relying-party identity","description":"Your wallet-relying-party identity: services, instance keys and certificate signing requests, access certificates, registration certificates, and sandbox TEST certificates. Requires an API key in every mode."},{"name":"Accepted issuers","description":"The non-qualified attestation issuers you trust, by reference to an issuer issuing through Nexiel or by your own upload of its CA chain. Used by mobile driving licence and corporate mandate checks whose trust policy accepts them. Requires an API key in every mode."},{"name":"Trust policies","description":"Your own trust rules per environment, relying-party Service and check type: trust sources, Member States, attestations, formats, attributes and revocation handling, versioned and recorded on every decision. Requires an API key in every mode."},{"name":"Metrics","description":"Usage and outcome metrics for billing and reporting: per endpoint, per check type, relying-party service and intended use, with a CSV export. Aggregates only. Requires an API key in every mode."},{"name":"Intermediary","description":"For providers that serve other organizations through Nexiel: invite a client organization, which accepts in its own dashboard and keeps its own business verification, relying-party identity, keys and trust policies. You reach a client only through the permissions it delegated. Every change you make for a client, and every read of its trust policies, is recorded in its audit log, and its usage can be billed to you."},{"name":"White label","description":"Your name, logo and colours on every hosted page, and your own subdomain for them. A custom domain is served once its DNS records are verified."},{"name":"Data deletion requests","description":"Requests from wallet users to delete their data, sent through your hosted data deletion form after the user confirms who they are with their wallet."},{"name":"Usage","description":"Per-client request volume and verification decision counts."}]}