Sandbox and test data
Test your integration end to end with fake results and no billing.
A sandbox workspace runs your integration end to end without contacting real data providers. Checks return fake results that you choose with test values, and nothing is billed.
What changes in a sandbox
No provider calls. Identity database checks, AML screening and company registry checks return mock results in the provider's normal format.
No billing. Checks aren't counted towards usage or invoices.
Same pipeline. Results, reject labels, verification results and webhooks are produced by the same steps as a live workspace, so you can build against them.
Example records. When a workspace is switched to sandbox, it's seeded with the example individuals and companies listed below.
Choosing a result with test values
Results are picked by the last name of an individual, or by the ACN or name of a company. Matching ignores case, and the value only has to contain the keyword: Fail, Smith-fail and FAIL all choose the fail path.
Individuals
Database check / waterfall
anything else
Every source matches, Approved
Database check / waterfall
fail
No source matches, Rejected (Final, INSUFFICIENT_MATCHES)
AML screening
anything else
No hits
AML screening
pep
One PEP hit (role.pep)
AML screening
sanction
One sanctions hit (sanction)
AML screening
adverse
One adverse media hit (crime)
AML screening
review
One possible PEP match: a slightly different name, a different birth year, score 0.62 and match: false. It's flagged like a real borderline match, so a reviewer must mark it a true or false positive
Database check and Re-verify
retry
Rejected (Retry) with PROB_APPLICANT_DATA: the applicant can try again
Database check and Re-verify
minor
Rejected (Final) with AGE_REQ_MISMATCH: the applicant is under 16
Database check and Re-verify
slow
The result and its webhook arrive 2 to 5 minutes later, not instantly, so you can test waiting for the webhook
The AML mock also works on the full name, so Jane Pep returns a PEP hit whichever field is set. You can combine slow with other values: Slow Retry arrives late and is Rejected (Retry).
Companies (KYB)
ACN 000 000 019
Company found and registered. Two directors and 50% owners, SARAH PASS and TOM PASS, are returned as UBOs. Result Approved
ACN 000 000 027
Company not found, Rejected (Final, INCORRECT_DATA)
ABN 000 000 035
A trust: Discretionary Trading Trust, Active on the Australian Business Register. Result Approved, and the company moves to adding owners manually, because the register doesn't list a trust's owners
Any other ACN
Company not found, the same as 000 000 027
Any company registered outside Australia
Found and active, as a Private Company. Result Approved, and the company moves to adding owners manually
Company outside Australia, or the trust above, with a name containing fail
Found but de-registered: Rejected (Final, DE-REGISTERED)
Company name contains pep, sanction or adverse
One entity AML hit of that type
Spaces in an ACN don't matter: 000000019 and 000 000 019 behave the same.
Seeded example records
A new sandbox workspace starts with these records, so you can explore results and webhooks before you send any requests. They're marked SANDBOX example record (not a real check).
Sarah Pass
Individual
Approved
Tom Fail
Individual
Rejected, INSUFFICIENT_MATCHES
Jane Pep
Individual
Rejected, PEP AML hit (SANDBOX-PEP-1)
Sam Sanction
Individual
Rejected, sanctions AML hit (SANDBOX-SANCTION-1)
Al Adverse
Individual
Rejected, adverse media AML hit (SANDBOX-ADVERSE-1)
Sandbox Success Pty Ltd (000 000 019)
Company
Approved, 2 UBOs
Sandbox Missing Pty Ltd (000 000 027)
Company
Rejected, INCORRECT_DATA
Sandbox Family Trust (ABN 000 000 035)
Trust
Approved, waiting for owners to be added
The workspace also gets two flows, so you can create applicants and entities straight away. Pass the flow name as flowName when you create a record. The example individuals use Sandbox KYC and the example companies use Sandbox KYB. Flows are only added if the workspace doesn't have any yet.
Sandbox KYC
Individuals
ID document (passport or driver's licence), selfie and face match, AML screening
Sandbox KYB
Companies
Registry check, ownership and UBO discovery, AML screening
Recognising sandbox data
AML hits have ids starting with
SANDBOX-and the summary "SANDBOX: fake result for testing. Not a real screening hit."KYB registry report ids start with
sandbox-, followed by the ACN.Database check results carry the comment "SANDBOX: fake database check result".
Suggested test run
Create an applicant with last name
Pass(Creating an applicant) and run a database check (Verifying applicant identity data). Expect an Approved result and a webhook (Setting up a webhook).Repeat with last name
Fail. Expect Rejected withINSUFFICIENT_MATCHES.Repeat with last name
Pepand fetch AML results (Retrieving AML results). Expect one PEP hit.Create an entity with ACN
000 000 019(Creating an entity). Expect Approved and two UBOs (Retrieving entity ownership structures).Create an entity with ACN
000 000 027. Expect Rejected withINCORRECT_DATA.Create an entity with ABN
000 000 035. Expect a Discretionary Trading Trust, Approved, waiting for its owners to be added.Create a New Zealand entity named
Kiwi Fail Ltd. Expect Rejected withDE-REGISTERED.Run a database check with last name
Retry. Expect Rejected (Retry) withPROB_APPLICANT_DATA, and check your app lets the person try again.Run a database check with last name
Slow. Expect no result straight away, then a webhook 2 to 5 minutes later.
Limits
Provider error and timeout responses aren't simulated.
slow,retryandminorapply to the database check and Re-verify. They don't change the database waterfall or KYB results.Hosted document and selfie capture isn't mocked (see the warning above).
Results are fixed: the same test value always returns the same result.
Was this helpful?