Sandbox wallet

A browser-based test wallet at sandbox.nexiel.io. It collects synthetic test credentials and answers Nexiel Verify sessions started with a test key, so you can complete a verification end to end before any real wallet or certificate is involved.

The sandbox wallet trusts the Nexiel TEST CA only. It never answers a live session, and live sessions never accept its credentials. Every screen carries a permanent demo label, and it never uses the official EU Digital Identity Wallet name or logo.

What it does

  • Get a credential (/redeem): collects a test credential from a sandbox issuer over OpenID4VCI 1.0, as profiled by HAIP 1.0, with a wallet attestation, a key attestation and DPoP-bound tokens.
  • Answer a request (/present): answers a Verify session over the redirect flow (HAIP 1.0 section 5.1). Open the session's sandboxWalletUrl, paste its authorizationRequestUri, or open the page with the session's client_id and request_uri as query parameters.
  • Digital Credentials API (/dc-api): answers a Verify session created with "flow": "dc_api" from a pop-up, in place of the browser's own wallet prompt. Open it from your test page and exchange the request and answer by postMessage. The drop-in Verify widget, coming to npm, does this for you through its testWalletUrl option.
  • Your wallet (/): every credential held in this browser, with a detail view of each.

Test identity credentials

Under Test identity credentials on the Get a credential page, the wallet collects these from the sandbox PID provider. Each holds synthetic data, is signed under the Nexiel TEST CA, and is valid for 24 hours.

  • Test PID (SD-JWT VC, adult): the EU person identification data of a synthetic adult.
  • Test PID (mdoc, adult): the same identity as an ISO/IEC 18013-5 mdoc.
  • Test PID (SD-JWT VC, minor): a synthetic 16-year-old, to test an age check that should not pass.
  • Test age verification attestation: the EU proof of age (mdoc), carrying age_over_18 only.
  • Test mobile driving licence: an ISO/IEC 18013-5 mDL with synthetic driving privileges.

Under Test PID with a persona on the same page, you choose whose PID it is (an adult, a minor, a sanctioned person, a politically exposed person or a possible match) and its state (valid, revoked, expired, or from an issuer no verifier trusts). Testing lists the data each credential and persona holds and the result each check type returns for it.

Answering a test-mode session

  1. Create a session with a test key, as in the quickstart. The response carries a sandboxWalletUrl, and the hosted verification page (hostedUrl) shows an Open in the sandbox wallet button.
  2. Open the sandboxWalletUrl. The wallet already holds a valid test PID for the synthetic adult: it issues one on first use, and again once it has expired. For another credential or persona, add it on the Get a credential page first.
  3. The wallet fetches the signed request object, checks its signature and access certificate against the Nexiel TEST CA root (published at GET /v1/verify/sandbox/test-ca.pem), and shows who is asking and for which claims. Choose Share: it sends only those claims, encrypted to the session's one-time key. Choose Decline to send an encrypted refusal instead: the session fails at once with reason wallet_declined.
  4. Read the result with GET /v1/verify/sessions/{sessionId}, or wait for the verify.session.completed or verify.session.failed webhook.

To complete a session from a test suite with no browser at all, use the test helper.

Credentials, and the keys that hold them, are kept in this browser's local storage, so they survive a reload or a closed tab. Another browser, or a private window, starts with an empty wallet. Nexiel keeps no record of what a sandbox wallet holds.

Demo credentials for Nexiel Credentials

The same page offers demo credentials from sandbox issuers: a degree from the fictional Nexiel Sandbox University, and a membership card as an SD-JWT VC or an ISO mdoc, collected straight from the offer, with a one-time transaction code, or after signing in at the issuer. Their branding comes from the issuer's credential_metadata.display (OpenID4VCI 1.0 section 12.2.4). The wallet can then present the degree to a verification request from Nexiel Credentials, disclosing only the requested claims with a key-binding JWT signed by its own holder key. See how credential issuance works.

The synthetic identity

The wallet home shows the test PID it holds. Claim names match the PID Rulebook (family_name, given_name, birthdate, nationalities), and the sandbox PID provider identifies itself as a test provider in the fictional registry country ZZ, the same pattern the EU reference wallet uses for its test issuer.