Skip to main content
If you use IDscan or ID3 Global today, then this guide shows how each task you do now works in GBG Go. It puts the old and new requests side by side, so you can see what to change in your integration.

How GBG Go differs

In IDscan and ID3 Global, you connect to each product separately. In GBG Go, document checks, selfie checks, data checks and screening run as steps in one journey. You build and manage that journey in the GBG Go platform. This changes your integration in three ways:
  • One token: A single access token covers every check in the journey.
  • One integration: You start a journey, send your customer the link it returns, and collect the results. You don’t call each product separately.
  • Your code stays the same when your checks change: A business user adds, removes or reorders checks in the Journey builder.

Quick reference

The following table maps each task to the request you use in GBG Go:

Before you begin

Ensure you have the following:
  • An API client ID and client secret. You create these yourself in the Account management portal. See Manage API clients.
  • A published hosted journey and its resource ID. A business user builds and publishes the journey in the Journey builder.
  • The GBG Go region your organisation uses.

Get an access token

IDscan and GBG Go both give you a token to send with each request. GBG Go uses a different endpoint, and you authenticate with API client credentials instead of a username and password.

In IDscan

You sent your username and password to the idscanenterprisesvc/token endpoint:
cURL
The response returned a token that lasted up to 10 hours:
JSON
If you moved to the newer IDscan sign-in, then you sent an access token in the request header instead of your username and password. The GBG Go steps are the same either way.

In GBG Go

You send your client ID and client secret to the GBG Go token endpoint:
cURL
The response returns an access token:
JSON
Add the token to the Authorization header of every GBG Go request:
HTTP
Keep these points in mind:
  • GBG Go tokens expire sooner than IDscan tokens. The expires_in value is in seconds, so request a new token before the current one expires.
  • One token covers the whole journey. You don’t need separate tokens for document checks and data checks.
For the full request and response, see Generate access token. Both products host the screens your customer completes. In GBG Go, you start a journey instead of creating a session, and you get back a link instead of a QR code image.

In IDscan

You called getQRCodeViaTokenSession to create a hosted session. Your IDscan token and session settings went in the query string:
HTTP
The request body carried your branding and session options:
  • Your logo, as Base64
  • Your organisation name
  • Custom text to show your customer
  • The redirect URL to send your customer to when they finish
  • A file upload toggle
  • Your own journey reference
The response returned a QR code image as Base64 and a link. Your customer scanned the code or opened the link to complete their checks.

In GBG Go

You start a journey with context.config.delivery set to page. GBG Go then shows the screens, captures your customer’s documents and selfie, and runs the checks. Send the request to the base URL for your region: Each region covers a wider area than the code in its URL suggests. For example, organisations in the United Kingdom use the Europe (eu) endpoint.
If you’re not sure which region your organisation is set up in, contact us.
You can also send details you already know about your customer, such as their name, so they don’t have to enter them again:
cURL
The request contains the following fields: If the request is successful, then the API returns a 201 Created response:
JSON
The response contains the following fields: Redirect your customer to the instanceUrl, or send it by email, text message or a button in your app. GBG Go returns a link, not a QR code image. To show a QR code, generate one from the instanceUrl.
The instanceUrl is valid for a limited time. To set how long, see Link settings.
The branding and reference you sent in each IDscan request now live in other places:
  • Logo and colours: Create a journey theme and apply it to the journey. See Branding.
  • Your own journey reference: Send it as uid in context.subject. GBG Go stores it with the journey so that you can match the journey to your own records.
For the full request and response, see Start journey.

Get the results

In IDscan and ID3 Global, you called each product to get its result. In GBG Go, you get the results of every check in the journey from one request.

Receive a notification

Set up a notification setting in the GBG Go platform and connect it to your journey. When the journey completes, GBG Go sends a signed POST request to your endpoint with the instanceId. You then fetch the results with that instanceId, so you don’t need to poll. For how to set it up, see Configure webhook notifications for journey completion.

Fetch the journey state

Send the instanceId to the journey state endpoint:
cURL
While your customer is still completing the journey, the response returns a 200 OK with the status InProgress:
JSON
When the status is Completed, the response also contains the results of every check in the journey. For the full response, see Fetch journey state. A journey has one of the following statuses: If you poll for the results, then wait 10 seconds between requests. Stop when the status is Completed or Failed. For the recommended retry settings, see Polling for completion.

Run ID3 Global data checks

You don’t connect to ID3 Global separately. The data checks you run in ID3 Global today run as modules in your GBG Go journey, such as Data verification. They use the same access token as every other GBG Go request.

Troubleshoot a request

If a request fails, then the response contains an errors array that explains the problem and how to fix it:
JSON
Error responses include an X-Request-ID header. Quote this value when you contact GBG support about a request. For every error code, see Error handling.

Next steps