Identity verification is the Authbound product surface for asking a wallet to prove claims before your app lets a user continue. Use it for age gates, account onboarding, residency checks, driving license checks, and other decisions where the final result must be trusted by your backend.

What you build

1

A policy-backed request

A policy defines what the wallet must prove, such as age_over_18, identity attributes, EU residency, or a license claim.
2

A wallet handoff

Your app sends the user to their wallet through a QR code or mobile deep link. The browser only receives short-lived, browser-safe fields.
3

A trusted server result

Authbound validates the wallet presentation and returns status, webhook events, and signed results your backend can store.

Policies

A policy says what the wallet has to prove and which credentials count. Start with a built-in preset, or create your own. See Policies.

Provider preferences and EUDI options

The browser may send an optional provider preference when creating a verification. Advanced EUDI settings such as responseMode and expectedOrigins belong in server-owned creation paths: providerOptions on createAuthboundHandlers (SDK 0.5.0+), createVerificationRoute, createAuthboundRouter, createAuthboundApp, the Nuxt module config, createVerification from @authbound/nextjs/server, or authbound.verifications.create from @authbound/server. SDK handlers do not trust client-supplied values.

Hosted verification page

When your deployment serves Authbound’s hosted verification page, verifications.create() returns verificationUrl (REST: verification_url). Redirect the user’s browser there instead of building the wallet handoff yourself. The link is absent on the test API, which has no hosted page, when the response mode is dc_api.jwt, and when the verification has already finished, so check for it before you redirect. verificationUrl is a bearer link. Use it only to redirect the browser, never in a QR code, email, log line or analytics event. To bring the user back to your app, pass returnUrl (REST: return_url) on create, with SDK 0.5.0 or later. The origin must be in the project’s Allowed origins (see Get API keys). Test keys also accept localhost; live keys require a public https host. When the verification finishes, the hosted page redirects there with ?verification_id=. Your server must accept only the ID it started for that user’s session, and only then call getResult() with your secret key. Without that check, someone could complete their own verification and send its ID to your return URL.
export async function POST(request: Request) {
  const verification = await authbound.verifications.create({
    policyId: process.env.AUTHBOUND_POLICY_ID!,
    returnUrl: "https://app.example.com/verified",
  });

  if (!verification.verificationUrl) {
    throw new Error("No hosted verification page for this verification");
  }

  // Store verification.id in your own session store, keyed to this user.
  await saveVerificationId(request, verification.id);
  return Response.redirect(verification.verificationUrl, 303);
}
On the return route, compare verification_id with the ID you stored and reject a mismatch before you read the result. Webhooks and results covers the result itself.

Trust model

The browser result is for the user’s experience. Your server confirms the result before granting access. How it works explains why.
Store only the data you need. Verification results can include personal data depending on the policy. Keep PII on the server and out of browser cookies.

API statuses

StatusMeaning
createdThe verification was created and a wallet handoff is being prepared.
awaiting_userWaiting for the user to open their wallet or approve the request.
awaiting_providerThe wallet or provider handoff is in progress.
processingWallet data was received and is being validated.
verifiedThe policy was satisfied.
failedThe policy was not satisfied or the presentation was invalid.
canceledThe verification was canceled.
expiredThe user did not finish before the deadline.
UI SDKs collapse early API states (created, awaiting_user, awaiting_provider) into pending. The processing API state maps to UI processing, not pending.

Browser SDK UI statuses

UI packages also expose client-side states that are not gateway API values:
UI statusMeaning
idleNo verification has started yet.
pendingWaiting for wallet handoff or user action.
processingWallet data was received and is being validated.
verifiedThe policy was satisfied.
failedThe policy was not satisfied or the presentation was invalid.
canceledThe verification was canceled.
expiredThe user did not finish before the deadline.
timeoutThe browser-side handoff window elapsed before a terminal API status arrived.
errorA client-side error occurred during create, status, or session finalization.

Time limits

A verification and its client token last 15 minutes by default. See Browser sessions for how that interacts with the SDK’s session cookie.

Failure codes

When a verification reaches failed, the response includes a failure_code. Non-failed responses never include one.
CodeMeaning
presentation_invalidThe wallet presentation could not be validated.
credential_expiredThe presented credential has expired.
credential_revokedThe presented credential has been revoked.
issuer_untrustedThe credential issuer is not trusted for this policy.
policy_not_satisfiedThe presentation did not satisfy the policy rules.
processing_timeoutValidation timed out before a result was available.
provider_errorThe verification provider returned an error.
user_declinedThe wallet denied the request: the user declined, the wallet had no matching credential, or the user couldn’t unlock the wallet.
wallet_errorThe wallet answered with an error instead of a presentation, for example because it couldn’t process the request.

Failure reasons

A failure_code tells you what kind of failure it was. failure_reason tells you which check failed, so you can fix a test setup without asking us. Send contract revision v1.2026-11-28.1 to get it. Earlier revisions never return it. You get it on secret-key reads only: create, retrieve, list and cancel. It is never on the browser status routes or in webhooks, so the end user never sees which check failed.
CodeReasons
presentation_invalidissuer_not_trusted, issuer_not_matched, credential_invalid (issuer signature or validity period), key_binding_invalid, holder_key_unsupported, disclosures_invalid, credential_type_not_accepted, credential_revoked, status_list_invalid, status_missing, response_malformed, claims_too_large, other
policy_not_satisfiedclaims_not_disclosed: no requested claim set was disclosed with acceptable values
provider_errorstatus_list_blocked (the deployment’s network rule refused the status list fetch), verifier_error
wallet_errorThe wallet’s error code when it is a registered one, such as invalid_client or vp_formats_not_supported. Any other code is unregistered_error.
An expired verification can carry one too. request_not_fetched means the wallet was not seen fetching the request, so it probably never opened the link. wallet_no_response means it fetched the request and no response the verifier could process came back. The field is absent when no reason is known, for example on user_declined. Verifications under an age verification (avp) policy never carry one. It holds only these names, never a claim value, an issuer, a URL or a message.

Wallet handoff fields

client_action and verification_url are present only while a verification can still be handed to a wallet. Terminal statuses (verified, failed, canceled, expired) do not include wallet handoff data. Direct REST action kinds shows what client_action holds and which URI scheme the built-in presets use.

Next steps

Verify a user

Create a verification, return browser-safe fields, and render the wallet handoff.

Webhooks and results

Persist trusted outcomes in your backend before production launch.