# Verified identity claims (OIDC4IDA)

Beyond the standard OpenID Connect claims, Revolut ID supports a subset of [OIDC for Identity Assurance](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html) (OIDC4IDA). Verified claims are only returned when the underlying identity has actually been verified — for example, with a passport — and the user has explicitly consented to share the result with your application.

This lets you receive a claim such as `given_name` with assurance metadata showing it was verified against a government-issued ID document, along with details of that document.

:::note
Verified identity claims require an [OAuth client](/docs/sdks/revolut-id-sdk/web/configure-client) provisioned by Revolut for verified identity sharing. If your client is not provisioned, requests including the `claims` parameter are rejected. Contact your Revolut integration manager to enable it.
:::

## How it works

1. Your client sends a `claims` request parameter alongside the standard authorisation request, naming the verified claims it wants.
2. The user signs in, and the consent screen shows a distinct **Verified by Revolut** section listing which verified details are requested, along with the details of the ID document they were verified against.
3. After the user consents and the authorisation code is exchanged, the **userinfo endpoint** returns the verified claims. The ID token does not include them.
4. Your backend calls userinfo with the access token and reads `verified_claims` from the JSON response.

Verified claims need no extra scope. The `claims` parameter, not the scope list, selects them, and the scopes you request still return their standard claims as usual.

## Requesting verified claims

Add the `claims` parameter to the [authorisation request](/docs/sdks/revolut-id-sdk/web/manual-integration#authorisation-request). Its value is a URL-encoded JSON object. This example requests the verified given name and date of birth, along with the assurance metadata and the underlying ID document:

```json
{
  "userinfo": {
    "verified_claims": {
      "verification": {
        "trust_framework": null,
        "time": null,
        "assurance_level": null,
        "evidence": [
          {
            "type": { "value": "document" },
            "document_details": {
              "type": null,
              "issuer": { "name": null, "country": null },
              "document_number": null,
              "date_of_issuance": null,
              "date_of_expiry": null
            }
          }
        ]
      },
      "claims": {
        "given_name": null,
        "family_name": null,
        "birthdate": null,
        "age_over_18": null
      }
    }
  }
}
```

```javascript
authorizeUrl.searchParams.set('claims', JSON.stringify(claimsRequest))
```

The shape follows the OIDC4IDA claims parameter, restricted to the Revolut profile:

### `verification`

Controls which assurance metadata you receive. All sub-fields use the OIDC4IDA `null` convention: **`null` means "give me this element". Omit it if you don't want it.**

| Field | Type | Description |
| --- | --- | --- |
| `trust_framework` | `null` or `{ "value": "revolut.com/kyc/v1" }` | Required. Pass `null` for the default Revolut trust framework. Other values are rejected. |
| `time` | `null` | Timestamp of the identity verification (ISO 8601, UTC). |
| `assurance_level` | `null` | The level of assurance applied (currently always `high`). Constrained requests such as `{"value": "high"}` are not supported. |
| `evidence` | array, max 1 item | Details of the ID document. Only `type: document` is supported. |

Within `evidence[0]`:

| Field | Description |
| --- | --- |
| `type` | Must be `{ "value": "document" }`. |
| `document_details.type` | Document type, as one of the predefined values listed below. |
| `document_details.issuer.name` | Name of the issuing authority. |
| `document_details.issuer.country` | ISO 3166-1 alpha-2 country code of issue. |
| `document_details.document_number` | Document number. |
| `document_details.serial_number` | Serial number of the document. |
| `document_details.personal_number` | Identifier assigned to the holder rather than to the document, such as a national identification number. |
| `document_details.date_of_issuance` | Date the document was issued (ISO 8601, `YYYY-MM-DD`). |
| `document_details.date_of_expiry` | Date the document expires (ISO 8601, `YYYY-MM-DD`). |

`document_details.type` is one of these predefined values: `passport`, `id_card`, `passport_card`, `driving_permit`, `military_id`, `veterans_card`, `proof_of_age_id`, `home_office_travel_document`, `bus_pass`, `education_certificate`, `rental_agreement`, `purchase_agreement`, `pass_card`, `freedom_pass`, `voter_id`, `bank_statement`, `utility_statement`, `mortgage_statement`, `loan_statement`, `tax_statement`, `social_security_statement`, `pilot_permit`, `birth_certificate`, `adoption_certificate`, `marriage_certificate`, `civil_partnership_certificate`, `firearm_certificate`.

### `claims`

Names the verified identity claims you want. Each requested claim must be present with the value `null`. Claim values and constraints are not supported.

Only these claims are available:

| Claim | Type in response | Description |
| --- | --- | --- |
| `name` | string | User's full name. |
| `given_name` | string | User's given name. |
| `family_name` | string | User's family name. |
| `birthdate` | string (ISO 8601 date, `YYYY-MM-DD`) | User's date of birth. |
| `age` | number | User's age in years. |
| `age_over_18` | boolean | `true` if the user is 18 or older, otherwise `false`. |
| `gender` | string | User's gender. |
| `nationalities` | array of strings | User's nationalities as ISO 3166-1 alpha-2 country codes, for example `["GB"]`. |
| `address` | object | User's current residential address. See its members below. |
| `email` | string | User's email address. |
| `phone_number` | string | User's phone number. |

The `address` claim is an object with these members:

| Member | Description |
| --- | --- |
| `formatted` | Full address, formatted for display. |
| `street_address` | Street address. |
| `locality` | City or locality. |
| `region` | State, province, or region. |
| `postal_code` | Postal code. |
| `country` | Country. |

Revolut enables verified claims for each client during provisioning. A request can include only the claims and `verification` fields enabled for your client, and it must include any that your client is configured to require. Otherwise, the request is rejected with `invalid_request`.

:::warning
`verified_claims` can only be requested under `userinfo`. A request placing `verified_claims` under `id_token` is rejected, and no verified claims ever appear in the ID token itself.
:::

## Consent screen

The user sees the request in a dedicated section: each requested verified claim with its current value, the trust framework line ("Verified using revolut.com/kyc/v1"), and — when evidence was requested — the ID document row. For example:

> Passport · Issued in HU · No. YB1444859 · Exp 2030-01-01

If the user declines, the flow returns `error=access_denied` to your redirect URI. If the user consents but the underlying document is no longer valid (expired, or verified more than 365 days ago), the flow also returns `access_denied` — the verified data is never silently downgraded.

## Retrieving verified claims

Call the userinfo endpoint with the access token obtained from the code exchange:

```bash
curl https://sandbox-sso.revolut.com/api/userinfo \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json" \
  -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
```

The `verified_claims` member is present in the response when verified claims were requested and consented to:

```json
{
  "sub": "30456876-...",
  "verified_claims": {
    "verification": {
      "trust_framework": "revolut.com/kyc/v1",
      "assurance_level": "high",
      "time": "2026-10-28T08:40:09.089Z",
      "evidence": [
        {
          "type": "document",
          "document_details": {
            "type": "passport",
            "issuer": { "name": "Budapest Government Office", "country": "HU" },
            "document_number": "YB1444859",
            "date_of_issuance": "2025-06-15",
            "date_of_expiry": "2030-01-01"
          }
        }
      ]
    },
    "claims": {
      "given_name": "Ada",
      "family_name": "Lovelace",
      "birthdate": "1980-12-10",
      "age_over_18": true
    }
  }
}
```

Only the elements you requested appear: `assurance_level`, `time`, and `evidence` are present only when requested, and `claims` contains only the requested claim names. Outside `verified_claims`, the userinfo response carries the standard scope-gated claims as usual — see [Code exchange](/docs/sdks/revolut-id-sdk/web/code-exchange#calling-the-userinfo-endpoint).

:::note
The access token expires after `expires_in` seconds (60), and the token response includes no refresh token. Call userinfo right after the code exchange. Once the access token has expired, userinfo returns `401`, and the verified claims can only be retrieved through a new authorisation.
:::

## Error responses

Rejected `claims` requests return `error=invalid_request` to your redirect URI with a `description` naming the problem:

| Cause | Behaviour |
| --- | --- |
| Client not provisioned for verified identity | `invalid_request` |
| Unsupported claim name, values, or constraints | `invalid_request` |
| Claim or `verification` field not enabled for your client | `invalid_request` |
| Required claim or `verification` field missing from the request | `invalid_request` |
| Malformed `claims` JSON | `invalid_request` |
| `response_type` not `code` | `invalid_request` |
| `verified_claims` under `id_token` | `invalid_request` |
| `trust_framework` other than `revolut.com/kyc/v1` | `invalid_request` |
| User declines consent | `access_denied` |
| Verified document expired or stale (verified > 365 days ago) | `access_denied` |

Calling userinfo with an expired access token returns `401`. The `verified_claims` member never appears in an error response.

## See also

- [:Workflow: Manual integration](/docs/sdks/revolut-id-sdk/web/manual-integration "Build the full authorisation request without the SDK")
- [:ArrowExchange: Code exchange](/docs/sdks/revolut-id-sdk/web/code-exchange "Obtain the access token used for userinfo")