Environments

The Hub environments and how to find the API endpoints for each.

Hub runs in two environments. This page tells you which one to use and how to get its API endpoints.

Preprod and production

EnvironmentUse it forBase URL
PreprodIntegration testing against a real Hub, after onboarding.https://gateway.preprod.hub-verify.interac-id.ca
ProductionLive users.https://gateway.hub-verify.interac-id.ca
📘

A new self-serve Developer Portal is coming soon. It will let you try Hub before onboarding. Until then, start in preprod.

{hub_base_url} in this guide

Examples in this guide use {hub_base_url} as a placeholder. Replace it with the base URL for your environment from the table above.

# The guide shows this:
curl {hub_base_url}/.well-known/openid-configuration

# In preprod, you run this:
curl https://gateway.preprod.hub-verify.interac-id.ca/.well-known/openid-configuration

Don't hardcode the other endpoints

The base URL is the only value you need to change between environments.

Every other endpoint — authorization, token, userinfo, PAR — comes from the discovery endpoint:

{hub_base_url}/.well-known/openid-configuration

Read those endpoints at the start of each verification rather than hardcoding them. They can change, and discovery is how you find out. See Step 1 — Discovery.

Getting access

You get access to preprod, then production, through onboarding with your Interac representative. Your client ID, scopes, redirect URIs and signing key all have to be registered first. See Onboarding checklist.

Testing in each environment

Bank verification (IVS)Document verification (DVS)
PreprodChoose the test bank MyBank. Sign in with any username that starts with jdoe13+, such as jdoe13+timsmith, and the password password. MyBank creates a test account for John Doe with sample details.Use a real government ID
ProductionUse a real bank accountUse a real government ID

Need MyBank accounts with specific details, for example to test subject matching against your own data? Ask your Interac representative.

Document scanning is the same in preprod and production, so a document gets the same result in both.