Step 5 — Retrieving claims

Use the access token to fetch the user's verified details.

This is the final step. You exchange the access token for the user's verified details, called claims.

The request

Pick the tab you prefer. curl runs as-is in a terminal. HTTP shows exactly what's sent, so you can rebuild it with any HTTP library.

curl '{hub_base_url}/userinfo' \
  -H 'Authorization: Bearer ILcyQprq2MDuC9oxmiRDP0x1v7pvYh1UzhjuAB0nsyg.cfChPkBMaNxVWSQgSkauyRYgQrZTJ1skshsAWGr9Qds'
GET {hub_base_url}/userinfo HTTP/1.1
Authorization: Bearer ILcyQprq2MDuC9oxmiRDP0x1v7pvYh1UzhjuAB0nsyg.cfChPkBMaNxVWSQgSkauyRYgQrZTJ1skshsAWGr9Qds

That's the whole request: a GET, with the access token from Step 4 as a bearer token.

The response

What you get back depends on how the user was verified.

Bank verification (IVS)

{
  "sub": "78d41cff-678e-4a3e-9482-afa43ceae222",
  "source": "bank",
  "given_name": "John",
  "middle_name": "M",
  "family_name": "Doe",
  "birthdate": "1965-03-03",
  "address": {
    "street_address": "4101 Yonge Street",
    "locality": "Toronto",
    "region": "ON",
    "postal_code": "M2P 1N6",
    "country": "CA"
  },
  "email": "[email protected]",
  "phone_number": "14169378708",
  "com.securekey.verified.me.ui_locale": "en-CA",
  "com.securekey.verified.me.license_id": "cB-Gqc0zPrIWh2JAN2r9eZ9HM3-U1HAwR9o7HFmz-SE"
}

Document verification (DVS)

Every field is always present. Fields the document doesn't carry come back as "N/A". Compare the tabs.

{
  "sub": "4aa2e0dc889045edb251e584d1d3b7f8",
  "doc_type": "drivers_license",
  "source": "driving_licence",
  "scan_result": "CLEAR",
  "given_name": "JOHN",
  "family_name": "DOE",
  "birthdate": "1965-03-03",
  "address": {
    "street_address": "4101 Yonge Street",
    "locality": "Toronto",
    "region": "ON",
    "postal_code": "M2P 1N6",
    "country": "CAN"
  },
  "doc_number": "S12345678901234",
  "issue_date": "2021-03-15",
  "expiry_date": "2031-03-15",
  "issuing_country": "CA",
  "issuing_authority": "ON",
  "nationality": "N/A",
  "dcn": "RG1234567",
  "acn": "0012345678",
  "com.securekey.verified.me.ui_locale": "en-CA",
  "com.securekey.vids.job_id": "d306f935-cb23-4a39-8acc-232eed539e1e"
}
{
  "sub": "4aa2e0dc889045edb251e584d1d3b7f8",
  "doc_type": "passport",
  "source": "passport",
  "scan_result": "CLEAR",
  "given_name": "JOHN",
  "family_name": "DOE",
  "birthdate": "1965-03-03",
  "address": {
    "street_address": "N/A",
    "locality": "N/A",
    "region": "N/A",
    "postal_code": "N/A",
    "country": "N/A"
  },
  "doc_number": "GM123456",
  "issue_date": "2021-03-15",
  "expiry_date": "2031-03-15",
  "issuing_country": "CA",
  "issuing_authority": "CA",
  "nationality": "CAN",
  "dcn": "N/A",
  "acn": "N/A",
  "com.securekey.verified.me.ui_locale": "en-CA",
  "com.securekey.vids.job_id": "d306f935-cb23-4a39-8acc-232eed539e1e"
}

For all six document types, see Document types. For every possible field, see the Claims dictionary.

Verified credentials (VC)

A credential built from a driver's licence. The credential carries its own metadata alongside the identity claims.

{
  "given_name": "John",
  "family_name": "Doe",
  "birthdate": "1990-01-31",
  "issuance": {
    "issuer": "Interac Corp.",
    "issue_date": "2026-10-22T13:03:21Z",
    "issue_expiry": "2027-10-22T13:03:11Z"
  },
  "document": {
    "doc_type": "Driver's Licence",
    "doc_number": "AA123456",
    "doc_scan_date": "2026-10-22",
    "doc_expiry_date": "2031-03-15",
    "issuing_country": "CA",
    "issuing_authority": "ON",
    "front_photo_doc": {
      "description": "Document Front Image",
      "mimeType": "image/jpeg",
      "uri": "data:image/jpeg;base64,/9j/4Ry",
      "hash": "",
      "hash-alg": null
    },
    "back_photo_doc": {
      "description": "Document Back Image",
      "mimeType": "image/jpeg",
      "uri": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4SM",
      "hash": "",
      "hash-alg": null
    }
  },
  "predicates": {
    "age_over_18": true,
    "age_over_19": true,
    "age_over_21": true,
    "age_over_25": true,
    "age_over_55": false,
    "age_over_65": false
  },
  "residence": {
    "resident_street_address": "123 Main Street",
    "resident_city": "Toronto",
    "resident_state": "ON",
    "resident_postal_code": "A1B 2C3",
    "resident_country": "CAN"
  },
  "job_id": "8c03497c-0674-4e05-92bb-69198eb5bc13",
  "credential_id": "urn:uuid:920b4c64-3809-401d-b7a7-84a311f1034b",
  "issuance_policy_url": "https://marketing.interac.ca/interacverifiedcredential"
}

For a passport-based credential and what each object holds, see Verified credentials.

Reading the response

For bank and document verification, source tells you how the user was verified.

sourceMeaning
bankVerified by a financial institution (IVS)
Anything elseA scanned document (DVS) — the value is the document type

This matters most in Select mode, where the user chooses and you won't know in advance. Verified credential responses have no source. Your vc_scope tells you what to expect, and they always include credential_id and issuance.

Which claims you receive is fixed at onboarding, not chosen per request. If a claim you expected is missing, check with your Interac representative before debugging your code.

How a missing value looks depends on the verification method.

MethodWhen a value isn't available
Bank verificationDepends on the financial institution. Best-effort claims such as address, email and phone_number are most often an empty string (""), sometimes a placeholder such as "N/A", and occasionally left out.
Document verificationThe response shape is fixed, so every claim is always present. Fields the document doesn't carry are the string "N/A", for example every address sub-field for a passport, or nationality for a driver's licence.
Verified credentialsThe field is null, for example residence for a credential built from a passport.

Treat "", "N/A" and a missing claim the same way. "N/A" is a non-empty string, so a simple "is this set?" check will pass. See Document types.

🚧

doc_type and source are different fields. For documents, use doc_type — it's Hub's own value and it's stable. See Document verification.

📘

Using subject matching? The response is shaped differently — the bank or document result is nested under its own key, alongside the match result. See Subject matching.

Claim names with prefixes

Some claims are prefixed, like com.securekey.verified.me.ui_locale. These are Interac-specific rather than standard OpenID Connect claims. The prefix is part of the name — keep it when you read the field.

Timing

The access token expires — typically 30 minutes. Call userinfo promptly after Step 4.

You can call it more than once while the token is valid, but the sensible pattern is to call it once, store what you need, and discard the token.

Common mistakes

ProblemCause
401 UnauthorizedToken expired, already discarded, or the Bearer prefix is missing
A claim you expected is missingNot enabled for your client, or absent from the document
Your code breaks on passportsYou assumed address is always populated
Prefixed claim reads as undefinedThe full dotted name wasn't used

You're done

You now have verified details for the user. What happens next is up to your application.

Related: