Skip to main content
Versionv1

Identity Hub (1.0.0)

Download OpenAPI specification:Download

Identity Hub lets you verify the identity of your end-users through a single hosted flow, abstracting away the underlying identification methods (such as iDIN, ID Scan and Yivi). The set of available methods depends on the account's contract.

Create a transaction, redirect the end-user to the returned hosted URL, and retrieve the verified result once the flow is completed. Specify the personal data fields (e.g. name, birthdate, address) to collect via requestedFields; the collected values are returned once the transaction is successful.

Typical use-cases include KYC onboarding, age verification, and confirming a user's identity before granting access to sensitive services.

Transaction

Create and retrieve transactions

Create transaction

Create a new transaction. The response contains the transaction id and a hosted URL that the end-user can be redirected to in order to complete the transaction.

Authorizations:
JWT
Request Body schema: application/json
required
returnUrl
required
string <url> <= 255 characters

The URL the end-user will be redirected to after completing the transaction. The transactionId and state are appended as query parameters, e.g. https://example.com/transaction/return?transactionId=b3e1c8f2-3a9d-4f4f-8b1a-1c2d3e4f5a6b&state=success.

callbackUrl
string <url> <= 255 characters

Updates regarding the transaction will be sent to the callback URL. It must begin with https://. See the Transaction state callback for the payload that is sent.

locale
string (Locale)
Default: "en-US"
Enum: "nl-NL" "en-US" "fr-FR" "de-DE" "hu-HU" "it-IT" "ja-JP" "pl-PL" "pt-PT" "ro-RO" "sk-SK" "es-ES"

Supported locales for the hosted transaction page:

  • nl-NL - Dutch
  • en-US - English
  • fr-FR - French
  • de-DE - German
  • hu-HU - Hungarian
  • it-IT - Italian
  • ja-JP - Japanese
  • pl-PL - Polish
  • pt-PT - Portuguese
  • ro-RO - Romanian
  • sk-SK - Slovakian
  • es-ES - Spanish
requestedFields
required
Array of strings (RequestedField) non-empty
Items Enum: "givenName" "middleName" "familyName" "gender" "birthdate" "email" "phoneNumber" "address" "nationality" "identifier"

The list of fields to collect from the end-user during the transaction. The collected values are returned via the data property once the transaction is successful.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

Get transaction

Retrieve a transaction by its id. When the transaction is successful, the data and unavailableFields properties are included in the response. rawData will be included when available.

Authorizations:
JWT
path Parameters
id
required
string <uuid>
Examples: b3e1c8f2-3a9d-4f4f-8b1a-1c2d3e4f5a6b

The UUID of the transaction.

Responses

Response samples

Content type
application/json
Example
{
  • "id": "b3e1c8f2-3a9d-4f4f-8b1a-1c2d3e4f5a6b",
  • "state": "created",
  • "method": null,
  • "methodType": null
}

Branding

Configure the look of the hosted transaction page. Branding can be set for the whole account, or for the client that is used to authenticate. Client branding takes precedence over account branding and replaces it entirely: when client branding exists, none of the account branding values are used. If the client branding is deleted, the account branding is used, or the default branding if no account branding is set.

Get account branding

Retrieve the branding used for all clients of the account that have no client branding. All properties are null when no account branding has been set.

Authorizations:
JWT

Responses

Response samples

Content type
application/json
{
  • "primaryColor": "#0f62fe",
  • "primaryButtonTextColor": "#ffffff",
  • "backgroundColor": "#f4f4f4",
  • "textColor": "#161616",
  • "fontFamily": "Open Sans",
  • "fontWeights": "400;700"
}

Set account branding

Create or replace the branding used for all clients of the account that have no client branding. Only clients that are allowed to manage the account branding can change it; contact your account manager to enable this. Omitted properties are cleared.

Authorizations:
JWT
Request Body schema: application/json
required
primaryColor
string or null^#[0-9a-fA-F]{6}$

The color of buttons, links and highlights, as a 6-digit hex color. Lighter and darker shades are derived from it.

primaryButtonTextColor
string or null^#[0-9a-fA-F]{6}$

The text color of primary buttons, as a 6-digit hex color.

backgroundColor
string or null^#[0-9a-fA-F]{6}$

The page background color, as a 6-digit hex color.

textColor
string or null^#[0-9a-fA-F]{6}$

The text color, as a 6-digit hex color.

fontFamily
string or null <= 100 characters ^[\w -]+$

The name of a Google Fonts family. Required when fontWeights is set.

fontWeights
string or null <= 100 characters ^\d{3}(\.\.\d{3})?(;\d{3}(\.\.\d{3})?)*$

The font weights to load, separated by ; in ascending order, or a range such as 100..900 for variable fonts. Optional, only the regular (400) weight is loaded when omitted.

Responses

Request samples

Content type
application/json
{
  • "primaryColor": "#0f62fe",
  • "primaryButtonTextColor": "#ffffff",
  • "backgroundColor": "#f4f4f4",
  • "textColor": "#161616",
  • "fontFamily": "Open Sans",
  • "fontWeights": "400;700"
}

Response samples

Content type
application/json
{
  • "primaryColor": "#0f62fe",
  • "primaryButtonTextColor": "#ffffff",
  • "backgroundColor": "#f4f4f4",
  • "textColor": "#161616",
  • "fontFamily": "Open Sans",
  • "fontWeights": "400;700"
}

Delete account branding

Delete the account branding. Clients without client branding fall back to the default look. Only clients that are allowed to manage the account branding can delete it.

Authorizations:
JWT

Responses

Response samples

Content type
application/json
{
  • "status": 401,
  • "message": "Unauthorized"
}

Get client branding

Retrieve the branding of the authenticated client. All properties are null when no client branding has been set.

Authorizations:
JWT

Responses

Response samples

Content type
application/json
{
  • "primaryColor": "#0f62fe",
  • "primaryButtonTextColor": "#ffffff",
  • "backgroundColor": "#f4f4f4",
  • "textColor": "#161616",
  • "fontFamily": "Open Sans",
  • "fontWeights": "400;700"
}

Set client branding

Create or replace the branding of the authenticated client. It replaces the account branding entirely for transactions created with this client. Omitted properties are cleared.

Authorizations:
JWT
Request Body schema: application/json
required
primaryColor
string or null^#[0-9a-fA-F]{6}$

The color of buttons, links and highlights, as a 6-digit hex color. Lighter and darker shades are derived from it.

primaryButtonTextColor
string or null^#[0-9a-fA-F]{6}$

The text color of primary buttons, as a 6-digit hex color.

backgroundColor
string or null^#[0-9a-fA-F]{6}$

The page background color, as a 6-digit hex color.

textColor
string or null^#[0-9a-fA-F]{6}$

The text color, as a 6-digit hex color.

fontFamily
string or null <= 100 characters ^[\w -]+$

The name of a Google Fonts family. Required when fontWeights is set.

fontWeights
string or null <= 100 characters ^\d{3}(\.\.\d{3})?(;\d{3}(\.\.\d{3})?)*$

The font weights to load, separated by ; in ascending order, or a range such as 100..900 for variable fonts. Optional, only the regular (400) weight is loaded when omitted.

Responses

Request samples

Content type
application/json
{
  • "primaryColor": "#0f62fe",
  • "primaryButtonTextColor": "#ffffff",
  • "backgroundColor": "#f4f4f4",
  • "textColor": "#161616",
  • "fontFamily": "Open Sans",
  • "fontWeights": "400;700"
}

Response samples

Content type
application/json
{
  • "primaryColor": "#0f62fe",
  • "primaryButtonTextColor": "#ffffff",
  • "backgroundColor": "#f4f4f4",
  • "textColor": "#161616",
  • "fontFamily": "Open Sans",
  • "fontWeights": "400;700"
}

Delete client branding

Delete the branding of the authenticated client. Transactions created with this client fall back to the account branding, or the default branding if no account branding is set.

Authorizations:
JWT

Responses

Response samples

Content type
application/json
{
  • "status": 401,
  • "message": "Unauthorized"
}

Callbacks

Updates sent to the callbackUrl provided when creating a transaction

Transaction state Webhook

Sent to the callbackUrl provided when creating the transaction, every time the state of the transaction changes. No callbacks are sent when no callbackUrl was provided. Use it as a trigger to retrieve the latest details with the Get transaction endpoint.

The request is signed so you can verify its authenticity and integrity. The signature is calculated using HMAC-SHA256, with the request body as the message and the client secret as the secret key, and is sent in the Authorization header. Repeat this calculation on the received body and compare the result with the header value.

Respond with a status code in the 2xx range; the response body is ignored. When your endpoint responds with a 5xx status code, the callback is retried several times.

Authorizations:
HMAC
Request Body schema: application/json
required
id
required
string <uuid>

Unique identifier of the event.

type
required
string (EventType)
Value: "transaction.state"

Supported event types:

  • transaction.state - The state of the transaction has been updated.
created
required
string <date-time>

The time the event was created, in ISO 8601 format.

required
object

Responses

Request samples

Content type
application/json
{
  • "id": "58128784-9e8d-4424-a89d-08bfe273381c",
  • "type": "transaction.state",
  • "created": "2026-01-01T00:00:00+00:00",
  • "transaction": {
    }
}