Same device on phones
Most customers verify on the phone they are browsing with. On a phone the QR code is a button: a tap opens the wallet, the holder approves, and the site’s tab, still open, turns green. DriveNow is the worked example: a car-subscription site that confirms a driving licence before payment.

The four ways a phone reaches the wallet
Section titled “The four ways a phone reaches the wallet”flowchart LR
T([Tap on the QR]) --> D{Digital Credentials API?}
D -- yes --> S[System ID sheet]
D -- no --> L{Verified link for this wallet?}
L -- Android --> AL[App Link https://verify-api/w/id]
L -- iOS --> UL[Universal Link https://verify-api/open]
L -- neither --> DL[openid4vp:// deep link]
S & AL & UL & DL --> W([Wallet opens with the request])
| Path | What the customer sees | What your site needs |
|---|---|---|
| Android App Link | the wallet opens, no chooser | nothing; the Verify API serves the link |
| iOS Universal Link | the wallet opens, no prompt | nothing; the Verify API serves the link |
Deep link openid4vp:// |
the wallet opens, sometimes after an app chooser | nothing; the fallback |
| Digital Credentials API | the phone’s own “share your ID” sheet | dc-api on the box; the wallet must be registered with the OS |
The box tries them in that order and falls back on its own. On a laptop the QR is scan-only.
Wallet links are part of the service
Section titled “Wallet links are part of the service”The App Link and the Universal Link live on the Verify API’s own domain, with the files the operating systems check behind them, and every session names that host. Which wallet they open is registered with us, one per link domain; the demo wallet already is. Your site serves no files and no routes: Wallet links.
-
Give the box the wallet’s name, logo and private iOS scheme. The scheme is the fallback when a Universal Link does not apply.
licence-step.tsx // DriveNow's licence step: the same box, with the wallet's name, logo and private iOS scheme. The// verified links (Android App Link, iOS Universal Link) come from the Verify API; nothing to set here.'use client'import { useEffect, useRef, useState } from 'react'import type { WalletVerifyElement, VerifyResult } from '@wallet/verify'export function LicenceStep({ onVerified }: { onVerified: (claims: Record<string, unknown>) => void }) {const ref = useRef<WalletVerifyElement>(null)const [waiting, setWaiting] = useState(true)useEffect(() => { void import('@wallet/verify') }, [])useEffect(() => {const el = ref.currentif (!el) returnconst handler = (e: Event) => {const r = (e as CustomEvent<VerifyResult>).detailif (r.state !== 'verified') returnsetWaiting(false)onVerified(r.claims) // then confirm on the server, as in tutorial 1}el.addEventListener('verified', handler)return () => el.removeEventListener('verified', handler)}, [onVerified])return (<section aria-busy={waiting}><wallet-verifyref={ref}endpoint="https://hakim-verify-api.vercel.app/v1/pk_live_yourkey"wallet-name="RTA Wallet"wallet-logo="/rta-logo.png"ios-scheme="abdulhakimsgwallet"/></section>)} -
Turn on the Digital Credentials API (optional) with
dc-apion the element. Where the browser supports it, the whole exchange happens in the system sheet. Where it does not, nothing changes.
Next: Go live.