Testing

Our sandbox environment allows you to integrate and test before going live.

Sandbox URLs can be found in our API specs:

OTP Codes

We don't send SMS's in the sandbox environment.

The OTP code is always 111111.

Scenarios

We have a number of scenarios that you can use to test the handling of various paths through your system.

Use the tabs below to view testing scenarios for your type of product.

Instead of using a real bank, we've created a mock bank that we call Model Bank Participating. You can select this on the provider selection page during a sandbox journey.

The users below can be selected at the Model Bank screen during a sandbox journey.

Age Over 18

Name

Scenario

Alix Rayner

Verified as over 18

Leonard M. Evans

Unable to verify as over 18

PEP & Sanctions Scenarios

Name

Scenario

Kamran Patten

No match

Mihai-Adri Spouge

PEP match

Maciej Purse

PEP and sanction match

Fraud Scenarios

Name

Scenario

Alix Rayner

Match - NSIRA fraud marker

Gary Humphrey

Match - NSIRA victim marker

Hudson Trevinos

No match

Janet Davidson

Match - no markers

Roberto Otrebor

Match - Amberhill marker

Winston Churchill

Match - Death register marker

Bank Accounts

Name

Scenario

Gwen Farley

Multiple bank accounts of different types.

  • Personal Current Account

  • Personal Savings

  • Personal Credit Card

Lookup Identity by Bank Account

sort_code

account_number

Scenario

999998

00000001

Success

999998

00000004

Error - No details found

999998

00000005

Error - Joint account

Evidence Counts

The unstructured_address in each scenario doesn't need to match exactly.

In the sandbox, a request matches a scenario if its unstructured_address contains the string shown (for example, 27 Orchard Close).
You can add more of the address, such as 27 Orchard Close, Stamford.

given_name, family_name and date_of_birth must still exactly match the values shown.

Scenario 1

A match with a mix of products across multiple providers.
For API clients with fraud data enabled, all fraud flags will be false.

Request

{
"given_name": "Ellis",
"family_name": "Thornbury",
"date_of_birth": "1987-06-14",
"unstructured_address": "27 Orchard Close"
}
{
"given_name": "Ellis",
"family_name": "Thornbury",
"date_of_birth": "1987-06-14",
"address": {
"building_number": "27",
"street": "Orchard Close",
"locality": "Stamford",
"region": "Lincolnshire",
"postal_code": "PE9 2ZQ",
"country": "GB"
}
}

Scenario 2

A match with a single product.
For API clients with fraud data enabled, national_sira_victim will be true.

Request

{
"given_name": "Gary",
"family_name": "Humphrey",
"date_of_birth": "1975-10-19",
"unstructured_address": "1 Hay Hill"
}
{
"given_name": "Gary",
"family_name": "Humphrey",
"date_of_birth": "1975-10-19",
"address": {
"building_number": "1",
"street": "Hay Hill",
"locality": "Haymarket",
"region": "Norwich",
"postal_code": "NR2 1QJ",
"country": "GB"
}
}

Scenario 3

A match with a single product.
For API clients with fraud data enabled, amberhill_match will be true.

Request

{
"given_name": "Roberto",
"family_name": "Otrebor",
"date_of_birth": "1980-02-19",
"unstructured_address": "71 Main Street"
}
{
"given_name": "Roberto",
"family_name": "Otrebor",
"date_of_birth": "1980-02-19",
"address": {
"building_number": "71",
"street": "Main Street",
"locality": "Derby",
"region": "Derby",
"postal_code": "DE36 4CP",
"country": "GB"
}
}

Scenario 4

A match with many products from multiple providers.
For API clients with fraud data enabled, national_sira_fraud will be true.

Request

{
"given_name": "Alix",
"family_name": "Rayner",
"date_of_birth": "1996-09-10",
"unstructured_address": "80 Temple Way"
}
{
"given_name": "Alix",
"family_name": "Rayner",
"date_of_birth": "1996-09-10",
"address": {
"building_number": "80",
"street": "Temple Way",
"locality": "Winterton-on-sea",
"region": "Norwich",
"postal_code": "NR29 9QS",
"country": "GB"
}
}

Scenario 5

A match with a single product.
For API clients with fraud data enabled, all fraud flags will be true.

Request

{
"given_name": "Michael",
"family_name": "Rondeau",
"date_of_birth": "1991-05-04",
"unstructured_address": "10 Grange Road"
}
{
"given_name": "Michael",
"family_name": "Rondeau",
"date_of_birth": "1991-05-04",
"address": {
"building_number": "10",
"street": "Grange Road",
"locality": "Carlisle",
"region": "Carlisle",
"postal_code": "CA82 0NI",
"country": "GB"
}
}

Scenario 6

No match.

Request

You can use any of the request details from the previous 5 scenarios with different dates of birth.
e.g. Scenario 5 request with a different date_of_birth.

{
"given_name": "Michael",
"family_name": "Rondeau",
"date_of_birth": "1992-01-01",
"unstructured_address": "10 Grange Road"
}
{
"given_name": "Michael",
"family_name": "Rondeau",
"date_of_birth": "1992-01-01",
"address": {
"building_number": "10",
"street": "Grange Road",
"locality": "Carlisle",
"region": "Carlisle",
"postal_code": "CA82 0NI",
"country": "GB"
}
}

Scenario 7

A match with one product on name and date of birth.
For API clients with fraud data enabled, all fraud flags will be false.

Request

{
"given_name": "Hannah",
"family_name": "Whitlock",
"date_of_birth": "1979-03-22",
"unstructured_address": "14 Mill Lane"
}
{
"given_name": "Hannah",
"family_name": "Whitlock",
"date_of_birth": "1979-03-22",
"address": {
"building_number": "14",
"street": "Mill Lane",
"locality": "Ludlow",
"region": "Shropshire",
"postal_code": "SY8 1BB",
"country": "GB"
}
}

Scenario 8

A match with one product on name and address.
For API clients with fraud data enabled, all fraud flags will be false.

Request

{
"given_name": "Callum",
"family_name": "Ashdown",
"date_of_birth": "1993-09-08",
"unstructured_address": "5 Church Street"
}
{
"given_name": "Callum",
"family_name": "Ashdown",
"date_of_birth": "1993-09-08",
"address": {
"building_number": "5",
"street": "Church Street",
"locality": "Kendal",
"region": "Cumbria",
"postal_code": "LA9 4AA",
"country": "GB"
}
}

Scenario 9

A match with two products from the same source. Both products match on name, date of birth and address.
For API clients with fraud data enabled, all fraud flags will be false.

Request

{
"given_name": "Priya",
"family_name": "Lambert",
"date_of_birth": "1984-11-17",
"unstructured_address": "8 Station Road"
}
{
"given_name": "Priya",
"family_name": "Lambert",
"date_of_birth": "1984-11-17",
"address": {
"building_number": "8",
"street": "Station Road",
"locality": "Malton",
"region": "North Yorkshire",
"postal_code": "YO17 7AA",
"country": "GB"
}
}